Template:Armor/Permutation: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "|style= background:#555;↵|titlestyle= color:#fff;↵" to "")
 
(38 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{clear}}
{{#switch:{{{1|}}}|H3={{Template:Armor/Permutation/H3|yes}}
|HR={{Template:Armor/Permutation/HR|yes}}
|H4={{Template:Armor/Permutation/H4|yes}}
|H2A={{Template:Armor/Permutation/H2A|yes}}
|H5G={{Template:Armor/Permutation/H5G|yes}}
|#default=
{{Navbox
{{Navbox
|name=Armor/Permutation
|name=Armor/Permutation
|state=plain
|title=List of armor permutations by game title
|title=List of armor permutations by game titles
|liststyle= background:none;
|style= width:100%; background:#555; border-radius:.5em; margin:0 auto;
|titlestyle= background:#555; text-align:center; color:#FFF;


|list1={{Armor/Permutation/H3}}
|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={{Armor/Permutation/HR}}
 
|list3={{Armor/Permutation/H4}}
|below= {{#if:{{{1|}}}|For a complete list, check out [[:Category:Armor|our armor category]].}}
|list4={{Armor/Permutation/H2A}}
}}<noinclude>
|list5={{Armor/Permutation/H5G}}
}}<includeonly>{{#if: {{{category|}}}||[[Category:Armor|{{PAGENAME}}]]}}</includeonly>}}
<noinclude>
== About ==
== About ==
This template puts an [[:Category:Armor|Armor directory]] 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 those child templates. By default, it will display all of them.
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.


*<code>H3</code> - displays [[/H3]]
*<code>H3</code> - displays [[/H3]]
Line 28: Line 16:
*<code>H2A</code> - displays [[/H2A]]
*<code>H2A</code> - displays [[/H2A]]
*<code>H5G</code> - displays [[/H5G]]
*<code>H5G</code> - displays [[/H5G]]
*Adding anything in <code>|category=</code> will remove the Armor directory.
*<code>HI</code> - displays [[/HI]]
 
== Usage ==
Show all games:
<pre>{{Armor/Permutation}}</pre>
Show only Halo 3:
<pre>{{Armor/Permutation|H3}}</pre>
Show Halo 3, Halo 4, and Halo Infinite:
<pre>{{Armor/Permutation|H3|H4|HI}}</pre>


[[Category:Special navigation boxes]]
[[Category:Special navigation templates]]</noinclude>
</noinclude>

Latest revision as of 14:41, August 27, 2023

About

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 /H3
  • HR - displays /HR
  • H4 - displays /H4
  • H2A - displays /H2A
  • H5G - displays /H5G
  • HI - 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}}