Difference between revisions of "Template:Infobox War"

From Stellar Empire
Jump to navigation Jump to search
 
Line 7: Line 7:
<tr><th>Result</th><td>{{{result}}}</td></tr>
<tr><th>Result</th><td>{{{result}}}</td></tr>
{{#if:{{{terms|}}}|<tr><th>Terms of Peace</th><td>{{{terms}}}</td></tr>}}
{{#if:{{{terms|}}}|<tr><th>Terms of Peace</th><td>{{{terms}}}</td></tr>}}
{{#if:{{{details|}}}|
<tr><td colspan="2">
<tr><td colspan="2">
<table style="width: 100%">
<table style="width: 100%">
{{#if:{{{attacker|}}}|
<tr><td colspan="2" class="subheading">Belligerents</td></tr>
<tr><td colspan="2" class="subheading">Belligerents</td></tr>
<tr><td width="50%">{{{attacker}}}</td><td width="50%">{{{defender}}}</td></tr>
<tr><td width="50%">{{{attacker}}}</td><td width="50%">{{{defender}}}</td></tr>
}}
{{#if:{{{attacker-leaders|}}}|
<tr><td colspan="2" class="subheading">Commanders</td></tr>
<tr><td colspan="2" class="subheading">Commanders</td></tr>
<tr><td width="50%">{{{attacker-leaders}}}</td><td width="50%">{{{defender-leaders}}}</td></tr>
<tr><td width="50%">{{{attacker-leaders}}}</td><td width="50%">{{{defender-leaders}}}</td></tr>
}}
{{#if:{{{attacker-strength|}}}|
<tr><td colspan="2" class="subheading">Strength</td></tr>
<tr><td colspan="2" class="subheading">Strength</td></tr>
<tr><td width="50%">{{{attacker-strength}}}</td><td width="50%">{{{defender-strength}}}</td></tr>
<tr><td width="50%">{{{attacker-strength}}}</td><td width="50%">{{{defender-strength}}}</td></tr>
}}
{{#if:{{{attacker-losses|}}}|
<tr><td colspan="2" class="subheading">Casualties</td></tr>
<tr><td colspan="2" class="subheading">Casualties</td></tr>
<tr><td width="50%">{{{attacker-losses}}}</td><td width="50%">{{{defender-losses}}}</td></tr>
<tr><td width="50%">{{{attacker-losses}}}</td><td width="50%">{{{defender-losses}}}</td></tr>
<tr><td colspan="2" style="text-align:center;border-top:1px solid #aaa;">{{{civillian-losses}}}</td></tr>
<tr><td colspan="2" style="text-align:center;border-top:1px solid #aaa;">{{{civillian-losses}}}</td></tr>
}}
</table>
</table>
}}
 
</td></tr>
</td></tr>
</table>
</table>

Latest revision as of 16:39, 13 June 2023

Infobox War
Date{{{date}}}
Location{{{location}}}
Result{{{result}}}