TemplateDoc:Icon

From Halopedia, the Halo wiki

Revision as of 21:58, March 6, 2021 by CMDR RileySV (talk | contribs) (Added 3 more icons.)
This is a template documentation page!
You cannot edit the associated template from here. To do so, please see Template:Icon instead!

Description

This template is used as a shorthand to insert the logo of a referenced faction, and in some special cases, the logo of a particular era. Doing so will automatically generate the logo and, if prompted, a link to the faction's page.

Usage

Syntax

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

Parameters

This template accepts 19 parameters. These are:

Parameter Result
UNSC Post UNSC
UNSC 2560 UNSC
UNSC HCW UNSC
ONI ONI
Navy UNSC Navy
SoS Swords of Sanghelios
UEG UEG
Banished Banished
Mdama Jul 'Mdama's Covenant
CAA Colonial Administration Authority
ODST Orbital Drop Shock Trooper
Noble NOBLE Team
Insurrectionist Insurrectionist
Blue Team Blue Team
Osiris Fireteam Osiris
Army UNSC Army
NMPD New Mombasa Police Department
Covenant FB Covenant
Covenant HW Covenant

Error states

This template has no error states.

Example

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

Wiki markup Result
Belligerents<br/>
----
*{{Icon|UNSC HCW}} [[UNSC]]
**{{Icon|Navy}} [[UNSC Navy]]
***{{Icon|Blue Team}} [[Blue Team]]
Belligerents

Dependencies

Template dependencies

This template does not depend on any other templates. It does depend on the following files:

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!