Template:Infobox person: Difference between revisions

From Alathra Wiki
Content added Content deleted
m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation from infobox title, edited using AWB)
(Add pronunciation, rm styling hacks, regular label for website, signature on a new line)
Line 1: Line 1:
{{Infobox|child={{{child|}}}
{{Infobox|child={{{child|}}}
| bodyclass = biography vcard
| bodyclass = biography vcard

| above = {{br separated entries
| above = {{Br separated entries
|1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}}
|2={{#if:{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}|<span class="fn">{{{name|{{PAGENAMEBASE}}}}}</span>}}
| 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}}
| 2 = <span class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span>
|3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
| 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<span class="honorific-suffix" style="font-size: small">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}}
}}
}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| 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)-->


| label1 = Native&nbsp;name
| label1 = Native&nbsp;name
| data1 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
| data1 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}


| label10 = Born
| label2 = Pronunciation
| data2 = {{{pronunciation|}}}
| 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
| 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>}}}}
| data11 = {{#if:{{{birth_date|}}}||{{{baptised|}}}}}


| label12 = Disappeared
| label11 = Baptised
| data12 = {{br separated entries|{{{disappeared_date|}}}|{{{disappeared_place|}}} }}
| data11 = {{#if:{{{birth_date|}}}||{{{baptised|}}}}}


| label13 = Status
| label12 = Disappeared
| data13 = {{{status|{{{disappeared_status|}}}}}}
| data12 = {{Br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}}


| label14 = Died
| label13 = Status
| data13 = {{{status|{{{disappeared_status|}}}}}}
| data14 = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}


| label14 = Died
| label15 = {{Longitem|Cause&nbsp;of death}}
| data14 = {{Br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
| data15 = {{{death cause|{{{death_cause|}}}}}}


| label16 = {{Longitem|Body discovered}}
| label15 = Cause&nbsp;of death
| data16 = {{{body discovered|{{{body_discovered|}}}}}}
| data15 = {{{death cause|{{{death_cause|}}}}}}


| label16 = Body discovered
| label17 = {{Longitem|Resting place}}
| data16 = {{{body discovered|{{{body_discovered|}}}}}}
| class17 = label
| data17 = {{br separated entries|{{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|{{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}}


| label18 = Monuments
| label17 = Resting place
| data17 = {{Br separated entries|1={{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|2={{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}}
| data18 = {{{monuments|}}}
| class17 = label


| label19 = Residence
| label18 = Monuments
| class19 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| data18 = {{{monuments|}}}

| data19 = {{{residence|}}}
| label19 = Residence
| data19 = {{{residence|}}}
| class19 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}


| class20 = category
| label20 = Nationality
| label20 = Nationality
| data20 = {{{nationality|}}}
| data20 = {{{nationality|}}}
| class20 = category


| label21 = Other&nbsp;names
| label21 = Other&nbsp;names
| class21 = nickname
| data21 = {{{other names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}}
| data21 = {{{other names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}}
| class21 = nickname


| class22 = category
| label22 = Ethnicity
| label22 = Ethnicity
| data22 = {{{ethnicity|}}}
| data22 = {{{ethnicity|}}}
| class22 = category


| class23 = category
| label23 = Citizenship
| label23 = Citizenship
| data23 = {{{citizenship|}}}
| data23 = {{{citizenship|}}}
| class23 = category


| label24 = Education
| label24 = Education
Line 69: Line 71:


| label26 = Occupation
| label26 = Occupation
| class26 = role
| data26 = {{{occupation|}}}
| data26 = {{{occupation|}}}
| class26 = role


| label27 = Years&nbsp;active
| label27 = Years&nbsp;active
Line 94: Line 96:
| 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 = <span class="nowrap">{{#if:{{{credits|}}}|Notable credit(s)|Notable work}}</span>
| data33 = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}
| data33 = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}


Line 111: Line 113:


| 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
| 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|}}}}} }}
| 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
Line 132: Line 134:
| data46 = {{{successor|}}}
| data46 = {{{successor|}}}


| label47 = {{Longitem|Political party}}
| label47 = Political party
| data47 = {{{party|}}}
| data47 = {{{party|}}}
| class47 = org
| class47 = org
Line 140: Line 142:
| 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|}}}


Line 154: Line 156:
| class52 = category
| class52 = category


| label53 = {{Longitem|Criminal charge}}
| label53 = Criminal charge
| data53 = {{{criminal charge|{{{criminal_charge|}}}}}}
| data53 = {{{criminal charge|{{{criminal_charge|}}}}}}


| label54 = {{Longitem|Criminal penalty}}
| label54 = Criminal penalty
| data54 = {{{criminal penalty|{{{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>
| label55 = {{#if:{{{judicial_status|{{{judicial status|}}}}}}|Judicial status|Criminal status}}
| data55 = {{#if:{{{judicial status|{{{judicial_status|}}}}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}} }}
| data55 = {{#if:{{{judicial status|{{{judicial_status|}}}}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}}}}
| class55 = category
| class55 = category


| label56 = <span style="white-space:nowrap;">Spouse(s)</span>
| label56 = <span class="nowrap">Spouse(s)</span>
| data56 = {{{spouse|}}}
| data56 = {{{spouse|}}}


| label57 = <span style="white-space:nowrap;">Partner(s)</span>
| label57 = <span class="nowrap">Partner(s)</span>
| data57 = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}
| data57 = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}


Line 191: Line 193:
| data64 = {{#if:{{{honours|}}}|{{{honours}}}|{{{honors|}}}}}
| data64 = {{#if:{{{honours|}}}|{{{honours}}}|{{{honors|}}}}}


| data65 = {{{misc|{{{module|}}}}}}
| label65 = Website
| data66 = {{{misc2|{{{module2|}}}}}}
| data65 = {{{website|{{{homepage|{{{URL|}}}}}}}}}
| data67 = {{{misc3|{{{module3|}}}}}}
| data68 = {{{misc4|{{{module4|}}}}}}
| data69 = {{{misc5|{{{module5|}}}}}}
| data70 = {{{misc6|{{{module6|}}}}}}


| label71 = Signature
| data66 = {{{misc|{{{module|}}}}}}
| data67 = {{{misc2|{{{module2|}}}}}}
| data71 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
| data68 = {{{misc3|{{{module3|}}}}}}
| data69 = {{{misc4|{{{module4|}}}}}}
| data70 = {{{misc5|{{{module5|}}}}}}
| data71 = {{{misc6|{{{module6|}}}}}}


| header72 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| header72 = {{#if:{{{signature|}}}|Signature}}
| data73 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}}}
| data73 = {{{website|{{{homepage|{{{URL|}}}}}}}}}


| below = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
| header74 = {{#if:{{{footnotes|}}}|Notes}}
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
| data75 = {{#if:{{{footnotes|}}}|<div style="text-align: left;">
{{{footnotes}}}</div>}}


}}{{main other|<!--
}}{{Main other|
{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!--

-->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[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:{{{salary|}}}{{{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:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--

-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]
}}<includeonly>{{Wikidata image|1={{{image|}}} }}</includeonly><noinclude>
}}<includeonly>{{Wikidata image|1={{{image|}}}}}</includeonly><noinclude>
{{Documentation}}</noinclude>
<!---Please add categories to the <includeonly> section at the bottom of the /doc subpage--->
{{documentation}}
</noinclude>

Revision as of 15:06, 7 July 2015

Infobox person