Template:BattleTemplate: Difference between revisions

mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 44: Line 44:
| style="vertical-align:top;margin:0;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|display: none;}}" | {{{beligerent3|}}}
| style="vertical-align:top;margin:0;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|display: none;}}" | {{{beligerent3|}}}
|}
|}
|-
|- style="{{#if:{{{leaders1|}}}{{{leaders2|}}}{{{leaders3|}}}| |display: none;}}"
! class="summary" colspan="2" style="text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Commanders and leaders'''
! class="summary" colspan="2" style="text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Commanders and leaders'''
|-
|- style="{{#if:{{{leaders1|}}}{{{leaders2|}}}{{{leaders3|}}}| |display: none;}}"
|
|
{| cellspacing="1" cellpadding="1" style="text-align: left;"
{| cellspacing="1" cellpadding="1" style="text-align: left;"
Line 55: Line 55:
| style="vertical-align:top;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|display: none;}}" | {{{leaders3|}}}
| style="vertical-align:top;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|display: none;}}" | {{{leaders3|}}}
|}
|}
|-
|- style="{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}}| |display: none;}}"
! class="summary" colspan="2" style="text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Strength'''
! class="summary" colspan="2" style="text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Strength'''
|-
|- style="{{#if:{{{strength1|}}}{{{strength2|}}}{{{strength3|}}}| |display: none;}}"
|
|
{| cellspacing="1" cellpadding="1" style="text-align: left;"
{| cellspacing="1" cellpadding="1" style="text-align: left;"
Line 66: Line 66:
| style="vertical-align:top;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|display: none;}}" | {{{strength3|}}}
| style="vertical-align:top;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|display: none;}}" | {{{strength3|}}}
|}
|}
|-
|- style="{{#if:{{{losses1|}}}{{{losses2|}}}{{{losses3|}}}| |display: none;}}"
! class="summary" colspan="2" style="text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Casualties and losses'''
! class="summary" colspan="2" style="text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Casualties and losses'''
|-
|- style="{{#if:{{{losses1|}}}{{{losses2|}}}{{{losses3|}}}| |display: none;}}"
|
|
{| cellspacing="1" cellpadding="1" style="text-align: left;"
{| cellspacing="1" cellpadding="1" style="text-align: left;"
| style="vertical-align:top;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|width: calc(100%/2);}}" | {{{losses1|}}}
| style="vertical-align:top;{{#if:{{{beligerent3|}}}||{{#if:{{{losses3|}}}|display: none;|}}}}{{#if:{{{beligerent3|}}}|width: calc(100%/3);|width: calc(100%/2);}}" | {{{losses1|}}}
| style="height: 100%; width: 1px; border-right: 1px dotted #AAAAAA;" |
| style="height: 100%; width: 1px; border-right: 1px dotted #AAAAAA;" |
| style="vertical-align:top;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|width: calc(100%/2);}}" | {{{losses2|}}}
| style="vertical-align:top;{{#if:{{{beligerent3|}}}||{{#if:{{{losses3|}}}|display: none;|}}}}{{#if:{{{beligerent3|}}}|width: calc(100%/3);|width: calc(100%/2);}}" | {{{losses2|}}}
| style="height: 100%; width: 1px; border-right: 1px dotted #AAAAAA; {{#if:{{{beligerent3|}}}| |display: none;}}" |
| style="height: 100%; width: 1px; border-right: 1px dotted #AAAAAA; {{#if:{{{beligerent3|}}}| |display: none;}}" |
| style="vertical-align:top;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|display: none;}}" | {{{losses3|}}}
| style="vertical-align:top;{{#if:{{{beligerent3|}}}|width: calc(100%/3);|{{#if:{{{losses3|}}}|width: 100%;|display: none;}}}}" | {{{losses3|}}}
|}
|}
|-
|-
|}</div>
|}</div>
|}
|}<noinclude>
<noinclude>
fix please add TemplateData extension
fix please add TemplateData extension
<pre>
<pre>