Template:Battle infobox: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGETITLE}}}}") |
||
Line 21: | Line 21: | ||
}} | }} | ||
|- | |- | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|#7995CA}}}; color:#fff; line-height:22px" | {{#if:{{{name|}}}|{{{name}}}|{{ | ! class="infoboxheading" colspan="2" style="background:{{{nameBG|#7995CA}}}; color:#fff; line-height:22px" | {{#if:{{{name|}}}|{{{name}}}|{{PAGETITLE}}}} | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
Line 138: | Line 138: | ||
|- | |- | ||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | | ||
|}<templatestyles src="Battle infobox.css"/><includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{ | |}<templatestyles src="Battle infobox.css"/><includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGETITLE}}}}}}} - {{{pagelabel|Conflict {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{clear}} | ||
==Usage instructions== | ==Usage instructions== | ||
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: |
Revision as of 10:21, March 22, 2024
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= }}