Template:Race icon sizes: Difference between revisions
(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 race icons produced by the associated icon templates. == Usage == <pre>{{race icon sizes|<race>|<icon size word>}}</pre> === Parameters === ;1 ''(unnamed parameter)'' : Race, not case insensitive. Must specify full race name, e.g. "wood-elf" rather than "woodelf" or "wood-elf". ;2 ''(u...") |
(added small size var) |
||
(5 intermediate revisions by the same user not shown) | |||
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 race icons produced by the associated icon templates. | This template determines the size of the race icons produced by the associated icon templates. | ||
Line 8: | Line 8: | ||
=== Parameters === | === Parameters === | ||
;1 ''(unnamed parameter)'' | ;1 ''(unnamed parameter)'' | ||
: Race, | : Race, case insensitive. Must specify full race name, e.g. "Wood-Elf" rather than "woodelf" or "wood elf". | ||
;2 ''(unnamed parameter)'' | ;2 ''(unnamed parameter)'' | ||
: Icon size. Options: "big" ( | : Icon size. Options: "small" (40px), "big" (100px), "huge" (200px), or, blank (65px) - which is the default size. |
Latest revision as of 08:53, 15 June 2024
Description
This template determines the size of the race icons produced by the associated icon templates.
Usage
{{race icon sizes|<race>|<icon size word>}}
Parameters
- 1 (unnamed parameter)
- Race, case insensitive. Must specify full race name, e.g. "Wood-Elf" rather than "woodelf" or "wood elf".
- 2 (unnamed parameter)
- Icon size. Options: "small" (40px), "big" (100px), "huge" (200px), or, blank (65px) - which is the default size.