mNo edit summary |
(Those icons look nice, but srsly... that faction doesn't even have members in it.) |
||
Line 1: | Line 1: | ||
− | <includeonly><onlyinclude>{{#ifeq:{{{sort|-}}}|-||{{sort|{{lc:{{{1|neutral}}}}}}}}}<span class="{{#ifeq:{{{2}}}|small|linkicon}}">[[File:{{#switch:{{lc:{{{1}}}}}|alliance=Alliance|boss=Boss|combat=Combat|hostile=Combat|horde=Horde|aldor=Aldor|scryers=Scryers|shaohao=Shaohao|both=Both|neutral|#default=Neutral}}_{{#switch:{{lc:{{{2}}}}}|xlarge=64|large=32|small=15|#default=32}}.png|{{#switch:{{lc:{{{1}}}}}|alliance=Alliance|boss=Boss|combat=Combat|hostile=Combat|horde=Horde|aldor=Aldor|scryers=Scryers |
+ | <includeonly><onlyinclude>{{#ifeq:{{{sort|-}}}|-||{{sort|{{lc:{{{1|neutral}}}}}}}}}<span class="{{#ifeq:{{{2}}}|small|linkicon}}">[[File:{{#switch:{{lc:{{{1}}}}}|alliance=Alliance|boss=Boss|combat=Combat|hostile=Combat|horde=Horde|aldor=Aldor|scryers=Scryers|shaohao=Shaohao|both=Both|neutral|#default=Neutral}}_{{#switch:{{lc:{{{2}}}}}|xlarge=64|large=32|small=15|#default=32}}.png|{{#switch:{{lc:{{{1}}}}}|alliance=Alliance|boss=Boss|combat=Combat|hostile=Combat|horde=Horde|aldor=Aldor|scryers=Scryers|both=Alliance & Horde|neutral|#default=Neutral}}|link={{#switch:{{lc:{{{1}}}}}|alliance=Alliance|boss=Boss|combat=Combat|hostile=Combat|horde=Horde|aldor=Aldor|scryers=Scryers|both|neutral|#default=Neutral}}]]</span></onlyinclude></includeonly>{{documentation}} |
Revision as of 07:15, 15 October 2014
Humane syntax for specifying faction icons. This template is specifically for denoting how various factions react to players of other factions. It includes the two major factions (Horde and Alliance), neutral and combat faction markers, and a small handful of mutually exclusive factions. 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: {{FactionIcon|<Alliance/Combat/Horde/Neutral>|<Xlarge/Large/Small>}}
The following samples demonstrate the different possible icons from this template.
{{FactionIcon|Neutral|small}}
=|large}}
={{FactionIcon|Combat|small}}
=|large}}
=|xlarge}}
={{FactionIcon|Boss|small}}
=|large}}
=|xlarge}}
=
- Main factions
{{FactionIcon|Alliance|small}}
=|large}}
=|xlarge}}
={{FactionIcon|Horde|small}}
=|large}}
=|xlarge}}
={{FactionIcon|Both|small}}
=|large}}
=|xlarge}}
=
{{FactionIcon|Aldor|small}}
=|large}}
=|xlarge}}
={{FactionIcon|Scryers|small}}
=|large}}
=|xlarge}}
=
{{FactionIcon|Kyrian|small}}
=|large}}
=|xlarge}}
= Neutral{{FactionIcon|Necrolord|small}}
=|large}}
=|xlarge}}
= Neutral{{FactionIcon|Night Fae|small}}
=|large}}
=|xlarge}}
= Neutral{{FactionIcon|Venthyr|small}}
=|large}}
=|xlarge}}
= Neutral
Sorting enabled
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 (== {{FactionIcon|Horde}} ==
)
{{FactionIcon|Horde|sort=}}