Template:Infobox military person: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
en>MSGJ
(shorten label to Commands, per request)
Line 10: Line 10:


| above        = {{br separated entries
| above        = {{br separated entries
  |1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;display:inline;">{{{honorific prefix|{{{honorific_prefix|}}}}}}</div>}}
  |1={{#if:{{{honorific prefix|{{{honorific_prefix|}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;display:inline-block;">{{{honorific prefix|{{{honorific_prefix|}}}}}}</div>}}
  |2={{#if:{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}|<div style="display:inline" class="fn">{{{name|{{PAGENAMEBASE}}}}}</div>}}
  |2={{#if:{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}|<div style="display:inline-block" class="fn">{{{name|{{PAGENAMEBASE}}}}}</div>}}
  |3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal;display:inline;">{{{honorific suffix|{{{honorific_suffix|}}}}}}</div>}}
  |3={{#if:{{{honorific suffix|{{{honorific_suffix|}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal;display:inline-block;">{{{honorific suffix|{{{honorific_suffix|}}}}}}</div>}}
  }}
  }}
| abovestyle  = font-size:125%; {{WPMILHIST Infobox style|header_color}}  
| abovestyle  = font-size:125%; {{WPMILHIST Infobox style|header_color}}  
Line 47: Line 47:
| data5        = {{br separated entries | {{{birth_date|}}} | {{{birth_place|}}} }}
| data5        = {{br separated entries | {{{birth_date|}}} | {{{birth_place|}}} }}


| label6      = Died
| label6      = Disappeared
| data6        = {{br separated entries | {{{death_date|}}} | {{{death_place|}}} }}
| data6        = {{br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}}


| label7      = {{#if:{{{placeofburial_label|}}}|{{{placeofburial_label}}}|Buried}}
| label7      = Status
| data7        = {{#if:{{{placeofburial|}}}{{{placeofburial_coordinates|}}}|<div style="display:inline" class="label">{{{placeofburial|}}}</div> {{#if:{{{placeofburial_coordinates|}}}|{{{placeofburial_coordinates}}}}}}}
| data7        = {{{status|{{{disappeared_status|}}}}}}


| label8      = Allegiance
| label8      = Died
| data8        = {{{allegiance|}}}
| data8        = {{br separated entries | {{{death_date|}}} | {{{death_place|}}} }}


| label9      = {{#if:{{{branch_label|}}}|{{{branch_label}}}|Service/<wbr/>branch}}
| label9      = Cause&nbsp;of death
| data9        = {{{branch|}}}
| data9        = {{{death cause|{{{death_cause|}}}}}}


| label10     = {{#if:{{{serviceyears_label|}}}|{{{serviceyears_label|}}}|Years&nbsp;of service}}
| label10       = {{#if:{{{placeofburial_label|}}}|{{{placeofburial_label}}}|Buried}}
| data10       = {{{serviceyears|}}}
| data10       = {{#if:{{{placeofburial|}}}{{{placeofburial_coordinates|}}}|<div style="display:inline" class="label">{{{placeofburial|}}}</div> {{#if:{{{placeofburial_coordinates|}}}|{{{placeofburial_coordinates}}}}}}}


| label11      = {{#if:{{{rank_label|}}}|{{{rank_label|}}}|Rank}}
| label11      = Allegiance
| data11      = {{{rank|}}}
| data11      = {{{allegiance|}}}


| label12      = [[Service number]]
| label12      = {{#if:{{{branch_label|}}}|{{{branch_label}}}|Service/<wbr/>branch}}
| data12      = {{{servicenumber|}}}
| data12      = {{{branch|}}}


| label13      = {{#if:{{{unit_label|}}}|{{{unit_label|}}}|Unit}}
| label13      = {{#if:{{{service_years_label|{{{serviceyears_label|}}}}}}|{{{service_years_label|{{{serviceyears_label|}}}}}}|Years&nbsp;of service}}
| data13      = {{{unit|}}}
| data13      = {{{service_years|{{{serviceyears|}}}}}}


| label14      = Commands held
| label14      = {{#if:{{{rank_label|}}}|{{{rank_label|}}}|Rank}}
| data14      = {{{commands|}}}
| data14      = {{{rank|}}}


| label15      = Known&nbsp;for
| label15      = [[Service number]]
| data15      = {{{known for|{{{known_for|{{{known|}}}}}}}}}
| data15      = {{{service_number|{{{servicenumber|}}}}}}


| label16      = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}}
| label16      = {{#if:{{{unit_label|}}}|{{{unit_label|}}}|Unit}}
| data16      = {{{battles|}}}
| data16      = {{{unit|}}}


| label17      = Awards
| label17      = Commands
| data17      = {{{awards|}}}
| data17      = {{{commands|}}}


| label18      = Memorials
| label18      = Known&nbsp;for
| data18      = {{{memorials|}}}
| data18      = {{{known for|{{{known_for|{{{known|}}}}}}}}}


| label19      = [[Alma mater]]
| label19      = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}}
| data19      = {{{alma_mater|}}}
| data19      = {{{battles|}}}


| label20      = Spouse(s)
| label20      = Awards
| data20       = {{{spouse|}}}
| data20     = {{{awards|}}}


| label21      = Children
| label21      = Memorials
| data21      = {{{children|}}}
| data21      = {{{memorials|}}}


| label22      = Relations
| label22      = [[Alma mater]]
| data22      = {{{relations|}}}
| data22      = {{{alma_mater|}}}


| label23      = Other&nbsp;work
| label23      = Spouse(s)
| data23      = {{{otherwork|{{{laterwork|}}}}}}
| data23      = {{{spouse|}}}


| label24      = Signature
| label24      = Children
| data24      = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=100px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
| data24      = {{{children|}}}


| label25      = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| label25      = Relations
| data25      = {{{website|{{{homepage|{{{URL|}}}}}}}}}
| data25      = {{{relations|}}}


| data26      = {{{module|}}}
| label26      = Other&nbsp;work
| data26      = {{{other_work|{{{later_work|{{{otherwork|{{{laterwork|}}}}}}}}}}}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox military person]] with unknown parameter "_VALUE_"|ignoreblank=y| allegiance | alma_mater | alt | awards | battles | battles_label | birth_date | birth_name | birth_place | branch | branch_label | caption | children | commands | death_date | death_place | embed | embed_title | embed_title_large | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | image | image_size | image_upright | known | known_for | laterwork | medal | medal_size | medal_upright | medal_alt | memorials | module | name | native_name | native_name_lang | nickname | other_name | otherwork | placeofburial | placeofburial_coordinates | placeofburial_label | rank | rank_label | relations | servicenumber | serviceyears | serviceyears_label | signature | signature alt | signature_alt | signature_size | spouse | unit | unit_label | URL | website | width_style }}{{#if:{{both|{{{image|}}}|{{{medal|}}}}}|[[Category:Pages using infobox military person with both image and medal]]
| label27      = Signature
| data27      = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=100px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
 
| label28      = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
| data28      = {{{website|{{{homepage|{{{URL|}}}}}}}}}
 
| data29      = {{{module|}}} 
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox military person]] with unknown parameter "_VALUE_"|ignoreblank=y| allegiance | alma_mater | alt | awards | battles | battles_label | birth_date | birth_name | birth_place | disappeared_date | disappeared_place | disappeared_status | branch | branch_label | caption | children | commands | death_date | death_place |death_cause | embed | embed_title | embed_title_large | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | image | image_size | image_upright | known | known_for | later_work | laterwork | medal | medal_size | medal_upright | medal_alt | memorials | module | name | native_name | native_name_lang | nickname | other_name | other_work | otherwork | placeofburial | placeofburial_coordinates | placeofburial_label | rank | rank_label | relations | service_number | servicenumber | service_years | serviceyears | service_years_label | serviceyears_label | signature | signature alt | signature_alt | signature_size | spouse | unit | unit_label | URL | website | width_style }}{{#if:{{both|{{{image|}}}|{{{medal|}}}}}|[[Category:Pages using infobox military person with both image and medal]]
}}{{main other|{{#if:{{{embed|}}}|[[Category:Pages using infobox military person with embed|{{#if:{{{embed_title|}}}|Τ}}{{FULLPAGENAME}}]]
}}{{main other|{{#if:{{{embed|}}}|[[Category:Pages using infobox military person with embed|{{#if:{{{embed_title|}}}|Τ}}{{FULLPAGENAME}}]]
}}}}<noinclude>{{documentation}}</noinclude>
}}}}<noinclude>{{documentation}}</noinclude>

Revision as of 15:06, 11 August 2024