Difference between pages "Template:Infobox military person" and "Template:Infobox military person/sandbox"
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
− | | child | + | | 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--> | ||
− | | | + | | abovestyle = {{WPMILHIST Infobox style|header_color}} font-size:100% |
− | | | + | | 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 | + | | title = {{#ifeq:{{lc:{{{embed}}}}}|yes |'''Military career'''}} |
− | |||
− | | | + | | 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|}}} | ||
− | | | + | | labelstyle = padding-right:1.0em |
− | | | + | | label1 = {{longitem|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 = {{longitem|Birth name}} |
− | | | + | | class2 = nickname |
+ | | data2 = {{{birth_name|}}} | ||
− | | | + | | label3 = Nickname |
+ | | 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|}}} |{{longitem|{{{placeofburial_label}}}}} |Buried at}} |
− | | | + | | data6 = {{#if:{{{placeofburial|}}}{{{placeofburial_coordinates|}}} |<span class="label">{{{placeofburial|}}}</span> {{#if:{{{placeofburial_coordinates|}}} |({{{placeofburial_coordinates}}})}} }} |
− | | | ||
− | | | + | | label7 = Allegiance |
− | | | + | | data7 = {{{allegiance|}}} |
− | | | + | | label8 = {{longitem|Service / branch}} |
− | + | | data8 = {{{branch|}}} | |
− | | | + | | label9 = {{longitem|Years of service}} |
− | | | + | | data9 = {{{serviceyears|}}} |
− | | | + | | label10 = {{longitem|Final rank}} |
− | | | + | | data10 = {{{rank|}}} |
− | | | + | | label11 = {{longitem|[[Service number|<span style="white-space:normal;">Service number</span>]]}} |
− | | | + | | data11 = {{{servicenumber|}}} |
− | | | + | | label12 = Unit |
− | | | + | | data12 = {{{unit|}}} |
− | | | + | | label13 = {{longitem|Commands held}} |
− | | | + | | data13 = {{{commands|}}} |
− | | | + | | label14 = {{#if:{{{battles_label|}}} |{{longitem|{{{battles_label|}}}}} |{{longitem|Battles / wars}} }} |
− | | | + | | data14 = {{{battles|}}} |
− | | | + | | label15 = Awards |
− | | | + | | data15 = {{{awards|}}} |
− | | | + | | label16 = Memorials |
− | | | + | | data16 = {{{memorials|}}} |
− | | | + | | label17 = <span style="white-space:nowrap;">Spouse(s)</span> |
− | | | + | | data17 = {{{spouse|}}} |
− | | | + | | label18 = Relations |
− | | | + | | data18 = {{{relations|}}} |
− | | | + | | label19 = {{longitem|Other work}} |
− | | | + | | data19 = {{{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> | |
− | |||
− | |||
− | |||
− |