Template:HW2Units
From Halopedia, the Halo wiki
Description
This template is used as a shorthand to display a Blitz icon for Halo Wars 2's unit types; Infantry, Vehicles, Aircraft, and Leader Powers.
Usage
Syntax
To insert this template onto a page, place the following wikitext onto the article.
{{HW2Units}}
Parameters
This template accepts one parameter. This parameter is mandatory, and will only accept one of the following inputs, which determine the icon displayed:
- Infantry
- Vehicle
- Aircraft
- Leader
The second input is optional, and can be used to change the displayed text, should it be needed. There is almost no need for this second input to be used, but it is included in case of irregularities.
Error states
Entering any first input except the above listed will break the template.
Example
Here is an example of what the template will output, when used:
| Wiki markup | Result |
|---|---|
{{HW2Units|Infantry}}
|
|
{{HW2Units|Vehicle}}
|
|
{{HW2Units|Aircraft}}
|
|
{{HW2Units|Leader}}
|
Dependencies
Template dependencies
This template does not depend on any templates.
Extension dependencies
This template does not require any extensions.
Dependent templates
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!