Template:Race icon sizes: Difference between revisions

From FHX Wiki
mNo edit summary
No edit summary
 
(3 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, 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.
 
[[Category:Icon templates]]

Latest revision as of 23:24, 21 February 2025

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.