Template:Infobox person: Difference between revisions

Various fixes: (1) Add denomination, (2) allow space or underscore in field names for consistency, (3) fix br tags in multicomponent lists (born, died)
(Per request)
(Various fixes: (1) Add denomination, (2) allow space or underscore in field names for consistency, (3) fix br tags in multicomponent lists (born, died))
Line 4:
| above = <includeonly>{{{name|{{PAGENAME}}}}}</includeonly>
| aboveclass = fn
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_sizepx|{{{imagesize|}}}}}}image size|{{{image_size|{{{imagesize|}}}}}}}}}|225px225x180px}}|alt={{{alt|}}}]]}}
| imageclass = {{image class names|{{{image}}}}}
| caption = {{{caption|}}}
 
| label1 = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}|Born}}
| data1 = {{br list|{{#if:{{{birth name|{{{birth_name|}}}}}}|<span class="nickname">{{{birth name|{{{birth_name}}}}}}</span><br />}}|{{#if:{birth date|{{{birth_date|}}}}}}|{{{birth_date}}}<brbirth />}}place|{{{birth_place|}}}}}}}}
 
| label2 = {{#if:{{{death_date|}}}{{{death_place|}}}|Died }}
| data2 = {{#if:br list|{{{death_date|}}}death date|{{{death_date|}}}<br />}}}|{{{death_place|}}}}}
 
| label3 = Cause&nbsp;of death
| data3 = {{{death cause|{{{death_cause|}}}}}}
 
| label4 = Body discovered
| data4 = {{{body discovered|{{{body_discovered|}}}}}}
 
| label5 = Resting place
| class5 = label
| data5 = {{{resting_placebr list|}}}{{#if:{resting place|{{resting_place_coordinates{resting_place|}}}}}}|<br{{{resting />place coordinates|{{{resting_place_coordinates|}}}}}} }}
 
| label6 = Monuments
Line 28:
 
| label7 = Residence
| class7 = {{#if:{{{death date|{{{death_date|}}}}}}{{{death place|{{{death_place|}}}}}}||label}}
| data7 = {{{residence|}}}
 
Line 37:
| label9 = Other names
| class9 = nickname
| data9 = {{{other names|{{{other_names|}}}}}}
 
| class10 = category
Line 51:
 
| label13 = ''[[Alma mater]]''
| data13 = {{{alma mater|{{{alma_mater|}}}}}}
 
| label14 = Occupation
Line 58:
 
| label15 = Years active
| data15 = {{{years active|{{{years_active|}}}}}}
 
| label16 = Employer
Line 73:
 
| label19 = Notable works
| data19 = {{{notable works|{{{notable_works|}}}}}}
 
| label20 = Style
Line 86:
 
| label23 = Home town
| data23 = {{{home town|{{{home_town|}}}}}}
 
| label24 = Salary
Line 92:
 
| label25 = Net worth
| data25 = {{{net worth|{{{net_worth|{{{networth|}}}}}}}}}
 
| label26 = Height
Line 101:
 
| label28 = Known&nbsp;for
| data28 = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
| label29 = Television programme(s)
Line 136:
| data38 = {{{religion|}}}
| class38 = category
 
| label39 = Denomination
| data39 = {{{denomination|}}}
| class39 = category
 
| label40 = Criminal&nbsp;charge
| data40 = {{{criminal charge|{{{criminal_charge|}}}}}}
 
| label41 = Criminal&nbsp;penalty
| data41 = {{{criminal penalty|{{{criminal_penalty|}}}}}}
 
| label42 = Criminal&nbsp;status
| data42 = {{{criminal status|{{{criminal_status|}}}}}}
| class42 = category
 
Line 168 ⟶ 172:
| data49 = {{{awards|}}}
 
| data50 = {{#if:{{{signature|}}}|'''Signature'''<div style="padding-top:0.3em;">[[File:{{{signature}}}|128px|alt={{{signature alt|{{{signature_alt|}}}}}}]]</div>}}
 
| data51 = {{#if:{{{website|}}}| '''Website'''<br />{{{website}}} }}
Anonymous user