Template:Battle infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} {{!}}- {{#if:{{{" to "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} |- {{#if:{{{")
m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}")
Line 29: Line 29:
{{{conflict-title|Conflict}}}:
{{{conflict-title|Conflict}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{conflict|}}}
{{{conflict}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{date|}}}|
{{#if:{{{date|}}}|
Line 35: Line 35:
{{{date-title|Date}}}:
{{{date-title|Date}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{date|}}}
{{{date}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{place|}}}|
{{#if:{{{place|}}}|
Line 41: Line 41:
{{{place-title|Fronts}}}:
{{{place-title|Fronts}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{place|}}}
{{{place}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{result|}}}|
{{#if:{{{result|}}}|
Line 47: Line 47:
{{{result-title|Outcome}}}:
{{{result-title|Outcome}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{result|}}}
{{{result}}}
{{!}}-}}
{{!}}-}}
| colspan="2" |
| colspan="2" |

Revision as of 08:26, October 18, 2022

Battle infobox
 

Usage instructions

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

{{Battle infobox
|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=
}}