Difference between revisions of "Template:Icon"
Jump to navigation
Jump to search
(Created page with "<noinclude>{{documentation}}</noinclude>") |
m |
||
| Line 1: | Line 1: | ||
| − | <noinclude>{{documentation}}</noinclude> | + | <includeonly>[[File:{{#switch:{{lc: {{{1|}}} }} |
| + | |scout=Scouticon.png | ||
| + | |soldier=Soldiericon.png | ||
| + | |roamer=Soldiericon.png | ||
| + | |pocket=Pocketicon.png | ||
| + | |pyro=Pyroicon.png | ||
| + | |demo | ||
| + | |demoman=Demomanicon.png | ||
| + | |heavy=Heavyicon.png | ||
| + | |engineer=Engineericon.png | ||
| + | |medic=Medicicon.png | ||
| + | |sniper=Snipericon.png | ||
| + | |spy=Spyicon.png | ||
| + | |caster=Int Icon.png | ||
| + | }}|20px|{{#switch:{{lc: {{{1|}}} }} | ||
| + | |scout=Scout | ||
| + | |soldier=Soldier | ||
| + | |roamer=Roamer | ||
| + | |pocket=Pocket | ||
| + | |pyro=Pyro | ||
| + | |demo | ||
| + | |demoman=Demoman | ||
| + | |heavy=Heavy | ||
| + | |engineer=Engineer | ||
| + | |medic=Medic | ||
| + | |sniper=Sniper | ||
| + | |spy=Spy | ||
| + | |caster=Caster | ||
| + | |#default={{{2|}}} | ||
| + | }}|link={{{3|}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | ||
Revision as of 22:19, 26 November 2016
(view - edit) Documentation
Usage
{{Icon|___|name|link|size}}
- All parameters are unnamed
- Name and link parameters are optional
- Size will default to 20px when not set
Examples
{{Icon|scout}}
{{Icon|flankscout}}[[File:|20px||link=]]{{Icon|pocketscout}}[[File:|20px||link=]]{{Icon|soldier}}
{{Icon|roamer}}
{{Icon|pocket}}
{{Icon|pyro}}
{{Icon|demoman}}
{{Icon|heavy}}
{{Icon|engineer}}
{{Icon|medic}}
{{Icon|sniper||Sniper}}
{{Icon|spy|Spy of the Season}}
{{Icon|caster|Caster of the Season|teamfortresstv}}