- 0 Talk
FactionIcon2
Template page
This article or section is under construction.
|
Contents |
Humane syntax for specifying faction icons. The primary difference between {{FactionIcon}} and this template is that this template uses .png files for images and the other template uses .gif files. This template includes the two major factions, Horde and Alliance, as well as the neutral faction shield. This template is intended to match the formatting provided by {{RaceIcon}} and {{ClassIcon}}, combining the factions into a single template. If no parameters are supplied, the default will be the neutral crest. If a faction is specified but not the size, the large crest will be shown.
Concise syntax: {{FactionIcon2|<Alliance/Horde/Neutral>|<XLarge/Large/Small>}}
The following samples demonstrate the different possible icons from this template.
- Basic
- For {{Npcbox}}
{{FactionIcon2|Alliance Pandaren|small}} = | |large}} = | |xlarge}} =
|
{{FactionIcon2|Horde Pandaren|small}} = | |large}} = | |xlarge}} =
|
Sorting enabled
Edit
If you are using this icon in a sortable table, with no other text in the column, add |sort=. It visually looks identical, but the sorting is enabled. Do not use this feature when using this template in a header (== {{FactionIcon2|Horde}} ==)
{{FactionIcon2|Horde|sort=}}
See also
Edit
- {{FactionIcon}} - old version using GIFs with less factions.





















































