Difference between revisions of "Template:Icon class/doc"
Moussekateer (talk | contribs) (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 {...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
{{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 8: | ||
=== 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: | + | * 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 |
Latest revision as of 00:00, 3 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
{{icon class|Scout}}
produces{{icon class|Scout|32px}}
produces{{icon class|Scout|link=Scout achievements}}
produces
Icons
- – Scout
- – Soldier
- – Pyro
- – Demoman
- – Heavy
- – Engineer
- – Medic
- – Sniper
- – Spy
- – All classes / Classes
- – Civilian
- – 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
{{Robot icon}}
for MvM class icons