Template:Battle infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "! class="infoboxmedia"" to "{{!}} class="infoboxmedia"")
m (Text replacement - "'''" to "")
Line 2: Line 2:
{{#if:{{{prev|}}}|
{{#if:{{{prev|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px !important" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px !important" {{!}}
'''{{{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|}}}
Line 8: Line 8:
{{#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|}}}
Line 14: Line 14:
{{#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|}}}
Line 27: Line 27:
{{#if:{{{conflict|}}}|
{{#if:{{{conflict|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{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|}}}
Line 33: Line 33:
{{#if:{{{date|}}}|
{{#if:{{{date|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{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|}}}
Line 39: Line 39:
{{#if:{{{place|}}}|
{{#if:{{{place|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{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|}}}
Line 45: Line 45:
{{#if:{{{result|}}}|
{{#if:{{{result|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{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|}}}

Revision as of 17:57, September 15, 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=
}}