Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox military person: Difference between revisions

Template page
(Created page with "{{Infobox | 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}}}} | subheaderstyle = font-weight:bold; | subheader = {{#ifeq:{{lc:{{{embed}}}}}|yes|{{if empty|{{{embed_title|}}}|{{#ifeq:{{{embed_title_large|}}}|yes|<div style="text-align: center; font-size: 125%; line-height: 1.2em; font-weight: bold;">Military...")
 
m (Rework looks identical, keeping it for simplification)
Tag: Undo
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| child        = {{lc:{{{embed}}}}}
| child        = {{lc:{{{embed|}}}}}


| bodyclass    = vcard
| bodyclass    = vcard
Line 6: Line 6:


| subheaderstyle = font-weight:bold;
| subheaderstyle = font-weight:bold;
| subheader    = {{#ifeq:{{lc:{{{embed}}}}}|yes|{{if empty|{{{embed_title|}}}|{{#ifeq:{{{embed_title_large|}}}|yes|<div style="text-align: center; font-size: 125%; line-height: 1.2em; font-weight: bold;">Military career</div>|Military career}}}}}}
| subheader    = {{#ifeq:{{lc:{{{embed|yes}}}}}|yes|{{#if:{{{embed_title|}}}|{{#ifeq:{{{embed_title_large|}}}|yes|<div style="text-align: center; font-size: 125%; line-height: 1.2em; font-weight: bold;">Military career</div>|Military career}}}}}}
 
| decat        = yes <!-- remove from template:infobox tracking categories -->
| decat        = yes <!-- remove from template:infobox tracking categories -->


| 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|}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;display:inline;">{{{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" 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|}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal;display:inline;">{{{honorific_suffix|}}}</div>}}
  }}
  }}
| abovestyle  = font-size:125%; {{WPMILHIST Infobox style|header_color}}  
| abovestyle  = font-size:125%; {{WPMILHIST Infobox style|header_color}}
 
| image        = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}}}
| medal        = {{#if:{{{medal|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{medal|}}}|size={{{medal_size|}}}|sizedefault=frameless|upright={{{medal_upright|0.4}}}|alt={{{medal_alt|}}}|suppressplaceholder=yes}}}}


| image        = {{#if:{{{image|}}}
  |{{#ifeq:{{Str left | {{{image|}}} | 1 }}|[|{{main other|[[Category:Infobox military person image param needs updating]]}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
  |{{#if:{{{medal|}}}
  |{{#ifeq:{{Str left | {{{medal|}}} | 1 }}|[|{{main other|[[Category:Infobox military person image param needs updating]]}}}}{{#invoke:InfoboxImage|InfoboxImage|image={{{medal|}}}|size={{{medal_size|}}}|sizedefault=frameless|upright={{{medal_upright|0.4}}}|alt={{{medal_alt|}}}|suppressplaceholder=yes}}
  }}
  }}
| imagestyle  = border-bottom: {{WPMILHIST Infobox style|section_border}}; line-height: 1.5em
| imagestyle  = border-bottom: {{WPMILHIST Infobox style|section_border}}; line-height: 1.5em


Line 30: Line 28:


| label1      = Native name
| label1      = Native name
| data1        = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div> }}
| data1        = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}}


| label2      = Birth name
| label2      = Birth name
Line 102: Line 100:


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


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

Latest revision as of 22:46, 3 September 2024