Template:Military infobox advanced: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{\| class="infobox" style="[^\n"]+background:{{{BG\|([^\n]+)}}}[^\n"]+" cellspacing="0"" to "{{Infobox|start|bg=$1}}")
Tag: Reverted
No edit summary
Line 1: Line 1:
{{Infobox|start|bg={{#switch:{{{variant|}}
{| class="infobox" style="width:260px; color:{{{color|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=cornflowerblue|#default=cornflowerblue}}}}}" cellspacing="0"
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-

Revision as of 11:06, August 29, 2023

Military infobox advanced
 

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Military infobox advanced
|image=
|formed=
|formed-title=
|country=
|country-title=
|allegiance= 
|allegiance-title=
|part-of-1=
|part-of-1-title=
|part-of-2=
|part-of-2-title=
|branch=
|branch-title=
|headquarters=
|headquarters-title=
|type=
|type-title=
|role=
|role-title=
|size=
|size-title=
|nicknames=
|nicknames-title=
|motto=
|motto-title=
|engagements=
|engagements-title=
|commander1=
|commander1-title=
|commander2=
|commander2-title=
|commander3=
|commander3-title=
|commander4=
|commander4-title=
|commander5=
|commander5-title=
|commander6=
|commander6-title=
}}