m (1 revision) |
SargerasDoomhammer (Discusión | contribs.) Sin resumen de edición |
||
Línea 4: | Línea 4: | ||
The following samples demonstrate the different possible icons from this template. |
The following samples demonstrate the different possible icons from this template. |
||
− | * <code>{{FactionIcon}}</code> = {{FactionIcon}} |
+ | * <code>{{FactionIcon}}</code> = {{FactionIcon}} (default) |
+ | |||
− | * <code>{{FactionIcon|Neutral|small}}</code> = {{FactionIcon|Neutral|small}} |
||
− | * <code>{{FactionIcon| |
+ | * <code>{{FactionIcon|Neutral|small}}</code> = {{FactionIcon|Neutral|small}} <code>|large}}</code> = {{FactionIcon|Neutral|large}} |
− | * <code>{{FactionIcon| |
+ | * <code>{{FactionIcon|Combat|small}}</code> = {{FactionIcon|Combat|small}} <code>|large}}</code> = {{FactionIcon|Combat|large}} <code>|xlarge}}</code> = {{FactionIcon|Combat|xlarge}} |
− | * <code>{{FactionIcon| |
+ | * <code>{{FactionIcon|Boss|small}}</code> = {{FactionIcon|Boss|small}} <code>|large}}</code> = {{FactionIcon|Boss|large}} <code>|xlarge}}</code> = {{FactionIcon|Boss|xlarge}} |
+ | |||
− | * <code>{{FactionIcon|Combat|small}}</code> = {{FactionIcon|Combat|small}} |
||
+ | ;Main factions |
||
− | * <code>{{FactionIcon|Alliance}}</code> = {{FactionIcon|Alliance}} |
||
− | * <code>{{FactionIcon|Alliance|small}}</code> = {{FactionIcon|Alliance|small}} |
+ | * <code>{{FactionIcon|Alliance|small}}</code> = {{FactionIcon|Alliance|small}} <code>|large}}</code> = {{FactionIcon|Alliance|large}} <code>|xlarge}}</code> = {{FactionIcon|Alliance|xlarge}} |
− | * <code>{{FactionIcon|Horde|large}}</code> = {{FactionIcon|Horde|large}} |
+ | * <code>{{FactionIcon|Horde|small}}</code> = {{FactionIcon|Horde|small}} <code>|large}}</code> = {{FactionIcon|Horde|large}} <code>|xlarge}}</code> = {{FactionIcon|Horde|xlarge}} |
+ | |||
− | * <code>{{FactionIcon|Horde|small}}</code> = {{FactionIcon|Horde|small}} |
||
+ | ;{{bc-inline}} Burning Crusade |
||
− | * <code>{{FactionIcon|Aldor|large}}</code> = {{FactionIcon|Aldor|large}} |
||
− | * <code>{{FactionIcon|Aldor|small}}</code> = {{FactionIcon|Aldor|small}} |
+ | * <code>{{FactionIcon|Aldor|small}}</code> = {{FactionIcon|Aldor|small}} <code>|large}}</code> = {{FactionIcon|Aldor|large}} <code>|xlarge}}</code> = {{FactionIcon|Aldor|xlarge}} |
− | * <code>{{FactionIcon|Scryers|large}}</code> = {{FactionIcon|Scryers|large}} |
+ | * <code>{{FactionIcon|Scryers|small}}</code> = {{FactionIcon|Scryers|small}} <code>|large}}</code> = {{FactionIcon|Scryers|large}} <code>|xlarge}}</code> = {{FactionIcon|Scryers|xlarge}} |
− | * <code>{{FactionIcon| |
+ | * <code>{{FactionIcon|SSO|small}}</code> = {{FactionIcon|SSO|small}} <code>|large}}</code> = {{FactionIcon|SSO|large}} <code>|xlarge}}</code> = {{FactionIcon|SSO|xlarge}} |
+ | |||
− | * <code>{{FactionIcon|SSO|large}}</code> = {{FactionIcon|SSO|large}} |
||
+ | ;{{wotlk-inline}} Wrath of the Lich King |
||
− | * <code>{{FactionIcon|SSO|small}}</code> = {{FactionIcon|SSO|small}} |
||
+ | * <code>{{FactionIcon|Kirin Tor|small}}</code> = {{FactionIcon|Kirin Tor|small}} <code>|large}}</code> = {{FactionIcon|Kirin Tor|large}} <code>|xlarge}}</code> = {{FactionIcon|Kirin Tor|xlarge}} |
||
+ | |||
=== Sorting enabled === |
=== Sorting enabled === |
Revisión del 20:40 5 mar 2016
Humane syntax for specifying faction icons. 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: {{FactionIcon|<Alliance/Combat/Horde/Neutral>|<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|Aldor|small}}
=|large}}
=|xlarge}}
={{FactionIcon|Scryers|small}}
=|large}}
=|xlarge}}
={{FactionIcon|SSO|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=}}