Template:Race icon sizes: Difference between revisions

From FHX Wiki
(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 race icons produced by the associated icon templates.
This template determines the size of the race icons produced by the associated icon templates.
Line 10: Line 10:
: Race, case insensitive. Must specify full race name, e.g. "Wood-Elf" rather than "woodelf" or "wood elf".
: 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" (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: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.