This template is protected from editing.

Difference between revisions of "Template:Icon class"

From Team Fortress Wiki
Jump to: navigation, search
m (oops, dont want quote marks.)
m (I think zis might work now)
Line 1: Line 1:
<includeonly>[[File:Leaderboard class {{lc:{{{class|{{{1|unknown}}}}}}}}.png|link={{#ifeq:{{{link|{{{class|{{{1|Classes}}}}}}|All classes|Classes|{{{link|{{{class|{{{1|Classes}}}}}}}}{{if lang}}}}}|{{{icon-size|{{{size|{{{2|20px}}}}}}}}}|{{{extra|bottom}}}]]</includeonly><noinclude>
+
<includeonly>[[File:Leaderboard class {{lc:{{{class|{{{1|unknown}}}}}}}}.png|link={{{link|{{#ifeq: {{{class|{{{1|Classes}}}}}} | All classes | Classes | {{{class|{{{1|Classes}}}}}} }} {{if lang}}}}}|{{{icon-size|{{{size|{{{2|20px}}}}}}}}}|{{{extra|bottom}}}]]</includeonly><noinclude>
 
{{doc begin}}
 
{{doc begin}}
 
{{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.

Revision as of 18:25, 16 August 2011

Documentation for Icon class

{{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 Leaderboard class soldier.png Leaderboard class pyro.png Leaderboard class demoman.png Leaderboard class heavy.png Leaderboard class engineer.png Leaderboard class medic.png Leaderboard class sniper.png Leaderboard class spy.png

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 w:Wikipedia:Extended image syntax for more info).