Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

Template:Conflict Infobox: Difference between revisions

From Wars Wiki
Jump to navigationJump to search
(Updated infobox to include multicolumns)
(Added params for third side)
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>

Revision as of 17:48, 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

Conflict Name
Details
Date Conflict date
Location Conflict location
Result Conflict outcome
Belligerents
Side 1 Side 2| style="width:33%;" | Side 3
Commanders
Commanders and leaders of side 1 Commanders and leaders of side 2| style="width:33%;" | Commanders and leaders of side 3

Code

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=
}}