Template:Armor/Permutation: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "directory" to "category") |
No edit summary |
||
Line 5: | Line 5: | ||
|titlestyle= background:#555; text-align:center; color:#FFF; | |titlestyle= background:#555; text-align:center; color:#FFF; | ||
|list1={{#if:{{{1|}}}|{{#fornumargs:key|value|{{Armor/Permutation/{{#var:value}}}}}}|{{Armor/Permutation/H3}}{{Armor/Permutation/HR}}{{Armor/Permutation/H4}}{{Armor/Permutation/H2A}}{{Armor/Permutation/H5G}}{{Armor/Permutation/HI}}}} | |list1={{#if:{{{1|}}}|{{#fornumargs:key|value|{{Armor/Permutation/{{#var:value}}|{{#if:{{{2|}}}||yes}}}}}}|{{Armor/Permutation/H3}}{{Armor/Permutation/HR}}{{Armor/Permutation/H4}}{{Armor/Permutation/H2A}}{{Armor/Permutation/H5G}}{{Armor/Permutation/HI}}}} | ||
|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>}} | |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>}} | ||
}}<noinclude> | }}<noinclude> |
Revision as of 14:47, 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 any of the following as parameters will instruct the template to only display those child templates. By default, it will display all of them.
H3
- displays /H3HR
- displays /HRH4
- displays /H4H2A
- displays /H2AH5G
- displays /H5GHI
- displays /HI
Usage
Show all games:
{{Armor/Permutation}}
Show only Halo 3:
{{Armor/Permutation|H3}}
Show Halo 3, Halo 4, and Halo Infinite:
{{Armor/Permutation|H3|H4|HI}}