Template:Battle infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 53: Line 53:
|-
|-
{{#ifexpr:{{#if:{{{side1|}}}|1|0}} or {{#if:{{{side2|}}}|1|0}} or {{#if:{{{side3|}}}|1|0}} or {{#if:{{{side4|}}}|1|0}}|
{{#ifexpr:{{#if:{{{side1|}}}|1|0}} or {{#if:{{{side2|}}}|1|0}} or {{#if:{{{side3|}}}|1|0}} or {{#if:{{{side4|}}}|1|0}}|
{{!}} colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; text-align:center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''Belligerents'''
{{!}} class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; text-align:center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''Belligerents'''
{{!}}-
{{!}}-
{{!}} class="infoboxcell" style="text-align:left; font-size:90%; padding:0 4px; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}};" {{!}}
{{!}} class="infoboxcell" style="text-align:left; font-size:90%; padding:0 4px; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}};" {{!}}
Line 68: Line 68:
{{!}}-|}}
{{!}}-|}}
{{#ifexpr:{{#if:{{{commanders1|}}}|1|0}} or {{#if:{{{commanders2|}}}|1|0}} or {{#if:{{{commanders3|}}}|1|0}} or {{#if:{{{commanders4|}}}|1|0}}|
{{#ifexpr:{{#if:{{{commanders1|}}}|1|0}} or {{#if:{{{commanders2|}}}|1|0}} or {{#if:{{{commanders3|}}}|1|0}} or {{#if:{{{commanders4|}}}|1|0}}|
{{!}} colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; text-align:center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''Commanders'''
{{!}} class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; text-align:center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''Commanders'''
{{!}}-
{{!}}-
{{!}} class="infoboxcell" style="text-align:left; font-size:90%; padding:0 4px; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}};" {{!}}
{{!}} class="infoboxcell" style="text-align:left; font-size:90%; padding:0 4px; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}};" {{!}}
Line 83: Line 83:
{{!}}-|}}
{{!}}-|}}
{{#ifexpr:{{#if:{{{forces1|}}}|1|0}} or {{#if:{{{forces2|}}}|1|0}} or {{#if:{{{forces3|}}}|1|0}} or {{#if:{{{forces4|}}}|1|0}}|
{{#ifexpr:{{#if:{{{forces1|}}}|1|0}} or {{#if:{{{forces2|}}}|1|0}} or {{#if:{{{forces3|}}}|1|0}} or {{#if:{{{forces4|}}}|1|0}}|
{{!}} class="infoboxcell" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; text-align:center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''Strength'''
{{!}} class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; text-align:center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''Strength'''
{{!}}-
{{!}}-
{{!}} class="infoboxcell" style="text-align:left; font-size:90%; padding:0 4px; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}};" {{!}}
{{!}} class="infoboxcell" style="text-align:left; font-size:90%; padding:0 4px; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}};" {{!}}
Line 98: Line 98:
{{!}}-|}}
{{!}}-|}}
{{#ifexpr:{{#if:{{{casual1|}}}|1|0}} or {{#if:{{{casual2|}}}|1|0}} or {{#if:{{{casual3|}}}|1|0}} or {{#if:{{{casual4|}}}|1|0}}|
{{#ifexpr:{{#if:{{{casual1|}}}|1|0}} or {{#if:{{{casual2|}}}|1|0}} or {{#if:{{{casual3|}}}|1|0}} or {{#if:{{{casual4|}}}|1|0}}|
{{!}} class="infoboxcell" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; text-align:center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''Casualties'''
{{!}} class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; text-align:center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''Casualties'''
{{!}}-
{{!}}-
{{!}} class="infoboxcell" style="text-align:left; font-size:90%; padding:0 4px; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}};" {{!}}
{{!}} class="infoboxcell" style="text-align:left; font-size:90%; padding:0 4px; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}};" {{!}}
2,697

edits