User:Imperial Emperor/Template:War infobox: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
m (Adding ribbon awarded)
(Updating page)
 
(28 intermediate revisions by the same user not shown)
Line 2: Line 2:
! colspan="2" class="infobox-header infobox-blue-bg" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! colspan="2" class="infobox-header infobox-blue-bg" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if:{{{combatants|}}}|{{#if:{{{side1|}}}{{{side2|}}}|{{error|mixed infobox usage (combatants)}}}}
{{#if:{{{partof|}}}|
{{!}} colspan="2" class="infobox-center-text" {{!}}
{{!}}-
{{{combatants}}}
! colspan="2" class="infobox-blue-bg" {{!}} Part of:
|
{{!}}- class="infobox-blue-bg center-row"
{{!}} class="infobox-images-left" style="width:50%; vertical-align:top;" {{!}}
{{!}} colspan="2" {{!}} {{{partof}}}
{{{side1}}}
{{!}}-
{{!}} class="infobox-images-left" style="width:50%; vertical-align:top;" {{!}}
{{{side2}}}
}}
|-
{{#if:{{{leadership1|}}}{{{leadership2|}}}|
{{!}} colspan="2" class="infobox-center-text infobox-blue-bg" {{!}}
Commanders
}}
|-
{{#if:{{{leadership1|}}}{{{leadership2|}}}|
{{!}} class="infobox-images-left" style="width:50%; vertical-align:top;" {{!}}
{{{leadership1}}}
{{!}} class="infobox-images-left" style="width:50%; vertical-align:top;" {{!}}
{{{leadership2}}}
}}
}}
|-
! Started
! Started
| {{{start}}}
| {{{start}}}
Line 33: Line 18:
}}
}}
! Cause
! Cause
| {{{cause}}}
|
{{{cause}}}
|-
|-
{{#if:{{{result|}}}|
{{#if:{{{result|}}}|
! Result
! Result
{{!}} {{{result}}}
{{!}}
{{!}}-
{{{result}}}
}}
{{#if:{{{aka|}}}|
! Also known as
{{!}} {{{aka}}}
{{!}}-
}}
{{#if:{{{partof|}}}|
! Part of
{{!}} {{{partof}}}
{{!}}-
{{!}}-
}}
}}
Line 60: Line 37:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{ribbon|}}}|
{{#if:{{{aka|}}}|
{{!}} colspan="2" class="infobox-center-text infobox-blue-bg" {{!}}
! Also Known As
Ribbon Awarded
{{!}} {{{aka}}}
}}
}}
|-
|-
! colspan="2" class="infobox-blue-bg" | Combatants
{{#if:{{{combatants|}}}|{{#if:{{{side1|}}}{{{side2|}}}|{{error|mixed infobox usage (combatants)}}}}
{{!}}- class="center-row"
{{!}} colspan="2" {{!}}
{{{combatants}}}
|
{{!}}-
{{!}} class="infobox-images-left" style="width:50%; vertical-align:top;" {{!}}
{{{side1}}}
{{!}} class="infobox-images-left" style="width:50%; vertical-align:top;" {{!}}
{{{side2}}}
}}
{{#if:{{{leadership1|}}}{{{leadership2|}}}|
{{!}}-
! colspan="2" class="infobox-blue-bg" {{!}} Commanders
{{!}}-
{{!}} class="infobox-images-left" style="width:50%; vertical-align:top;" {{!}}
{{{leadership1|}}}
{{!}} class="infobox-images-left" style="width:50%; vertical-align:top;" {{!}}
{{{leadership2|}}}
}}
{{#if:{{{ribbon|}}}|
{{#if:{{{ribbon|}}}|
{{!}} [[File:{{{ribbon}}}|{{PAGENAME}} War Ribbon]]
{{!}}-
{{!}}-
! colspan="2" class="infobox-blue-bg" {{!}} Ribbon Awarded
{{!}}- class="infobox-images"
{{!}} colspan="2" {{!}} [[File:{{{ribbon}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} War Ribbon]]
}}
{{#if:{{{notes|}}}|
{{!}}-
! colspan="2" class="infobox-blue-bg" {{!}} Notes
{{!}}-
{{!}} colspan="2" {{!}} {{{notes}}}
}}
}}
|}{{if ns|main|
|}{{if ns|main|
[[Category:{{#if:{{{game|}}}|Wars in {{{game}}}|Wars}}]]
[[Category:{{#if:{{{game|}}}|Wars in {{{game}}}|Wars}}]]
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 10:55, 27 December 2021

Documentation [edit]

The above documentation is transcluded from User:Imperial Emperor/Template:War infobox/doc.