Template:Battle infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
Line 113: Line 113:
{{!}}-|}}
{{!}}-|}}
{{#if:{{{civilian|}}}|
{{#if:{{{civilian|}}}|
{{!}} class="infoboxcell" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; padding:0 4px; text-align: center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''{{{civilian-title|Civilian casualties}}}'''
{{!}} class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; padding:0 4px; text-align: center; background: {{{sectionBG|#B4C5E3}}};" {{!}} '''{{{civilian-title|Civilian casualties}}}'''
{{!}}-
{{!}}-
{{!}} class="infoboxcell" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; padding:0 4px; text-align: center; vertical-align:top; background:{{{fieldBG|#F0F8FF}}};" {{!}}
{{!}} class="infoboxcell" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="font-size:90%; padding:0 4px; text-align: center; vertical-align:top; background:{{{fieldBG|#F0F8FF}}};" {{!}}

Revision as of 14:19, October 10, 2017

Battle infobox
 

Usage instructions

Compatible up to four sides. Paste the following code into the top of an article, filling all known fields:

{{Battle
|prev=
|conc=
|next=
|image=
|conflict=
|date=
|place=
|result=
|side1=
|side2=
|side3=
|side4=
|commanders1=
|commanders2=
|commanders3=
|commanders4=
|forces1=
|forces2=
|forces3=
|forces4=
|casual1=
|casual2=
|casual3=
|casual4=
|civilian=
}}