Template:Battle infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "style="[^"\n]+" \| " to "style="text-align:center; line-height:10px" | ") |
m (Text replacement - "#999999" to "#999") |
||
Line 26: | Line 26: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{conflict|}}}| | {{#if:{{{conflict|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
'''{{{conflict-title|Conflict}}}''': | '''{{{conflict-title|Conflict}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{conflict|}}} | {{{conflict|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{date|}}}| | {{#if:{{{date|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
'''{{{date-title|Date}}}''': | '''{{{date-title|Date}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{date|}}} | {{{date|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{place|}}}| | {{#if:{{{place|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
'''{{{place-title|Fronts}}}''': | '''{{{place-title|Fronts}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{place|}}} | {{{place|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{result|}}}| | {{#if:{{{result|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
'''{{{result-title|Outcome}}}''': | '''{{{result-title|Outcome}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{result|}}} | {{{result|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 57: | Line 57: | ||
{{!}} class="infoboxcell" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | {{!}} class="infoboxcell" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{side1|}}} | {{{side1|}}} | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{side2|}}} | {{{side2|}}} | ||
{{#if:{{{side3|}}}| | {{#if:{{{side3|}}}| | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:{{#if:{{{side4|}}}|25%|}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{side3|}}} | {{{side3|}}} | ||
{{#if:{{{side4|}}}| | {{#if:{{{side4|}}}| | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:25%; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{side4|}}} | {{{side4|}}} | ||
|}}|}} | |}}|}} | ||
Line 72: | Line 72: | ||
{{!}} class="infoboxcell" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | {{!}} class="infoboxcell" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{commanders1|}}} | {{{commanders1|}}} | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{commanders2|}}} | {{{commanders2|}}} | ||
{{#if:{{{side3|}}}| | {{#if:{{{side3|}}}| | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:{{#if:{{{side4|}}}|25%|}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{commanders3|}}} | {{{commanders3|}}} | ||
{{#if:{{{side4|}}}| | {{#if:{{{side4|}}}| | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:25%; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{commanders4|}}} | {{{commanders4|}}} | ||
|}}|}} | |}}|}} | ||
Line 87: | Line 87: | ||
{{!}} class="infoboxcell" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | {{!}} class="infoboxcell" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{forces1|}}} | {{{forces1|}}} | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{forces2|}}} | {{{forces2|}}} | ||
{{#if:{{{side3|}}}| | {{#if:{{{side3|}}}| | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:{{#if:{{{side4|}}}|25%|}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{forces3|}}} | {{{forces3|}}} | ||
{{#if:{{{side4|}}}| | {{#if:{{{side4|}}}| | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:25%; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{forces4|}}} | {{{forces4|}}} | ||
|}}|}} | |}}|}} | ||
Line 102: | Line 102: | ||
{{!}} class="infoboxcell" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | {{!}} class="infoboxcell" style="width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{casual1|}}} | {{{casual1|}}} | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{casual2|}}} | {{{casual2|}}} | ||
{{#if:{{{side3|}}}| | {{#if:{{{side3|}}}| | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:{{#if:{{{side4|}}}|25%|}}; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{casual3|}}} | {{{casual3|}}} | ||
{{#if:{{{side4|}}}| | {{#if:{{{side4|}}}| | ||
{{!}} class="infoboxcell" style="border-left:1px solid # | {{!}} class="infoboxcell" style="border-left:1px solid #999; width:25%; background:{{{fieldBG|#F0F8FF}}}" {{!}} | ||
{{{casual4|}}} | {{{casual4|}}} | ||
|}}|}} | |}}|}} |
Revision as of 10:07, 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= }}