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
Added params for third side
(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>
patroller
1,981

edits