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 (rmoved str left usage)
Line 17: Line 17:


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



Revision as of 22:23, 3 September 2024

{{Infobox | child = {{{embed}}}

| bodyclass = vcard | bodystyle = width:25em;border-spacing:2px;

| subheaderstyle = font-weight:bold; | subheader = | decat = yes

| above = | abovestyle = font-size:125%;

| image = imagestyle = border-bottom: 1px solid #aaa;; line-height: 1.5em