Difference between revisions of "Template:Icon class"
(Then we do this. I meant this anyway.) |
m |
||
Line 13: | Line 13: | ||
| spy = [[File:Leaderboard class spy.png|{{{icon-size|20px}}}|link={{{link|Spy{{if lang}}}}}]] | | spy = [[File:Leaderboard class spy.png|{{{icon-size|20px}}}|link={{{link|Spy{{if lang}}}}}]] | ||
| administrator = [[File:Leaderboard class administrator.png|{{{icon-size|20px}}}|link={{{link|Administrator{{if lang}}}}}]] | | administrator = [[File:Leaderboard class administrator.png|{{{icon-size|20px}}}|link={{{link|Administrator{{if lang}}}}}]] | ||
+ | | random | ||
| #default = [[File:Unknownweapon.png|{{{icon-size|20px}}}|link={{{link|Classes{{if lang}}}}}]] | | #default = [[File:Unknownweapon.png|{{{icon-size|20px}}}|link={{{link|Classes{{if lang}}}}}]] | ||
Revision as of 07:59, 27 December 2010
{{Icon class}}
is used to produce linked class icons. By default, the icon will link to the page of the specified class.
Usage
{{icon class|Scout}}
produces{{icon class|Scout|32px}}
produces{{icon class|Scout|link=Scout achievements}}
produces
Icons
- – Scout
- – Soldier
- – Pyro
- – Demoman
- – Heavy
- – Engineer
- – Medic
- – Sniper
- – Spy
- – All classes / Classes
- – Civilian
- – Administrator
Notes
- The default icon size is 20px, and the icon will align to the bottom of the text.
- The
extra
parameter can be used to pass additional options to the image (see WP:Extended image syntax for more info).
See also
{{Robot icon}}
for MvM class icons