TemplateDoc:Icon: Difference between revisions
From Halopedia, the Halo wiki
CMDR RileySV (talk | contribs) (Created this. Probably should have done it a while back, but it's made now.) |
CMDR RileySV (talk | contribs) (Added 3 more icons.) |
||
Line 9: | Line 9: | ||
===Parameters=== | ===Parameters=== | ||
This template accepts | This template accepts 19 parameters. These are: | ||
{| class="wikitable" | {| class="wikitable" | ||
!Parameter | !Parameter | ||
Line 61: | Line 61: | ||
|Army | |Army | ||
|[[File:HP Army Icon.png|25px|link=UNSC Army]] | |[[File:HP Army Icon.png|25px|link=UNSC Army]] | ||
|- | |||
|NMPD | |||
|[[File:HP NMPD Icon.png|25px|link=New Mombasa Police Department]] | |||
|- | |||
|Covenant FB | |||
|[[File:HP Covenant FB Icon.png|25px|link=Covenant]] | |||
|- | |||
|Covenant HW | |||
|[[File:HP Covenant HW Icon.png|25px|link=Covenant]] | |||
|} | |} | ||
Line 103: | Line 112: | ||
*[[:File:HP Osiris Icon.png]] | *[[:File:HP Osiris Icon.png]] | ||
*[[:File:HP Army Icon.png]] | *[[:File:HP Army Icon.png]] | ||
*[[:File:HP NMPD Icon.png]] | |||
*[[:File:HP Covenant FB Icon.png]] | |||
*[[:File:HP Covenant HW Icon.png]] | |||
===Extension dependencies=== | ===Extension dependencies=== |
Revision as of 21:58, March 6, 2021
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 2560 | |
UNSC HCW | |
ONI | |
Navy | |
SoS | |
UEG | |
Banished | |
Mdama | |
CAA | |
ODST | |
Noble | |
Insurrectionist | |
Blue Team | |
Osiris | |
Army | |
NMPD | |
Covenant FB | |
Covenant HW |
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:
- File:HP UNSC Postwar Icon.png
- File:HP UNSC 2560 Icon.png
- File:HP UNSC HCW Icon.png
- File:HP ONI Icon.png
- File:HP Navy Icon.png
- File:HP SoS Icon.png
- File:HP UEG Icon.png
- File:HP Banished Icon.png
- File:HP Mdama Icon.png
- File:HP CAA Icon.png
- File:HP ODST Icon.png
- File:HP Noble Icon.png
- File:HP Insurrectionist Icon.png
- File:HP Blue Team Icon.png
- File:HP Osiris Icon.png
- File:HP Army Icon.png
- File:HP NMPD Icon.png
- File:HP Covenant FB Icon.png
- File:HP Covenant HW Icon.png
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!