Template:Infobox person: Difference between revisions

Add pronunciation, rm styling hacks, regular label for website, signature on a new line
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:
{{Infobox|child={{{child|}}}
| bodyclass = biography vcard
 
| above = {{brBr separated entries
|1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}}
|2 1 = {{#if:{{{namehonorific prefix|<includeonly>{{PAGENAMEBASE{honorific_prefix|}}}</includeonly>}}}|<span class="fnhonorific-prefix" style="font-size: small">{{{namehonorific prefix|{{PAGENAMEBASE{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>}}
|1 3 = {{#if:{{{honorific prefixsuffix|{{{honorific_prefixhonorific_suffix|}}}}}}|<span class="honorific-prefixsuffix" style="font-size: small">{{{honorific prefixsuffix|{{{honorific_prefixhonorific_suffix|}}}}}}</span>}}
}}
| 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|}}}}}}}}}
 
| labelstyle = padding-right:0.6em;<!--(to ensure sufficient gap between any (long/unwrapped) label and subsequent data on same line)-->
 
| label1 = Native&nbsp;name
| data1 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
 
| label10label2 = BornPronunciation
| data18data2 = {{{monumentspronunciation|}}}
| 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 label10 = BaptisedBorn
| data10 = {{brBr 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 label11 = DisappearedBaptised
| data12 data11 = {{br separated entries|#if:{{{disappeared_datebirth_date|}}}||{{{disappeared_placebaptised|}}} }}
 
| label13 label12 = StatusDisappeared
| data13 data12 = {{{statusBr separated entries|1={{{disappeared_statusdisappeared_date|}}}|2={{{disappeared_place|}}}}}
 
| label14 label13 = DiedStatus
| data67data13 = {{{misc3status|{{{module3disappeared_status|}}}}}}
| data14 = {{br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
 
| class26label14 = roleDied
| label15 = {{Longitem|Cause&nbsp;of death}}
| data14 = {{brBr separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<span class="deathplace">{{{death_place|}}}</span>}}}}
| data15 = {{{death cause|{{{death_cause|}}}}}}
 
| label16 label15 = {{Longitem|BodyCause&nbsp;of discovered}}death
| data16 data15 = {{{bodydeath discoveredcause|{{{body_discovereddeath_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 label17 = MonumentsResting place
| data17 = {{brBr separated entries|1={{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|2={{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}}
| data18 = {{{monuments|}}}
| class17 = label
 
| label19 label18 = ResidenceMonuments
| class19data18 = {{#if:{{{death_datemonuments|}}}{{{death_place|}}}||label}}
 
| data19 = {{{residence|}}}
| label19 = Residence
| data19 = {{{residence|}}}
| data11 class19 = {{#if:{{{birth_datedeath_date|}}}||{{{baptiseddeath_place|}}}||label}}
 
| class20 = category
| label20 = Nationality
| data20 = {{{nationality|}}}
| class20 = category
 
| label21 = Other&nbsp;names
| class21 = nickname
| data21 = {{{other names|{{{other_names|{{{othername|{{{alias|}}}}}}}}}}}}
| class21 = nickname
 
| class22 = category
| label22 = Ethnicity
| data22 = {{{ethnicity|}}}
| class22 = category
 
| class23 = category
| label23 = Citizenship
| data23 = {{{citizenship|}}}
| class23 = category
 
| label24 = Education
Line 69 ⟶ 71:
 
| label26 = Occupation
| class26 = role
| data26 = {{{occupation|}}}
| class26 = role
 
| label27 = Years&nbsp;active
Line 94 ⟶ 96:
| data32 = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
| label33 = <span styleclass="white-space:nowrap;">{{#if:{{{credits|}}}|Notable credit(s)|Notable work}}</span>
| data33 = {{#if:{{{credits|}}}|{{{credits}}}|{{{notable works|{{{notable_works|}}}}}}}}
 
Line 111 ⟶ 113:
 
| 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|}}}}} }}
 
| 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
Line 132 ⟶ 134:
| data46 = {{{successor|}}}
 
| label47 = {{Longitem|Political party}}
| data47 = {{{party|}}}
| class47 = org
Line 140 ⟶ 142:
| class48 = category
 
| label49 = <span styleclass="white-space:nowrap;">Opponent(s)</span>
| data49 = {{{opponents|}}}
 
| label50 = {{Longitem|Board member&nbsp;of}}
| data50 = {{{boards|}}}
 
Line 154 ⟶ 156:
| 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>
| data55 = {{#if:{{{judicial status|{{{judicial_status|}}}}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}} }}
| class55 = category
 
| label56 = <span styleclass="white-space:nowrap;">Spouse(s)</span>
| data56 = {{{spouse|}}}
 
| label57 = <span styleclass="white-space:nowrap;">Partner(s)</span>
| data57 = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}
 
Line 191 ⟶ 193:
| data64 = {{#if:{{{honours|}}}|{{{honours}}}|{{{honors|}}}}}
 
| data65 label65 = {{{misc|{{{module|}}}}}}Website
| data66data65 = {{{misc2website|{{{module2homepage|{{{URL|}}}}}}}}}
| data67 = {{{misc3|{{{module3|}}}}}}
| data68 = {{{misc4|{{{module4|}}}}}}
| data69 = {{{misc5|{{{module5|}}}}}}
| data70 = {{{misc6|{{{module6|}}}}}}
 
| label71data66 = Signature{{{misc|{{{module|}}}}}}
| data15 data67 = {{{death causemisc2|{{{death_causemodule2|}}}}}}
| data71 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
| data68 = {{{misc3|{{{module3|}}}}}}
| data68data69 = {{{misc4|{{{module4|}}}}}}
| data69data70 = {{{misc5|{{{module5|}}}}}}
| data70data71 = {{{misc6|{{{module6|}}}}}}
 
| header72 = {{#if:{{{websitesignature|{{{homepage|{{{URL|}}}}}}}}}|WebsiteSignature}}
| data71data73 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} }}
| data73 = {{{website|{{{homepage|{{{URL|}}}}}}}}}
 
| below header74 = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
| belowstyledata75 = border-top:1px solid = {{#aaaaaa;if:{{{footnotes|}}}|<div style="text-align: left;">
{{{footnotes}}}</div>}}
 
}}{{mainMain 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:{{{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:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
 
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}[[Category:Articles with hCards]]
}}<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>
Anonymous user