Difference between revisions of "Template:Infobox person"

From Sim Football Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
(added siglum parameter for people who use a specific shortcut to (publicly) sign their work (often formed of name initials, but not always))
Line 1: Line 1:
{{Infobox|child={{{child|}}}
+
{{Infobox|child={{{child|{{{embed|}}}}}}
 
| bodyclass  = biography vcard
 
| bodyclass  = biography vcard
| above      = {{br separated entries
+
 
  |1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}}
+
| above      = {{Br separated entries
  |2={{#if:{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}|<span class="fn">{{{name|{{PAGENAMEBASE}}}}}</span>}}
+
  | 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal; display:inline;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}
  |3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
+
  | 2 = <div class="fn" style="display:inline">{{#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; display:inline;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}}
 
  }}
 
  }}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
+
| abovestyle = {{{abovestyle|}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
 
  
| labelstyle = padding-right:0.6em;<!--(to ensure sufficient gap between any (long/unwrapped) label and subsequent data on same line)-->
+
| subheaderstyle = font-size:125%; font-weight:bold;
 +
| subheader  = {{#if:{{{child|{{{embed|}}}}}}|<!--empty when this infobox is embedded-->|{{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} }}
  
| label1    = Native&nbsp;name
+
| 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}}
| data1     = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
+
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
 
 
| label10    = Born
 
| data10      = {{br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}
 
  
| label11     = Baptised
+
| label2     = Pronunciation
| data11     = {{#if:{{{birth_date|}}}||{{{baptised|}}}}}
+
| data2     = {{{pronunciation|}}}
  
| label12    = Disappeared
+
| label10    = Born
| data12      = {{br separated entries|{{{disappeared_date|}}}|{{{disappeared_place|}}} }}
+
| 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>}}}}
  
| label13    = Status
+
| label11    = Bapti{{#if:{{{baptized|}}}|z|s}}ed
| data13      = {{{status|{{{disappeared_status|}}}}}}
+
| data11    = {{#if:{{{birth_date|}}}||{{{baptized|{{{baptised|}}}}}}}}
  
| label14    = Died
+
| label12    = Disappeared
| data14      = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
+
| data12    = {{Br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}}
  
| label15    = {{Longitem|Cause&nbsp;of death}}
+
| label13    = Status
| data15      = {{{death cause|{{{death_cause|}}}}}}
+
| data13    = {{{status|{{{disappeared_status|}}}}}}
  
| label16     = {{Longitem|Body discovered}}
+
| label14    = Died
| data16      = {{{body discovered|{{{body_discovered|}}}}}}
+
| data14     = {{Br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}}}}
  
| label17    = {{Longitem|Resting place}}
+
| label15    = Cause&nbsp;of death
| class17     = label
+
| data15     = {{{death cause|{{{death_cause|}}}}}}
| data17      = {{br separated entries|{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}}
 
  
| label18    = Monuments
+
| label16    = Body discovered
| data18      = {{{monuments|}}}
+
| data16    = {{{body discovered|{{{body_discovered|}}}}}}
  
| label19    = Residence
+
| label17    = {{#if:{{{burial_place|}}}|Burial place|Resting place}}
| class19     = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
+
| data17     = {{#if:{{{burial_place|}}}|{{Br separated entries|1={{{burial_place|}}}|2={{{burial_coordinates|}}}}}|{{Br separated entries|1={{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|2={{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}}}}
| data19      = {{{residence|}}}
+
| class17    = label
  
| class20   = category
+
| label18   = 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
 +
| data19    = {{{residence|}}}
 +
| class19    = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
 +
-->
 
| label20    = Nationality
 
| label20    = Nationality
 
| data20    = {{{nationality|}}}
 
| data20    = {{{nationality|}}}
 +
| class20    = category
  
 
| label21    = Other&nbsp;names
 
| label21    = Other&nbsp;names
 +
| data21    = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}}
 
| class21    = nickname
 
| class21    = nickname
| data21    = {{{other names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}}
 
  
| class22    = category
+
| label22    = Siglum
| label22    = Ethnicity
+
| data22    = {{{siglum|}}}
| data22    = {{{ethnicity|}}}
 
  
| class23    = category
 
 
| label23    = Citizenship
 
| label23    = Citizenship
 
| data23    = {{{citizenship|}}}
 
| data23    = {{{citizenship|}}}
 +
| class23    = category
  
 
| label24    = Education
 
| label24    = Education
Line 69: Line 72:
  
 
| label26    = Occupation
 
| label26    = Occupation
 +
| data26    = {{{occupation|}}}
 
| class26    = role
 
| class26    = role
| data26    = {{{occupation|}}}
 
  
 
| label27    = Years&nbsp;active
 
| label27    = Years&nbsp;active
Line 83: Line 86:
 
| class29    = org
 
| class29    = org
  
| label30    = Organization
+
| label30    = {{#if:{{{organisation|}}}|Organisation|Organization}}
| data30    = {{{organization|{{{organizations|}}}}}}
+
| data30    = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}
 
| class30    = org
 
| class30    = org
  
Line 94: Line 97:
 
| data32    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
| data32    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
  
| label33    = <span style="white-space:nowrap;">{{#if:{{{credits|}}}|Notable credit(s)|Notable work}}</span>
+
| label33    = <div style="white-space:nowrap;">{{#if:{{{works|}}}|Works|{{#if:{{{credits|}}}|Notable credit(s)|{{#if:{{{label_name|}}}|Label(s)|Notable work}}}}}}</div>
| data33    = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}
+
| data33    = {{#if:{{{works|}}}|{{{works|}}}|{{#if:{{{credits|}}}|{{{credits}}}|{{#if:{{{label_name|}}}|{{{label_name}}}|{{{notable works|{{{notable_works|}}}}}}}}}}}}
  
 
| label34    = Style
 
| label34    = Style
Line 103: Line 106:
 
| label37    = Home&nbsp;town
 
| label37    = Home&nbsp;town
 
| data37    = {{{home town|{{{home_town|}}}}}}
 
| data37    = {{{home town|{{{home_town|}}}}}}
 
| label38    = Salary
 
| data38    = {{{salary|}}}
 
  
 
| label39    = Net&nbsp;worth
 
| label39    = Net&nbsp;worth
Line 111: Line 111:
  
 
| label40    = Height
 
| label40    = Height
| data40    = {{#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|}}}}} }}
+
| data40    = {{#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|}}}}}}}
 
 
| label41    = Weight
 
| data41    = {{#if:{{{weight_kg|}}}{{{weight_st|}}}{{{weight_lb|}}} | {{convinfobox|{{{weight_kg|}}}|kg|{{{weight_st|}}}|st|{{{weight_lb|}}}|lb}} }}{{#if:{{{weight|}}} | {{infobox person/weight|{{{weight|}}}}} }}
 
  
 
| label42    = Television
 
| label42    = Television
 
| data42    = {{{television|}}}
 
| data42    = {{{television|}}}
  
| label43    = Title
+
| label43    = {{#if:{{{office|}}}|Office|Title}}
| data43    = {{{title|}}}
+
| data43    = {{{office|{{{title|}}}}}}
 
| class43    = title
 
| class43    = title
  
Line 132: Line 129:
 
| data46    = {{{successor|}}}
 
| data46    = {{{successor|}}}
  
| label47    = {{Longitem|Political party}}
+
| label47    = Political party
 
| data47    = {{{party|}}}
 
| data47    = {{{party|}}}
 
| class47    = org
 
| class47    = org
Line 140: Line 137:
 
| class48    = category
 
| class48    = category
  
| label49    = <span style="white-space:nowrap;">Opponent(s)</span>
+
| label49    = <span class="nowrap">Opponent(s)</span>
 
| data49    = {{{opponents|}}}
 
| data49    = {{{opponents|}}}
  
| label50    = {{Longitem|Board member&nbsp;of}}
+
| label50    = Board member&nbsp;of
 
| data50    = {{{boards|}}}
 
| data50    = {{{boards|}}}
  
| label51    = Religion
+
| label51    = Criminal charge(s)
| data51    = {{{religion|}}}
+
| data51    = {{{criminal_charges|{{{criminal charge|{{{criminal_charge|}}}}}}}}}
| class51    = category
 
 
 
| label52    = Denomination
 
| data52    = {{{denomination|}}}
 
| class52    = category
 
 
 
| label53    = {{Longitem|Criminal charge}}
 
| data53    = {{{criminal charge|{{{criminal_charge|}}}}}}
 
 
 
| label54    = {{Longitem|Criminal penalty}}
 
| data54    = {{{criminal penalty|{{{criminal_penalty|}}}}}}
 
  
| label55   = <span style="padding:0.1em 0;line-height:1.2em">{{#if:{{{judicial_status|{{{judicial status|}}}}}}|Judicial status|Criminal status}}</span>
+
| label52   = Criminal penalty
| data55      = {{#if:{{{judicial status|{{{judicial_status|}}}}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}} }}
+
| data52    = {{{criminal penalty|{{{criminal_penalty|}}}}}}
| class55    = category
 
  
| label56   = <span style="white-space:nowrap;">Spouse(s)</span>
+
| label53   = {{#if:{{{judicial status|{{{judicial_status|}}}}}}|Judicial status|Criminal status}}
| data56     = {{{spouse|}}}
+
| data53     = {{#if:{{{judicial status|{{{judicial_status|}}}}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}}}}
 +
| class53    = category
  
| label57   = <span style="white-space:nowrap;">Partner(s)</span>
+
| label54   = <span class="nowrap">Spouse(s)</span>
| data57     = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}
+
| data54     = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}
  
| label58   = Children
+
| label55   = <span class="nowrap">Partner(s)</span>
| data58     = {{{children|}}}
+
| data55     = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}}
  
| label59   = Parent(s)
+
| label56   = Children
| data59     = {{{parents|}}}
+
| data56     = {{{children|}}}
  
| label60   = Relatives
+
| label57   = Parent{{#if:{{{parents|}}}|(s)|{{#if:{{{father|}}}|{{#if:{{{mother|}}}|s|(s)}}|(s)}}}}
| data60     = {{{relations|{{{relatives|}}}}}}
+
| data57     = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}
  
| label61   = Family
+
| label58   = Relatives
| data61     = {{{family|}}}
+
| data58     = {{{relations|{{{relatives|}}}}}}
  
| label62   = Call-sign
+
| label59   = Family
| data62     = {{{callsign|}}}
+
| data59     = {{{family|}}}
  
| label63   = Awards
+
| label60   = Call-sign
| data63     = {{{awards|}}}
+
| data60     = {{{callsign|}}}
  
| label64   = {{#if:{{{honours|}}}|Honours|Honors}}
+
| label61   = Awards
| data64     = {{#if:{{{honours|}}}|{{{honours}}}|{{{honors|}}}}}
+
| data61     = {{{awards|}}}
  
| data65    = {{{misc|{{{module|}}}}}}
+
| label62    = {{#if:{{{honours|}}}|Honours|Honors}}
| data66    = {{{misc2|{{{module2|}}}}}}
+
| data62     = {{{honours|{{{honors|}}}}}}
| data67    = {{{misc3|{{{module3|}}}}}}
 
| data68    = {{{misc4|{{{module4|}}}}}}
 
| data69    = {{{misc5|{{{module5|}}}}}}
 
| data70     = {{{misc6|{{{module6|}}}}}}
 
  
| label71    = Signature
+
| data64    = {{{misc|{{{module|}}}}}}
| data71     = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
+
| data65     = {{{misc2|{{{module2|}}}}}}
 +
| data66    = {{{misc3|{{{module3|}}}}}}
 +
| data67    = {{{misc4|{{{module4|}}}}}}
 +
| data68    = {{{misc5|{{{module5|}}}}}}
 +
| data69    = {{{misc6|{{{module6|}}}}}}
  
| header72  = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
+
| label70    = Website
| data73     = {{{website|{{{homepage|{{{URL|}}}}}}}}}
+
| data70     = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}}
  
| below      = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
+
| header71  = {{#if:{{{signature|}}}|Signature}}
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
+
| data72    = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
  
}}{{main other|<!--
+
| header73  = {{#if:{{{footnotes|}}}|Notes}}
 +
| data74    = {{#if:{{{footnotes|}}}|<div style="text-align: left;">{{{footnotes}}}</div>}}
  
-->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!--
+
}}<!--
 +
-->{{#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=y
 +
| 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 | home town | home_town | 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 | net worth | net_worth | networth | nickname | nocat_wdimage | notable works | notable_works | occupation | office | opponents | organisation | organization | organizations | other names | other_names | othername | parents | partner | partner | 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 | spouse | spouses | spouse(s) | status | style | successor | television | term | title | URL | url | website | works | years active | years_active | yearsactive}}<!--
 +
-->{{Main other|
 +
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!--
 
-->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}<!--
 
-->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}<!--
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{salary|}}}{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Infobox person using certain parameters when dead]]}}}}<!--
+
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Infobox person using certain parameters when dead]]}}}}<!--
 
-->{{#if:{{{influences|}}}{{{influenced|}}}|[[Category:Infobox person using influence]]}}<!--
 
-->{{#if:{{{influences|}}}{{{influenced|}}}|[[Category:Infobox person using influence]]}}<!--
 +
-->{{#if:{{{ethnicity|}}}|[[Category:Infobox person using ethnicity]]}}<!--
 +
-->{{#if:{{{religion|}}}|[[Category:Infobox person using religion]]}}<!--
 +
-->{{#if:{{{denomination|}}}|[[Category:Infobox person using denomination]]}}<!--
 +
-->{{#if:{{{residence|}}}|[[Category:Infobox person using residence]]}}<!--
 
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
 
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
 
+
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!--
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]
+
-->[[Category:Articles with hCards]]
}}<includeonly>{{Wikidata image|1={{{image|}}} }}</includeonly><noinclude>
+
}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
<!---Please add categories to the <includeonly> section at the bottom of the /doc subpage--->
+
{{Documentation}}</noinclude>
{{documentation}}  
 
</noinclude>
 

Revision as of 20:00, 7 January 2020

Infobox person