Template:Military infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "margin:0 0 1em 1em; padding:2px; " to "") |
m (Text replacement - "border-radius:0 0 .5em .5em; " to "") |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:300px | {| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:300px; color:{{{color|#000}}}; background:{{{BG|#{{#switch:{{{variant|}}}|Cov=9966CC|Human=3779AE|Forerunner=B3B3B3|#default=555}}}}};" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |
Revision as of 10:51, June 8, 2021
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= }}