Template:Class icon sizes: Difference between revisions

From FHX Wiki
(Created page with "<includeonly>[[File:{{{1}}} icon.gif|{{#switch:{{{2}}}|big=100|huge=200|#default=65}}px|link={{{1}}}]]</includeonly><noinclude> == Description == This template determines the size of the class icons produced by the associated icon templates. == Usage == <pre>{{class icon sizes|<class>|<icon size word>}}</pre> === Parameters === ;1 ''(unnamed parameter)'' : Class, not case insensitive. Must specify full class name, e.g. "archer" rather than "ar" or "arch". ;2 ''(unnamed...")
 
m (added small size var)
 
Line 1: Line 1:
<includeonly>[[File:{{{1}}} icon.gif|{{#switch:{{{2}}}|big=100|huge=200|#default=65}}px|link={{{1}}}]]</includeonly><noinclude>
<includeonly>[[File:{{{1}}} icon.gif|{{#switch:{{{2}}}|small=40|big=100|huge=200|#default=65}}px|link={{{1}}}]]</includeonly><noinclude>
== Description ==
== Description ==
This template determines the size of the class icons produced by the associated icon templates.
This template determines the size of the class icons produced by the associated icon templates.
Line 10: Line 10:
: Class, not case insensitive. Must specify full class name, e.g. "archer" rather than "ar" or "arch".
: Class, not case insensitive. Must specify full class name, e.g. "archer" rather than "ar" or "arch".
;2 ''(unnamed parameter)''
;2 ''(unnamed parameter)''
: Icon size. Options: "big" (100px), "huge" (200px), or, blank (65px) - which is the default size.
: Icon size. Options: "small" (40px), "big" (100px), "huge" (200px), or, blank (65px) - which is the default size.

Latest revision as of 08:52, 15 June 2024

Description

This template determines the size of the class icons produced by the associated icon templates.

Usage

{{class icon sizes|<class>|<icon size word>}}

Parameters

1 (unnamed parameter)
Class, not case insensitive. Must specify full class name, e.g. "archer" rather than "ar" or "arch".
2 (unnamed parameter)
Icon size. Options: "small" (40px), "big" (100px), "huge" (200px), or, blank (65px) - which is the default size.