Template:Armor: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#switch:{{{1|}}}|" to "{{#switch:{{{1|}}} |")
No edit summary
Line 1: Line 1:
{{#switch:{{{1|}}}
|Human=
{{Navbox
{{Navbox
|name=Armor
|name=Armor
Line 7: Line 5:
|titlestyle= background:#555; text-align:center; color:#FFF;
|titlestyle= background:#555; text-align:center; color:#FFF;


|list1= {{Template:Armor/UNSC|yes}}
|list1= {{#if:{{{1|}}}|{{Armor/{{{1}}}|yes}}|{{Armor/Human}}{{Armor/Covenant}}{{Armor/Forerunner}}}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Armor|<span style="color:#F1F1F1; text-decoration:underline;">our armor category</span>]].</div>
|list2= {{#if:{{{1|}}}|<div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Armor|<span style="color:#F1F1F1; text-decoration:underline;">our armor category</span>]].</div>}}
}}
}}<includeonly>{{#if:{{{category|}}}||[[Category:Armor]]}}</includeonly><noinclude>
|Covenant=
{{Navbox
|name=Armor
|title=List of armor by faction
|style= width:100%; background:#555; border-radius:.5em;
|titlestyle= background:#555; text-align:center; color:#FFF;
 
|list1= {{Template:Armor/Covenant|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Armor|<span style="color:#F1F1F1; text-decoration:underline;">our armor category</span>]].</div>
}}
|Forerunner=
{{Navbox
|name=Armor
|title=List of armor by faction
|style= width:100%; background:#555; border-radius:.5em;
|titlestyle= background:#555; text-align:center; color:#FFF;
 
|list1= {{Template:Armor/Forerunner|yes}}
|list2= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Armor|<span style="color:#F1F1F1; text-decoration:underline;">our armor category</span>]].</div>
}}
|#default=
{{Navbox
|name=Armor
|title=List of armor
|style= width:100%; background:#555; border-radius:.5em;
|titlestyle= background:#555; text-align:center; color:#FFF;
 
|list1={{Armor/UNSC}}
|list2={{Armor/Covenant}}
|list3={{Armor/Forerunner}}
|list4= <div style="text-align:center; font-style:italic; font-size:smaller; color:#FFF;">For a complete list, check out [[:Category:Armor|<span style="color:#F1F1F1; text-decoration:underline;">our armor category</span>]].</div>
}}<includeonly>{{#if:{{{category|}}}||[[Category:Armor]]}}</includeonly>}}<noinclude>
 
== About ==
== About ==
This template puts an [[:Category:Armor|armor category]] wherever it is placed. This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.
This template puts an [[:Category:Armor|armor category]] wherever it is placed. This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.


*<code>Human</code> - displays [[/UNSC]]
*<code>Human</code> - displays [[/Human]]
*<code>Covenant</code> - displays [[/Covenant]]
*<code>Covenant</code> - displays [[/Covenant]]
*<code>Forerunner</code> - displays [[/Forerunner]]
*<code>Forerunner</code> - displays [[/Forerunner]]

Revision as of 14:31, March 15, 2022

About

This template puts an armor category wherever it is placed. This template has been adjusted to display certain child templates at a time. Placing one of the following will instruct the template to only display that child template. By default, it will display all of them.

  • Human - displays /Human
  • Covenant - displays /Covenant
  • Forerunner - displays /Forerunner
  • |category=no will remove the armor category.

Related links