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

From NPOWiki
Jump to navigation Jump to search
m (Applying template fix)
(Updating sandbox template)
Line 1: Line 1:
<includeonly>{| class="infobox {{#if:{{{game|}}}|{{{game}}}|othergame}}"
<includeonly>{| class="infobox {{#if:{{{game|}}}|{{{game}}}|othergame}}"
! colspan="2" class="infobox-header" | {{#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:{{{combatants|}}}|{{#if:{{{side1|}}}{{{side2|}}}|{{error|mixed infobox usage (combatants)}}}}
{{!}} colspan="2" class="infobox-images" {{!}}
{{!}} colspan="2" class="infobox-center-text" {{!}}
{{{combatants}}}
{{{combatants}}}
|
|
Line 13: Line 13:
|-
|-
{{#if:{{{leadership1|}}}{{{leadership2|}}}|
{{#if:{{{leadership1|}}}{{{leadership2|}}}|
{{!}} colspan="2" class="infobox-images" {{!}}
{{!}} colspan="2" class="infobox-center-text infobox-blue-bg" {{!}}
Leadership
Commanders
}}
}}
|-
|-
Line 48: Line 48:
! Part of
! Part of
{{!}} {{{partof}}}
{{!}} {{{partof}}}
{{!}}-
}}
{{#if:{{{precededby|}}}|
! Preceded By
{{!}} {{{precededby}}}
{{!}}-
}}
{{#if:{{{succeededby|}}}|
! Succeeded By
{{!}} {{{succeededby}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{ribbon|}}}|
{{#if:{{{ribbon|}}}|
! Ribbon
{{!}} [[File:{{{ribbon}}}|{{PAGENAME}} War Ribbon]]
{{!}} [[File:{{{ribbon}}}|{{PAGENAME}} War Ribbon]]
{{!}}-
{{!}}-

Revision as of 08:54, 24 February 2021

Documentation [edit]

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