This template is protected from editing.
Difference between revisions of "Template:Icon class"
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: | + | <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
{{icon class|Scout}}
produces{{icon class|Scout|32px}}
produces{{icon class|Scout|link=Scout achievements}}
produces
Icons
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).