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

From NPOWiki
Jump to navigation Jump to search
m (Applying template fix)
(Updating page)
 
(35 intermediate revisions by the same user not shown)
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:{{{partof|}}}|
{{!}} colspan="2" class="infobox-images" {{!}}
{{!}}-
{{{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-images" {{!}}
Leadership
{{!}}
{{!}} 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 31: Line 18:
}}
}}
! Cause
! Cause
| {{{cause}}}
|
{{{cause}}}
|-
|-
{{#if:{{{result|}}}|
{{#if:{{{result|}}}|
! Result
! Result
{{!}} {{{result}}}
{{!}}
{{{result}}}
{{!}}-
}}
{{#if:{{{precededby|}}}|
! Preceded By
{{!}} {{{precededby}}}
{{!}}-
}}
{{#if:{{{succeededby|}}}|
! Succeeded By
{{!}} {{{succeededby}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{aka|}}}|
{{#if:{{{aka|}}}|
! Also known as
! Also Known As
{{!}} {{{aka}}}
{{!}} {{{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:{{{partof|}}}|
{{#if:{{{leadership1|}}}{{{leadership2|}}}|
! Part of
{{!}}-
{{!}} {{{partof}}}
! 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|}}}|
! 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.