Template:Battle infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "" {{!}} {{{image" to "" class="infoboximage" {{!}} {{{image") |
No edit summary |
||
Line 1: | Line 1: | ||
{| class="infobox | {| class="infobox" style="background:{{{BG|#7995CA}}}; color:{{{color1|#000}}}; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}}" cellspacing="0" | ||
{{#if:{{{prev|}}}| | {{#if:{{{prev|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px !important" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}; width:70px !important" {{!}} | ||
Line 19: | Line 19: | ||
{{!}}-|}} | {{!}}-|}} | ||
{{!}}- | {{!}}- | ||
! class="infoboxheading" style="background:{{{nameBG|#7995CA}}}; color:#fff; line-height:22px | ! class="infoboxheading" colspan="2" style="background:{{{nameBG|#7995CA}}}; color:#fff; line-height:22px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#BCD4E6}}} | ! class="infoboximage" colspan="2" style="background:{{{imageBG|#BCD4E6}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 126: | Line 126: | ||
Compatible up to four sides. Paste the following code into the top of an article, filling all known fields: | Compatible up to four sides. Paste the following code into the top of an article, filling all known fields: | ||
<pre>{{Battle infobox | <pre> | ||
{{Battle infobox | |||
|prev= | |prev= | ||
|conc= | |conc= | ||
Line 152: | Line 153: | ||
|casual4= | |casual4= | ||
|civilian= | |civilian= | ||
}}</pre> | }} | ||
</pre> | |||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 14:10, 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= }}