Template:Military infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "class="([^"\n]+)" style="([^"\n]+)" colspan="([^"\n]+)"" to "class="$1" colspan="$3" style="$2"") |
m (Text replacement - "! class="infoboxmedia"" to "{{!}} class="infoboxmedia"") |
||
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-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | {{!}} 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 17:52, September 15, 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= }}