Talk:RaceIcon
Back to template
Contents |
Documentation
Edit
Syntax: {{RaceIcon|<Race>|<Gender>|<Size>}}
- Race (required)
- Case-insensitive race name to display the icon of. All fully spelled-out races work, blood and night elves have additional aliases (ne, nightelf, Night Elf, be, bloodelf, Blood Elf are all accepted).
- Gender (optional; male default)
- Pass "female" to display the female icon.
- Size (optional; small default)
- Pass "Large" to display a larger icon.
Test Vectors
Edit
- {{RaceIcon|<Night Elf>}}:
(NE shortcut, gender assumption)
- {{RaceIcon|<BE>|<Female>}}:
(BE shortcut, gender provided)
- {{RaceIcon|<orc>|<male>|<large>}}:
(case independence, default race case)
Comments
Edit
Boy/Girl
Edit
None of the boy/girl parameters work for any race, as seen here it defaults to the Male icon:
- {{RaceIcon|<NE>|<Boy>|<small>}}:
- {{RaceIcon|<NE>|<Girl>|<small>}}:
- {{RaceIcon|<Human>|<Boy>|<small>}}:
- {{RaceIcon|<Human>|<Girl>|<small>}}:
- {{RaceIcon|<Orc>|<Boy>|<small>}}:
- {{RaceIcon|<Orc>|<Girl>|<small>}}:
-- User:Coobra/Sig3 19:51, 27 June 2008 (UTC)
- It's not designed to, you have to use {{RaceIconExt|<Orc Boy>|<Small>}}:
--Pcj (T•C) 19:57, 27 June 2008 (UTC)
- Ah, in that case, it should probably be changed on WoWWiki:List of race icons. User:Coobra/Sig3 20:01, 27 June 2008 (UTC)
Image links
Edit
Should the images perhaps link to the main race topics? We have the ability to use link= now, seems like an appropriate place. Far more useful than linking to the image pages at least. (Also applies to Template talk:RaceIconExt) Kirkburn talk contr 14:56, May 5, 2010 (UTC)