Template:Military infobox advanced: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:260px; color:{{{color|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Cov=darkslateblue|Human=cornflowerblue|#default=cornflowerblue}}}}}" cellspacing="0"
{{Infobox|start|bg={{#switch:{{{variant}}}|Cov=darkslateblue|cornflowerblue}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{#switch:{{{variant}}}|Cov=mediumpurple|lightblue}}}}
|-
 
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{#switch:{{{variant|}}}|Cov=mediumpurple|Human=lightblue|#default=lightblue}}}}
{{Infobox|entry|title={{{formed-title|Active}}}|content={{{formed|}}}}}
{{Infobox|entry|title={{{formed-title|Active}}}|content={{{formed|}}}}}
{{Infobox|entry|title={{{country-title|Country}}}|content={{{country|}}}}}
{{Infobox|entry|title={{{country-title|Country}}}|content={{{country|}}}}}
Line 22: Line 21:
{{Infobox|entry|title={{{commander5-title|Commander}}}|content={{{commander5|}}}}}
{{Infobox|entry|title={{{commander5-title|Commander}}}|content={{{commander5|}}}}}
{{Infobox|entry|title={{{commander6-title|Commander}}}|content={{{commander6|}}}}}
{{Infobox|entry|title={{{commander6-title|Commander}}}|content={{{commander6|}}}}}
{{Infobox|end}}<noinclude>
{{clear}}


{{Infobox|end}}<noinclude>{{clear}}
===Usage instructions===
===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:

Revision as of 11:12, August 29, 2023

 

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=
}}