Difference between revisions of "Template:Infobox person"

From Core
Jump to: navigation, search
(Created page with "{{Infobox | child = {{lc:{{{embed}}}}} | bodyclass = vcard | bodystyle = {{WPMILHIST Infobox style|{{#switch:{{{width_style|}}}|narrow|person|auto=main_box_raw_auto_width|w...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| child  = {{lc:{{{embed}}}}}
+
| bodystyle = width:20em;
 
+
| title  =  
| bodyclass = vcard
+
| bodystyle = {{WPMILHIST Infobox style|{{#switch:{{{width_style|}}}|narrow|person|auto=main_box_raw_auto_width|wide|military|#default=main_box_raw}}}}
+
 
+
| title  = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Military career'''}}
+
| decat  = yes <!-- remove from template:infobox tracking categories -->
+
  
 
| abovestyle  = {{WPMILHIST Infobox style|header_color}}  
 
| abovestyle  = {{WPMILHIST Infobox style|header_color}}  
 
 
| 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>}}
 
  |1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific-prefix" style="font-size: small">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span>}}
Line 17: Line 11:
  
 
| imagestyle = border-bottom: {{WPMILHIST Infobox style|section_border}}; line-height: 1.5em
 
| imagestyle = border-bottom: {{WPMILHIST Infobox style|section_border}}; line-height: 1.5em
| image  = {{#if:{{{image|}}}|{{#ifeq:{{Str left | {{{image|}}} | 1 }}|[|[[Category:Infobox military person image param needs updating]]}}{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} }}
+
| image  =  
  
 
| captionstyle = font-size: 95%
 
| captionstyle = font-size: 95%
Line 23: Line 17:
  
 
| labelstyle = padding-right: 1em
 
| labelstyle = padding-right: 1em
 
| label1  = Native name
 
| data1  = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
 
 
| label2  = Birth name
 
| class2  = nickname
 
| data2  = {{{birth_name|}}}
 
 
| label3  = Nickname(s)
 
| class3  = nickname
 
| data3  = {{{nickname|}}}
 
 
| label4  = Born
 
| data4  = {{br separated entries | {{{birth_date|}}} | {{{birth_place|}}} }}
 
 
| label5  = Died
 
| data5  = {{br separated entries | {{{death_date|}}} | {{{death_place|}}} }}
 
 
| label6  = {{#if:{{{placeofburial_label|}}}|{{{placeofburial_label}}}|Buried&nbsp;at}}
 
| data6  = {{#if:{{{placeofburial|}}}{{{placeofburial_coordinates|}}}|<span class="label">{{{placeofburial|}}}</span> {{#if:{{{placeofburial_coordinates|}}}|({{{placeofburial_coordinates}}})}}}}
 
 
| label7  = Allegiance
 
| data7  = {{{allegiance|}}}
 
 
| label8  = Service/branch
 
| data8  = {{{branch|}}}
 
 
| label9  = Years&nbsp;of service
 
| data9  = {{{serviceyears|}}}
 
 
| label10 = Rank
 
| data10  = {{{rank|}}}
 
 
| label11 = [[Service number]]
 
| data11  = {{{servicenumber|}}}
 
 
| label12 = Unit
 
| data12  = {{{unit|}}}
 
 
| label13 = Commands held
 
| data13  = {{{commands|}}}
 
 
| label14 = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}}
 
| data14  = {{{battles|}}}
 
 
| label15 = Awards
 
| data15  = {{{awards|}}}
 
 
| label16 = Memorials
 
| data16  = {{{memorials|}}}
 
 
| label17 = Spouse(s)
 
| data17  = {{{spouse|}}}
 
 
| label18 = Relations
 
| data18  = {{{relations|}}}
 
 
| label19 = Other&nbsp;work
 
| data19  = {{{otherwork|{{{laterwork|}}}}}}
 
 
| label20 = Signature
 
| data20  = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=100px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
 
 
| label21 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
 
| data21  = {{{website|{{{homepage|{{{URL|}}}}}}}}}
 
 
| data22  = {{{module|}}} 
 
  
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 14:57, 27 December 2014

Script error: No such module "br separated entries".
50px Template documentation[create]