Template:Infobox person: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95 Change span class=xxx to div to fix Linter div-span-flip error. Tested in sandbox with a few dozen articles; notify me on Template talk page if there are any display problems. |
m 1 revision imported |
||
(27 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{#invoke:infobox|infoboxTemplate|child={{{child|{{{embed|}}}}}} | ||
| bodyclass = biography vcard | | bodyclass = biography vcard | ||
| above = {{Br separated entries | | above = {{Br separated entries | ||
| 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}} | | 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal; display:inline-block;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}} | ||
| 2 = <div class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div> | | 2 = <div class="fn" style="display:inline-block">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div> | ||
| 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}} | | 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal; display:inline-block;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}} | ||
}} | }} | ||
| abovestyle = {{{abovestyle|}}} | | abovestyle = font-size:125%; {{{abovestyle|}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | | subheaderstyle = font-size:125%; font-weight:bold; | ||
| subheader = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}} }} }} | |||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | |||
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | | caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | ||
| label2 = Pronunciation | | label2 = Pronunciation | ||
Line 19: | Line 19: | ||
| label10 = Born | | label10 = Born | ||
| data10 = {{Br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<div class="nickname">{{{birth_name|{{{birthname|}}}}}}</div>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<div class="birthplace">{{{birth_place|}}}</div>}}}} | | data10 = {{Br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname|}}}}}}</div>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}}}} | ||
| label11 = Bapti{{#if:{{{baptized|}}}|z|s}}ed | | label11 = Bapti{{#if:{{{baptized|}}}|z|s}}ed | ||
Line 31: | Line 31: | ||
| label14 = Died | | label14 = Died | ||
| data14 = {{Br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div class="deathplace">{{{death_place|}}}</div>}}}} | | data14 = {{Br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}}}} | ||
| label15 = Cause of death | | label15 = Cause of death | ||
Line 45: | Line 45: | ||
| label18 = Monuments | | label18 = Monuments | ||
| data18 = {{{monuments|}}} | | data18 = {{{monuments|}}} | ||
<!-- removed per discussion at https://en.wikipedia.org/w/index.php?title=Template_talk:Infobox_person&oldid=932429196#Residence_parameter | |||
| label19 = Residence | | label19 = Residence | ||
| data19 = {{{residence|}}} | | data19 = {{{residence|}}} | ||
| class19 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}} | | class19 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}} | ||
--> | |||
| label20 = Nationality | | label20 = Nationality | ||
| data20 = {{{nationality|}}} | | data20 = {{{nationality|}}} | ||
Line 57: | Line 57: | ||
| data21 = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}} | | data21 = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}} | ||
| class21 = nickname | | class21 = nickname | ||
| label22 = Siglum | |||
| data22 = {{{siglum|}}} | |||
| label23 = Citizenship | | label23 = Citizenship | ||
Line 68: | Line 71: | ||
| data25 = {{{alma mater|{{{alma_mater|}}}}}} | | data25 = {{{alma mater|{{{alma_mater|}}}}}} | ||
| label26 = Occupation | | label26 = Occupation{{Pluralize from text|{{{occupation|}}}|likely=(s)|plural=s}} | ||
| data26 = {{{occupation|}}} | | data26 = {{{occupation|}}} | ||
| class26 = role | | class26 = role | ||
Line 79: | Line 82: | ||
| class28 = category | | class28 = category | ||
| label29 = Employer | | label29 = Employer{{Pluralize from text|{{{employer|}}}|likely=(s)|plural=s}} | ||
| data29 = {{{employer|}}} | | data29 = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}|likely=[[Category:Pages using infobox person with multiple employers]]}}}} | ||
| class29 = org | | class29 = org | ||
| label30 = {{#if:{{{organisation|}}}|Organisation|Organization}} | | label30 = {{#if:{{{organisation|}}}|Organisation|Organization}}{{#if:{{{organizations|}}}|s|{{pluralize from text|{{{organization|{{{organisation|}}}}}}|likely=(s)|plural=s}}}} | ||
| data30 = {{{organisation|{{{organization|{{{organizations|}}}}}}}}} | | data30 = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}{{main other|{{Pluralize from text|{{{organization|{{{organisation|}}}}}}|likely=[[Category:Pages using infobox person with multiple organizations]]}}}} | ||
| class30 = org | | class30 = org | ||
| label31 = Agent | | label31 = Agent{{Pluralize from text|{{{agent|}}}|likely=(s)|plural=s}} | ||
| data31 = {{{agent|}}} | | data31 = {{{agent|}}}{{main other|{{Pluralize from text|{{{agent|}}}|likely=[[Category:Pages using infobox person with multiple agents]]}}}} | ||
| class31 = agent | | class31 = agent | ||
Line 94: | Line 97: | ||
| data32 = {{{known for|{{{known_for|{{{known|}}}}}}}}} | | data32 = {{{known for|{{{known_for|{{{known|}}}}}}}}} | ||
| label33 = | | label33 = Works | ||
| data33 = | | data33 = {{{works|}}} | ||
| label34 = | | label34 = <span style="white-space:nowrap;">Notable credit{{Pluralize from text|{{{credits|}}}|likely=(s)|plural=s}}</span> | ||
| data34 = {{{ | | data34 = {{#if:{{{works|}}}||<!-- | ||
| | -->{{{credits|}}}{{main other|{{Pluralize from text|{{{credits|}}}|likely=[[Category:Pages using infobox person with multiple credits]]}}}}}} | ||
| | | label35 = Label{{Pluralize from text|{{{label_name|}}}|likely=(s)|plural=s}} | ||
| | | data35 = {{#if:{{{works|}}}{{{credits|}}}||<!-- | ||
-->{{{label_name|}}}{{main other|{{Pluralize from text|{{{label_name|}}}|likely=[[Category:Pages using infobox person with multiple labels]]}}}}}} | |||
| | | label36 = <span style="white-space:nowrap;">Notable work</span> | ||
| | | data36 = {{#if:{{{works|}}}{{{credits|}}}{{{label_name|}}}||{{{notable works|{{{notable_works|}}}}}}}} | ||
| | | label37 = Style | ||
| | | data37 = {{{style|}}} | ||
| class37 = category | |||
| label40 = | | label40 = Television | ||
| data40 = {{ | | data40 = {{{television|}}} | ||
| label41 = | | label41 = Height | ||
| data41 = {{#if:{{{ | | data41 = {{#if:{{{height_m|{{{height_cm|}}}}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}}}}{{#if:{{{height|}}} | {{infobox person/height|{{{height|}}}}}}} | ||
| label42 = | | label42 = {{#if:{{{office|}}}|Office|Title}} | ||
| data42 = {{{ | | data42 = {{{office|{{{title|}}}}}} | ||
| class42 = title | |||
| label43 = | | label43 = Term | ||
| data43 = {{{ | | data43 = {{{term|}}} | ||
| label44 = | | label44 = Predecessor | ||
| data44 = {{{ | | data44 = {{{predecessor|}}} | ||
| label45 = | | label45 = Successor | ||
| data45 = {{{ | | data45 = {{{successor|}}} | ||
| label46 = | | label46 = Political party | ||
| data46 = {{{ | | data46 = {{{party|}}} | ||
| class46 = org | |||
| label47 = | | label47 = Other political<br />affiliations | ||
| data47 = {{{ | | data47 = {{{otherparty|}}} | ||
| class47 = org | | class47 = org | ||
Line 140: | Line 146: | ||
| class48 = category | | class48 = category | ||
| label49 = | | label49 = Opponent{{Pluralize from text|{{{opponents|}}}|likely=(s)|plural=s}} | ||
| data49 = {{{opponents|}}} | | data49 = {{{opponents|}}}{{main other|{{Pluralize from text|{{{opponents|}}}|likely=[[Category:Pages using infobox person with multiple opponents]]}}}} | ||
| label50 = Board member of | | label50 = Board member of | ||
| data50 = {{{boards|}}} | | data50 = {{{boards|}}} | ||
| label51 = Criminal charge | | label51 = {{#if:{{{criminal_charges|}}}|Criminal charges|Criminal charge{{pluralize from text|{{{criminal charge|{{{criminal_charge|}}}}}}|likely=(s)|plural=s}}}} | ||
| data51 = {{{criminal charge|{{{criminal_charge|}}}}}} | | data51 = {{{criminal_charges|{{{criminal charge|{{{criminal_charge|}}}}}}}}}{{main other|{{Pluralize from text|{{{criminal charge|{{{criminal_charge|}}}}}}|likely=[[Category:Pages using infobox person with multiple criminal charges]]}}}} | ||
| label52 = Criminal penalty | | label52 = Criminal penalty | ||
Line 156: | Line 162: | ||
| class53 = category | | class53 = category | ||
| label54 = | | label54 = Spouse{{#if:{{{spouses|}}}|s|{{Pluralize from text|{{{spouse|{{{spouse(s)|}}}}}}|likely=(s)|plural=s}}}} | ||
| data54 = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}} | | data54 = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}{{main other|{{Pluralize from text| {{{spouse|{{{spouse(s)|}}}}}} |likely=[[Category:Pages using infobox person with multiple spouses]]}}}} | ||
| label55 = | | label55 = Partner{{#if:{{{partners|}}}|s|{{Pluralize from text|{{{partner|{{{domesticpartner|{{{domestic_partner|{{{partner(s)|}}}}}}}}}}}} |likely=(s)|plural=s}}}} | ||
| data55 = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}} | | data55 = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}}{{main other|{{Pluralize from text| {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partner(s)|}}}}}}}}}}}} |likely=[[Category:Pages using infobox person with multiple partners]]}}}} | ||
| label56 = Children | | label56 = Children | ||
| data56 = {{{children|}}} | | data56 = {{{children|}}} | ||
| label57 = Parent{{#if:{{{parents|}}}|(s)|{{# | | label57 = Parent{{#if:{{{parents|}}}|{{Pluralize from text|{{{parents|}}}|likely=(s)|plural=s}}|<!-- | ||
| data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}} | -->{{#ifexpr:{{count|{{{father|}}}|{{{mother|}}}}} > 1|s}}}} | ||
| data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}<!-- | |||
-->{{main other|{{Pluralize from text|{{{parents|}}}|likely=[[Category:Pages using infobox person with multiple parents]]}}}} | |||
| label58 = Relatives | | label58 = Relatives | ||
Line 174: | Line 182: | ||
| data59 = {{{family|}}} | | data59 = {{{family|}}} | ||
| label60 = Call | | label60 = Call sign | ||
| data60 = {{{callsign|}}} | | data60 = {{{callsign|}}} | ||
Line 193: | Line 201: | ||
| data70 = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}} | | data70 = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}} | ||
| header71 = {{#if:{{{signature|}}}|Signature}} | | header71 = {{#if:{{{signature|}}}|{{if empty|{{{signature_type|}}}|Signature}}}} | ||
| data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | | data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | ||
| header73 = {{#if:{{{footnotes|}}}|Notes}} | | header73 = {{#if:{{{footnotes|}}}|Notes}} | ||
| data74 = {{#if:{{{footnotes|}}}|<div style="text-align: left;"> | | data74 = {{#if:{{{footnotes|}}}|<div style="text-align: left;">{{{footnotes}}}</div>}} | ||
{{{footnotes}}}</div>}} | |||
}}<!-- | }}<!-- | ||
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:Infobox person]] with unknown parameter "_VALUE_"|ignoreblank= | -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using {{if empty|{{{template_name|}}}|infobox person}} with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview = Page using [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]] with unknown parameter "_VALUE_"|ignoreblank=n<!--this check deliberately flags empty unknown parameters; see talk, December 2022--> | ||
| abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | | abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_charges | criminal_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | embed | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | label_name | landscape | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | nickname | nocat_wdimage | notable works | notable_works | occupation | office | opponents | organisation | organization | organizations | other names | other_names | othername | otherparty | parents | partner | partners | partner(s) | party | predecessor | pre-nominals | post-nominals | pronunciation | relations | relatives | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | siglum | signature | signature alt | signature_alt | signature_size | signature_type | spouse | spouses | spouse(s) | status | style | successor | template_name | television | term | title | URL | url | website | works | years active | years_active | yearsactive }}<!-- | ||
-->{{Main other| | -->{{Main other|{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!-- | ||
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!-- | -->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!-- | ||
-->{{#if:{{{ | -->[[Category:Articles with hCards]] | ||
-- | }}<!-- | ||
}}<includeonly>{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude> | -->{{#invoke:Check for clobbered parameters|check | ||
{{ | | nested = 1 | ||
| template = [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]] | |||
| cat = {{main other|Category:Pages using {{if empty|{{{template_name|}}}|infobox person}} with conflicting parameters}} | |||
| child; embed | |||
| honorific prefix; honorific_prefix; honorific-prefix; pre-nominals | |||
| honorific suffix; honorific_suffix; honorific-suffix; post-nominals | |||
| image size; image_size; imagesize | |||
| image caption; caption; image_caption | |||
| birth_name; birthname | |||
| baptized; baptised | |||
| status; disappeared_status | |||
| death cause; death_cause | |||
| body discovered; body_discovered | |||
| resting place; resting_place; restingplace | |||
| resting place coordinates; resting_place_coordinates; restingplacecoordinates | |||
| other names; other_names; othername; nickname; alias | |||
| alma mater; alma_mater | |||
| years active; years_active; yearsactive | |||
| organisation; organization; organizations | |||
| known for= known_for; known | |||
| {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable works; notable_works | |||
| height_m; height_cm | |||
| office; title | |||
| criminal_charges; criminal charge; criminal_charge | |||
| criminal penalty; criminal_penalty | |||
| judicial status; judicial_status | |||
| criminal status; criminal_status | |||
| spouse; spouses; spouse(s) | |||
| partner; domesticpartner; domestic_partner; partners; partner(s) | |||
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{father|}}}||NULL_}}father | |||
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{mother|}}}||NULL_}}mother | |||
| relations; relatives | |||
| honours; honors | |||
| misc; module | |||
| misc2; module2 | |||
| misc3; module3 | |||
| misc4; module4 | |||
| misc5; module5 | |||
| misc6; module6 | |||
| website; homepage; URL; url | |||
}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude> | |||
{{documentation}}</noinclude> |