Template:Battle infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{!}} {{{image|}}}" to "{{!}} {{{image}}}")
m (Text replacement - "|}}} {{!}}-|}}" to "}}} {{!}}-}}")
Line 4: Line 4:
{{{prev-title|Previous}}}:
{{{prev-title|Previous}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{prev|}}}
{{{prev}}}
{{!}}-|}}
{{!}}-}}
{{#if:{{{conc|}}}|
{{#if:{{{conc|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{conc-title|Concurrent}}}:
{{{conc-title|Concurrent}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{conc|}}}
{{{conc}}}
{{!}}-|}}
{{!}}-}}
{{#if:{{{next|}}}|
{{#if:{{{next|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{next-title|Next}}}:
{{{next-title|Next}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{next|}}}
{{{next}}}
{{!}}-|}}
{{!}}-}}
{{!}}-
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|#7995CA}}}; color:#fff; line-height:22px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|#7995CA}}}; color:#fff; line-height:22px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
Line 116: Line 116:
{{!}}-
{{!}}-
{{!}} class="infoboxcell" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="padding:0 4px; background:{{{fieldBG|#F0F8FF}}}" {{!}}
{{!}} class="infoboxcell" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="padding:0 4px; background:{{{fieldBG|#F0F8FF}}}" {{!}}
{{{civilian|}}}
{{{civilian}}}
{{!}}-|}}
{{!}}-}}
|}
|}
{{!}}-
{{!}}-

Revision as of 08:54, 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=
}}