close
Sayahna Sayahna
Search

Difference between pages "Template:Infobox military person" and "Template:Infobox military person/sandbox"


Page 1
Page 2
m (1 revision)
 
m (1 revision)
 
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| child         = {{lc:{{{embed}}}}}
+
| child = {{lc:{{{embed}}}}}
 +
| bodyclass = vcard
 +
| bodystyle = {{WPMILHIST Infobox style|{{#switch:{{{width_style|}}}|narrow|person|auto=main_box_raw_auto_width|wide|military|#default=main_box_raw}}}}
 +
| decat = yes <!--i.e. remove from categories that track Template:Infobox use-->
  
| bodyclass      = vcard
+
| abovestyle = {{WPMILHIST Infobox style|header_color}} font-size:100%
| bodystyle      = {{WPMILHIST Infobox style|{{#switch:{{{width_style|}}}|narrow|person|auto=main_box_raw_auto_width|wide|military|#default=main_box_raw}}}}
+
| above = {{#ifeq:{{lc:{{{embed}}}}}|yes | |{{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}} |<span class="honorific prefix">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br/>}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}} |<br/><span class="honorific suffix">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}} }}
  
| title         = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Military career'''}}
+
| title = {{#ifeq:{{lc:{{{embed}}}}}|yes |'''Military career'''}}
| decat          = yes <!-- remove from template:infobox tracking categories -->
 
  
| abovestyle    = {{WPMILHIST Infobox style|header_color}} font-size: 100%
+
| 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 |alt={{{alt|}}} |suppressplaceholder=yes}} }}
 +
| captionstyle = font-size:90%
 +
| caption = {{{caption|}}}
  
| above          = {{#ifeq:{{lc:{{{embed}}}}}|yes||{{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<span class="honorific prefix">{{{honorific prefix|{{{honorific_prefix|}}}}}}</span><br />}}<includeonly><span class="fn">{{{name|{{PAGENAME}}}}}</span></includeonly>{{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<br /><span class="honorific suffix">{{{honorific suffix|{{{honorific_suffix|}}}}}}</span>}} }}
+
| labelstyle = padding-right:1.0em
  
| imagestyle    = border-bottom: {{WPMILHIST Infobox style|section_border}}; line-height: 1.5em
+
| label1 = {{longitem|Native name}}
| 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|alt={{{alt|}}}|suppressplaceholder=yes}} }}
+
| data1 = {{#if:{{{native_name|}}} |<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}}
  
| captionstyle  = font-size: 95%
+
| label2 = {{longitem|Birth name}}
| caption        = {{{caption|}}}
+
| class2 = nickname
 +
| data2 = {{{birth_name|}}}
  
| labelstyle    = padding-right: 1em
+
| label3 = Nickname
 +
| class3 = nickname
 +
| data3 = {{{nickname|}}}
  
| label1        = Native name
+
| label4 = Born
| data1          = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}" xml:lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span> }}
+
| data4 = {{br separated entries |{{{birth_date|}}} |{{{birth_place|}}} }}
  
| label2        = Birth name
+
| label5 = Died
| data2          = {{{birth_name|}}}
+
| data5 = {{br separated entries |{{{death_date|}}} |{{{death_place|}}} }}
| class2        = nickname
 
  
| label3        = Nickname
+
| label6 = {{#if:{{{placeofburial_label|}}} |{{longitem|{{{placeofburial_label}}}}} |Buried&nbsp;at}}
| data3          = {{{nickname|}}}
+
| data6 = {{#if:{{{placeofburial|}}}{{{placeofburial_coordinates|}}} |<span class="label">{{{placeofburial|}}}</span> {{#if:{{{placeofburial_coordinates|}}} |({{{placeofburial_coordinates}}})}} }}
| class3        = nickname
 
  
| label4        = Born
+
| label7 = Allegiance
| data4          = {{br separated entries | {{{birth_date|}}} | {{{birth_place|}}} }}
+
| data7 = {{{allegiance|}}}
  
| label5        = Died
+
| label8 = {{longitem|Service&nbsp;/ branch}}
| data5          = {{br separated entries | {{{death_date|}}} | {{{death_place|}}} }}
+
| data8 = {{{branch|}}}
  
| label6        = {{#if:{{{placeofburial_label|}}}|{{{placeofburial_label}}}|Buried&nbsp;at}}
+
| label9 = {{longitem|Years&nbsp;of service}}
| data6          = {{#if:{{{placeofburial|}}}{{{placeofburial_coordinates|}}}|<span class="label">{{{placeofburial|}}}</span> {{#if:{{{placeofburial_coordinates|}}}|({{{placeofburial_coordinates}}})}}}}
+
| data9 = {{{serviceyears|}}}
  
| label7        = Allegiance
+
| label10 = {{longitem|Final rank}}
| data7          = {{{allegiance|}}}
+
| data10 = {{{rank|}}}
  
| label8        = Service/branch
+
| label11 = {{longitem|[[Service number|<span style="white-space:normal;">Service number</span>]]}}
| data8          = {{{branch|}}}
+
| data11 = {{{servicenumber|}}}
  
| label9        = Years&nbsp;of service
+
| label12 = Unit
| data9          = {{{serviceyears|}}}
+
| data12 = {{{unit|}}}
  
| label10        = Rank
+
| label13 = {{longitem|Commands held}}
| data10          = {{{rank|}}}
+
| data13 = {{{commands|}}}
  
| label11        = [[Service number]]
+
| label14 = {{#if:{{{battles_label|}}} |{{longitem|{{{battles_label|}}}}} |{{longitem|Battles&nbsp;/ wars}} }}
| data11        = {{{servicenumber|}}}
+
| data14 = {{{battles|}}}
  
| label12        = Unit
+
| label15 = Awards
| data12        = {{{unit|}}}
+
| data15 = {{{awards|}}}
  
| label13        = Commands held
+
| label16 = Memorials
| data13        = {{{commands|}}}
+
| data16 = {{{memorials|}}}
  
| label14        = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}}
+
| label17 = <span style="white-space:nowrap;">Spouse(s)</span>
| data14        = {{{battles|}}}
+
| data17 = {{{spouse|}}}
  
| label15        = Awards
+
| label18 = Relations
| data15        = {{{awards|}}}
+
| data18 = {{{relations|}}}
  
| label16        = Memorials
+
| label19 = {{longitem|Other work}}
| data16        = {{{memorials|}}}
+
| data19 = {{{laterwork|}}}
  
| label17        = Spouse(s)
+
| label20 = Signature
| data17        = {{{spouse|}}}
+
| data20 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=100px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
  
| label18        = Relations
+
| label21 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}} |Website}}
| data18        = {{{relations|}}}
+
| data21 = {{{website|{{{homepage|{{{URL|}}}}}}}}}
  
| label19        = Other&nbsp;work
+
| data22 = {{{module|}}}
| data19        = {{{laterwork|}}}
 
  
| label20        = Signature
+
}}<noinclude>
| data20        = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=100px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
 
  
| label21        = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
+
{{documentation}}
| data21        = {{{website|{{{homepage|{{{URL|}}}}}}}}}
+
</noinclude>
 
 
| data22        = {{{module|}}} 
 
 
 
}}<noinclude>{{documentation}}</noinclude>