TemplateDoc:Icon

From Halopedia, the Halo wiki

Revision as of 16:11, November 12, 2022 by CMDR RileySV (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a template documentation page!
You cannot edit the associated template from here. To do so, please see Template:Icon instead!

Description[edit]

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[edit]

Syntax[edit]

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

Parameters[edit]

This template accepts 22 parameters. These are:

Parameter Result
Human icons
UNSC Post UNSC
UNSC 2560 UNSC
UNSC HCW UNSC
ONI ONI
Navy UNSC Navy
UEG UEG
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
Air Force UNSC Air Force
Marine Corps UNSC Marine Corps
Spartan Ops Spartan Operations
Covenant and remnant icons
Banished Banished
Mdama Jul 'Mdama's Covenant
SoS Swords of Sanghelios
Covenant FB Covenant
Covenant HW Covenant
Forerunner icons
Forerunner Ecumene
Didact Promethean

Error states[edit]

This template has no error states.

Example[edit]

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[edit]

Template dependencies[edit]

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

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!