Template:Military infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} {{!}}- {{#if:{{{image|}}}|" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |- {{#if:{{{image|}}}|") |
m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}") |
||
Line 3: | Line 3: | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}; border- | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#{{#switch:{{{variant|}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|#default=777}}}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |- |
Revision as of 13:55, October 6, 2022
Military infobox | |
---|---|
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Military infobox |name= |image= |formed= |affiliation= |branch= |type= |role= |size= |nicknames= |battles= |commanders= }}