Template:Battle infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "\| class="infoboxfooter" colspan="2" \| ↵\|}" to "{{Infobox|end}}") Tag: Reverted |
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}") Tag: Reverted |
||
Line 1: | Line 1: | ||
{| class="infobox battle" style="background:{{{BG|#7995CA}}}; color:{{{color1|#000}}}; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}}" cellspacing="0" | {| class="infobox battle" style="background:{{{BG|#7995CA}}}; color:{{{color1|#000}}}; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}}" cellspacing="0" | ||
{{ | {{Infobox|entry|title={{{prev-title|Previous}}}|content={{{prev|}}}}} | ||
{{Infobox|entry|title={{{conc-title|Concurrent}}}|content={{{conc|}}}}} | |||
{{{prev-title|Previous}}} | {{Infobox|entry|title={{{next-title|Next}}}|content={{{next|}}}}} | ||
{{ | |||
| | |||
{{{conc-title|Concurrent}}} | |||
}} | |||
{{{next-title|Next}}} | |||
}} | |||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|#7995CA}}}; color:#fff; line-height:22px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! class="infoboxheading" colspan="2" style="background:{{{nameBG|#7995CA}}}; color:#fff; line-height:22px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
|- | |- | ||
Line 27: | Line 9: | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{conflict-title|Conflict}}}|content={{{conflict|}}}}} | ||
{{Infobox|entry|title={{{date-title|Date}}}|content={{{date|}}}}} | |||
{{{conflict-title|Conflict}}} | {{Infobox|entry|title={{{place-title|Location}}}|content={{{place|}}}}} | ||
{{Infobox|entry|title={{{result-title|Outcome}}}|content={{{result|}}}}} | |||
{{ | |||
{{{date-title|Date}}} | |||
{{ | |||
{{{place-title|Location}}} | |||
{{ | |||
{{{result-title|Outcome}}} | |||
| colspan="2" style="padding:0 !important" | | | colspan="2" style="padding:0 !important" | | ||
{| class="details-table {{#if:{{{nocollapse|}}}||mw-collapsible mw-collapsed}}" style="color:{{{color|inherit}}}; width:100%; padding:0; margin:0" cellspacing="0" | {| class="details-table {{#if:{{{nocollapse|}}}||mw-collapsible mw-collapsed}}" style="color:{{{color|inherit}}}; width:100%; padding:0; margin:0" cellspacing="0" |
Revision as of 17:11, August 28, 2023
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= |name= |image= |conflict= |date= |place= |result= |side1= |side2= |side3= |side4= |commanders1= |commanders2= |commanders3= |commanders4= |forces1= |forces2= |forces3= |forces4= |casual1= |casual2= |casual3= |casual4= |civilian1= |civilian2= |civilian3= |civilian4= }}