Template:Battle infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "| " to "| ") |
m (Text replacement - ";"" to """) |
||
Line 22: | Line 22: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#BCD4E6}}}; text-align:center | ! style="background:{{{imageBG|#BCD4E6}}}; text-align:center" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 50: | Line 50: | ||
{{!}}-}} | {{!}}-}} | ||
| colspan="2" | | | colspan="2" | | ||
{| cellspacing="0" style="color:{{{color|inherit}}}; padding:0; width:100%; margin:0 | {| cellspacing="0" style="color:{{{color|inherit}}}; padding:0; width:100%; margin:0" | ||
|- | |- | ||
{{#ifexpr:{{#if:{{{side1|}}}|1|0}} or {{#if:{{{side2|}}}|1|0}} or {{#if:{{{side3|}}}|1|0}} or {{#if:{{{side4|}}}|1|0}}| | {{#ifexpr:{{#if:{{{side1|}}}|1|0}} or {{#if:{{{side2|}}}|1|0}} or {{#if:{{{side3|}}}|1|0}} or {{#if:{{{side4|}}}|1|0}}| |
Revision as of 00:49, 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= }}