mNo edit summary |
mNo edit summary |
||
Line 25: | Line 25: | ||
Usual choice for ''gender_size'': |
Usual choice for ''gender_size'': |
||
− | * {{RaceIconExt|Draenei|f |
+ | * {{RaceIconExt|Draenei|f}} f or female |
− | * {{RaceIconExt|Draenei|m |
+ | * {{RaceIconExt|Draenei|m}} m or male |
− | * {{RaceIconExt|rhino|large |
+ | * {{RaceIconExt|rhino|large}} large = no gender. Does not work for playable races. |
− | * {{RaceIconExt|rhino|small |
+ | * {{RaceIconExt|rhino|small}} small = no gender. Does not work for playable races. |
− | Choices for ''optional_icon_size'' (small is the default. Does not seem to work for playable races or make a difference): |
+ | Choices for ''optional_icon_size'' (small is the default. Does not seem to work for non-playable races or make a difference): |
− | * {{RaceIconExt| |
+ | * {{RaceIconExt|Orc|Male|Small}} Small. |
− | * {{RaceIconExt| |
+ | * {{RaceIconExt|Orc|Male|Large}} large or Large. |
<onlyinclude><includeonly>[[Image:{{#switch:{{lc:{{{1}}}}}|unknown=INV_Misc_QuestionMark.png{{!}}18px|darktitan=IconSmall_DarkTitan_Male.gif|<!--felguard=Spell_Shadow_SummonFelGuard.png{{!}}18px|-->felhunter=IconSmall_FelHunter.png|infernal=Spell_Shadow_SummonInfernal.png{{!}}18px|ravager=Ability_Hunter_Pet_Ravager.png{{!}}18px|voidwalker=Spell_Shadow_SummonVoidWalker.png{{!}}18px|rocket=Ability_Mount_RocketMount.png{{!}}18px|crocolisk=Ability_Hunter_Pet_Crocolisk.png{{!}}18px|coreHound|corehound=Ability_Hunter_Pet_CoreHound.png{{!}}18px|devilsaur=Ability_Hunter_Pet_Devilsaur.png{{!}}18px|chimaera|chimera=Ability_Hunter_Pet_Chimera.png{{!}}18px|silithid=Ability_Hunter_Pet_Silithid.png{{!}}18px|firefly|wasp=Ability_Hunter_Pet_Wasp.png{{!}}18px|crab=Ability_Hunter_Pet_Crab.png{{!}}18px|turtle=Ability_Hunter_Pet_Turtle.png{{!}}18px|scorpid=Ability_Hunter_Pet_Scorpid.png{{!}}18px|spider=Ability_Hunter_Pet_Spider.png{{!}}18px|warpStalker|warpstalker=Ability_Hunter_Pet_WarpStalker.png{{!}}18px|rhino=Ability_Hunter_Pet_Rhino.png{{!}}18px|#default=Icon{{#ifeq:{{lc:{{{3|small}}}}}|large|Large|Small}} {{{1|Orc}}}{{#switch:{{lc:{{{2}}}}}|f|female=_Female|m|male=_Male|small=|large=|{{{2|}}}}}.gif}}]]</includeonly></onlyinclude> |
<onlyinclude><includeonly>[[Image:{{#switch:{{lc:{{{1}}}}}|unknown=INV_Misc_QuestionMark.png{{!}}18px|darktitan=IconSmall_DarkTitan_Male.gif|<!--felguard=Spell_Shadow_SummonFelGuard.png{{!}}18px|-->felhunter=IconSmall_FelHunter.png|infernal=Spell_Shadow_SummonInfernal.png{{!}}18px|ravager=Ability_Hunter_Pet_Ravager.png{{!}}18px|voidwalker=Spell_Shadow_SummonVoidWalker.png{{!}}18px|rocket=Ability_Mount_RocketMount.png{{!}}18px|crocolisk=Ability_Hunter_Pet_Crocolisk.png{{!}}18px|coreHound|corehound=Ability_Hunter_Pet_CoreHound.png{{!}}18px|devilsaur=Ability_Hunter_Pet_Devilsaur.png{{!}}18px|chimaera|chimera=Ability_Hunter_Pet_Chimera.png{{!}}18px|silithid=Ability_Hunter_Pet_Silithid.png{{!}}18px|firefly|wasp=Ability_Hunter_Pet_Wasp.png{{!}}18px|crab=Ability_Hunter_Pet_Crab.png{{!}}18px|turtle=Ability_Hunter_Pet_Turtle.png{{!}}18px|scorpid=Ability_Hunter_Pet_Scorpid.png{{!}}18px|spider=Ability_Hunter_Pet_Spider.png{{!}}18px|warpStalker|warpstalker=Ability_Hunter_Pet_WarpStalker.png{{!}}18px|rhino=Ability_Hunter_Pet_Rhino.png{{!}}18px|#default=Icon{{#ifeq:{{lc:{{{3|small}}}}}|large|Large|Small}} {{{1|Orc}}}{{#switch:{{lc:{{{2}}}}}|f|female=_Female|m|male=_Male|small=|large=|{{{2|}}}}}.gif}}]]</includeonly></onlyinclude> |
Revision as of 15:20, 15 January 2009
Humane syntax for specifying any race icon (see {{RaceIcon}} for playable races only). Pass the race, gender, and desired size to produce an icon; see documentation for shortcuts and implementation details.
- Syntax:
- {{RaceIconExt|<race_name>|<gender_size>|<optional_icon_size>}}
Known non-standard choices for race_name:
- darktitan
- felguard
- File:IconSmall FelHunter.png felhunter
- infernal
- ravager
- voidwalker
- File:Ability Hunter Pet Crocolisk.png crocolisk
- corehound
- devilsaur
- chimera
- silithid
- wasp
- File:Ability Hunter Pet Crab.png crab
- File:Ability Hunter Pet Turtle.png turtle
- scorpid
- File:Ability Hunter Pet Spider.png spider
- File:Ability Hunter Pet WarpStalker.png warpstalker
- rhino
Usual choice for gender_size:
- f or female
- m or male
- large = no gender. Does not work for playable races.
- small = no gender. Does not work for playable races.
Choices for optional_icon_size (small is the default. Does not seem to work for non-playable races or make a difference):
- Small.
- File:IconLarge Orc Male.gif large or Large.