Difference between revisions of "Template:Icon"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | <includeonly>[[File:{{#switch:{{lc: {{{1|}}} }} | + | <includeonly><span style="line-height:100%;vertical-align:{{#ifeq:{{{middle|}}}|true|middle|top}}>[[File:{{#switch:{{lc: {{{1|}}} }} |
|scout=Scouticon.png | |scout=Scouticon.png | ||
|soldier=Soldiericon.png | |soldier=Soldiericon.png | ||
Line 30: | Line 30: | ||
|caster=Caster | |caster=Caster | ||
|#default={{{2|}}} | |#default={{{2|}}} | ||
− | }}}}|link={{{3|}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | + | }}}}|link={{{3|}}}]]</span></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 00:43, 17 April 2020
(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}}