Difference between revisions of "Template:Icon/doc"

From comp.tf
Jump to navigation Jump to search
 
Line 6: Line 6:
 
== Examples ==
 
== Examples ==
 
* <code><nowiki>{{Icon|scout}}</nowiki></code> {{Icon|scout}}
 
* <code><nowiki>{{Icon|scout}}</nowiki></code> {{Icon|scout}}
 +
* <code><nowiki>{{Icon|flankscout}}</nowiki></code> {{Icon|flankscout}}
 +
* <code><nowiki>{{Icon|pocketscout}}</nowiki></code> {{Icon|pocketscout}}
 
* <code><nowiki>{{Icon|soldier}}</nowiki></code> {{Icon|soldier}}
 
* <code><nowiki>{{Icon|soldier}}</nowiki></code> {{Icon|soldier}}
 
* <code><nowiki>{{Icon|roamer}}</nowiki></code> {{Icon|roamer}}
 
* <code><nowiki>{{Icon|roamer}}</nowiki></code> {{Icon|roamer}}

Latest revision as of 09:09, 7 October 2022

Usage[edit]

{{Icon|___|name|link|size}}

  • All parameters are unnamed
  • Name and link parameters are optional
  • Size will default to 20px when not set

Examples[edit]

  • {{Icon|scout}} Scout
  • {{Icon|flankscout}} Flank Scout
  • {{Icon|pocketscout}} Pocket Scout
  • {{Icon|soldier}} Soldier
  • {{Icon|roamer}} Roaming Soldier
  • {{Icon|pocket}} Pocket Soldier
  • {{Icon|pyro}} Pyro
  • {{Icon|demoman}} Demoman
  • {{Icon|heavy}} Heavy
  • {{Icon|engineer}} Engineer
  • {{Icon|medic}} Medic
  • {{Icon|sniper||Sniper}} Sniper
  • {{Icon|spy|Spy of the Season}} Spy of the Season
  • {{Icon|caster|Caster of the Season|teamfortresstv}} Caster of the Season