Template:Battle infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="float:right; clear:right; margin:0 0 10px 10px; padding:2px; background:{{{BG|#7995CA}}}; border-radius: 0 0 .7em .7em; color:{{{color1|#000}}}; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}};"
{| class="infobox" cellspacing="0" style="float:right; clear:right; margin:5px 0 10px 15px; padding:2px; background:{{{BG|#7995CA}}}; border-radius: 0 0 .7em .7em; color:{{{color1|#000}}}; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}};"
{{#if:{{{prev|}}}|
{{#if:{{{prev|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}}; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; font-size:90%; border-top:1px solid {{{lineBG|#999999}}}; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}

Revision as of 18:25, March 15, 2019

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=
}}