Welcome to Wars Wiki! |
---|
Welcome to Wars Wiki. Please log in or create an account to make changes. |
Template:Conflict Infobox: Difference between revisions
From Wars Wiki
(Updated infobox to include multicolumns) |
m (side3 fix) |
||
(One intermediate revision by the same user not shown) | |||
Line 23: | Line 23: | ||
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{{result}}}|}} | {{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{{result}}}|}} | ||
|- | |- | ||
{{#if:{{{side1|}}}{{{side2|}}}| | {{#if:{{{side1|}}}{{{side2|}}}{{{side3|}}}| | ||
! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} {{!}} Belligerents | ! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} {{!}} Belligerents | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="wwi-data-value" style="padding:0;" {{!}} | {{!}} colspan="2" class="wwi-data-value" style="padding:0;" {{!}} | ||
{{{!}} {{Infobox style|infobox_data_multicolumn|theme={{{theme|allies}}}|}} | {{{!}} {{Infobox style|infobox_data_multicolumn|theme={{{theme|allies}}}|}} | ||
{{!}} style="width:50%;" {{!}} {{{side1|}}} | {{!}} style="width:{{#if:{{{side3|}}}|33%|50%}};" {{!}} {{{side1|}}} | ||
{{!}} style="width:50%;" {{!}} {{{side2|}}} | {{!}} style="width:{{#if:{{{side3|}}}|33%|50%}};" {{!}} {{{side2|}}} | ||
{{#if:{{{side3|}}}|{{!}} style="width:33%;" {{!}} {{{side3|}}}|}} | |||
{{!}}} | {{!}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{commanders1|}}}{{{commanders2|}}}| | {{#if:{{{commanders1|}}}{{{commanders2|}}}{{{commanders3|}}}| | ||
! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} {{!}} Commanders | ! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} {{!}} Commanders | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="wwi-data-value" style="padding:0;" {{!}} | {{!}} colspan="2" class="wwi-data-value" style="padding:0;" {{!}} | ||
{{{!}} {{Infobox style|infobox_data_multicolumn|theme={{{theme|allies}}}|}} | {{{!}} {{Infobox style|infobox_data_multicolumn|theme={{{theme|allies}}}|}} | ||
{{!}} style="width:50%;" {{!}} {{{commanders1|}}} | {{!}} style="width:{{#if:{{{side3|}}}|33%|50%}};" {{!}} {{{commanders1|}}} | ||
{{!}} style="width:50%;" {{!}} {{{commanders2|}}} | {{!}} style="width:{{#if:{{{side3|}}}|33%|50%}};" {{!}} {{{commanders2|}}} | ||
{{#if:{{{side3|}}}|{{!}} style="width:33%;" {{!}} {{{commanders3|}}}|}} | |||
{{!}}} | {{!}}} | ||
}} | }} | ||
|}</includeonly><noinclude>{{Doc}}</noinclude> | |}</includeonly><noinclude>{{Doc}}</noinclude> |
Latest revision as of 18:10, 24 December 2023
This page has been transcluded from Template:Conflict Infobox/doc.
This template uses TemplateStyles:
This infobox template provides information about a military conflict.
Usage[edit source]
Conflict Name | ||||
---|---|---|---|---|
Details | ||||
Date | Conflict date | |||
Location | Conflict location | |||
Result | Conflict outcome | |||
Belligerents | ||||
| ||||
Commanders | ||||
|
Code[edit source]
To use this infobox, copy and paste the code listed below into the article and fill in the fields.
{{Conflict Infobox |theme= |name= |image= |date= |place= |result= |side1= |side2= |side3= |commanders1= |commanders2= |commanders3= }}