Difference between revisions of "Template:Icon"
Jump to navigation
Jump to search
m |
|||
Line 13: | Line 13: | ||
|spy=Spyicon.png | |spy=Spyicon.png | ||
|caster=Int Icon.png | |caster=Int Icon.png | ||
− | }}|20px|{{#switch:{{lc: {{{1|}}} }} | + | }}|20px|{{#if:{{{2|}}}|{{{2|}}}|{{#switch:{{lc: {{{1|}}} }} |
|scout=Scout | |scout=Scout | ||
|soldier=Soldier | |soldier=Soldier | ||
Line 27: | Line 27: | ||
|spy=Spy | |spy=Spy | ||
|caster=Caster | |caster=Caster | ||
− | |#default= | + | |#default= |
− | }}|link={{{3|}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | + | }}}}|link={{{3|}}}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 01:21, 27 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}}