Difference between revisions of "Template:Icon class/doc"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "{{tl|Icon class}} is used to produce linked class icons. By default, the icon will link to the page of the specified class. === Usage === * {{tlx|icon class|Scout}} produces {...")
 
Line 1: Line 1:
 
{{tl|Icon class}} is used to produce linked class icons. By default, the icon will link to the page of the specified class.
 
{{tl|Icon class}} is used to produce linked class icons. By default, the icon will link to the page of the specified class.
 +
 
=== Usage ===
 
=== Usage ===
 
* {{tlx|icon class|Scout}} produces {{icon class|Scout}}
 
* {{tlx|icon class|Scout}} produces {{icon class|Scout}}
Line 6: Line 7:
  
 
=== Icons ===
 
=== Icons ===
{{icon class|Scout}} {{icon class|Soldier}} {{icon class|Pyro}} {{icon class|Demoman}} {{icon class|Heavy}} {{icon class|Engineer}} {{icon class|Medic}} {{icon class|Sniper}} {{icon class|Spy}}
+
* {{icon class|Scout}} {{n}} Scout
 +
* {{icon class|Soldier}} {{n}} Soldier
 +
* {{icon class|Pyro}} {{n}} Pyro
 +
* {{icon class|Demoman}} {{n}} Demoman
 +
* {{icon class|Heavy}} {{n}} Heavy
 +
* {{icon class|Engineer}} {{n}} Engineer
 +
* {{icon class|Medic}} {{n}} Medic
 +
* {{icon class|Sniper}} {{n}} Sniper
 +
* {{icon class|Spy}} {{n}} Spy
 +
* {{icon class|All classes}} {{n}} All classes / Classes
 +
* {{icon class|Civilian}} {{n}} Civilian
 +
* {{icon class|Administrator}} {{n}} Administrator
  
 
=== Notes ===
 
=== Notes ===
 
* The default icon size is 20px, and the icon will align to the bottom of the text.
 
* The default icon size is 20px, and the icon will align to the bottom of the text.
* The {{code|extra}} parameter can be used to pass additional options to the image (see [[w:Wikipedia:Extended image syntax]] for more info).
+
* The {{code|extra}} parameter can be used to pass additional options to the image (see [[w:WP:Extended image syntax|WP:Extended image syntax]] for more info).
 +
 
 +
=== See also ===
 +
* {{tl|Robot icon}} for MvM class icons

Revision as of 23:46, 2 November 2015

{{Icon class}} is used to produce linked class icons. By default, the icon will link to the page of the specified class.

Usage

Icons

  • Leaderboard class scout.png  –  Scout
  • Leaderboard class soldier.png  –  Soldier
  • Leaderboard class pyro.png  –  Pyro
  • Leaderboard class demoman.png  –  Demoman
  • Leaderboard class heavy.png  –  Heavy
  • Leaderboard class engineer.png  –  Engineer
  • Leaderboard class medic.png  –  Medic
  • Leaderboard class sniper.png  –  Sniper
  • Leaderboard class spy.png  –  Spy
  • TF2 crosshair orange.png  –  All classes / Classes
  • Unknownweapon.png  –  Civilian
  • Leaderboard class administrator.png  –  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