TemplateDoc:Rank/H4

From Halopedia, the Halo wiki

This is a template documentation page!
You cannot edit the associated template from here. To do so, please see Template:Rank/H4 instead!

Description[edit]

This template is used as a shorthand to insert a reference to a Halo 4 multiplayer rank. Doing so will automatically generate the rank icon and, if prompted, a link to the rank page and the rank name.

Usage[edit]

Syntax[edit]

To insert this template onto a page, place the following wikitext onto the article.

{{Rank/H4}}

Parameters[edit]

This template accepts three parameters, though only the first one is required. Each parameter can be any single numerical value of 0-9, which in turn displays the associated Spartan Rank icon.

Error states[edit]

This template uses the user input to generate the filename based off the ones found here.

Example[edit]

Here is an example of what the template will output, when used:

Wiki markup Result
The armour can be unlocked at {{Rank/H4|1}}
The armour can be unlocked at H4 Rank SR Icon.pngH4 Rank 1 Icon.png
The armour can be unlocked at {{Rank/H4|4|2}}
The armour can be unlocked at H4 Rank SR Icon.pngH4 Rank 4 Icon.pngH4 Rank 2 Icon.png
The armour can be unlocked at {{Rank/H4|1|3}}
The armour can be unlocked at H4 Rank SR Icon.pngH4 Rank 1 Icon.pngH4 Rank 3 Icon.png
The armour can be unlocked at {{Rank/H4|1|2|3}}
The armour can be unlocked at H4 Rank SR Icon.pngH4 Rank 1 Icon.pngH4 Rank 2 Icon.pngH4 Rank 3 Icon.png

Dependencies[edit]

Template dependencies[edit]

This template depends on the following templates. It does depend on the images found at Category:Halo 4 rank insignia.

Extension dependencies[edit]

This template does not require any extensions.

Dependent templates[edit]

The following templates depend upon this one. If you are making changes to this template, please ensure that they will not break any of them!