User:Llamageddon/Test: Difference between revisions
Llamageddon (talk | contribs) (Created page with "<includeonly>{{#switch:{{{1|}}} | Barbarian = {{Icon|Class Barbarian Hotbar Icon.png|{{{2|25}}}|link=Barbarian}} Barbarian | Bard = {{Icon|Class Bard Hotbar Icon.png|{{{2|25}}}|link=Bard}} Bard | Cleric = {{Icon|Class Cleric Hotbar Icon.png|{{{2|25}}}|link=Cleric}} Cleric | Druid = {{Icon|Class Druid Hotbar Icon.png|{{{2|25}}}|link=Druid}} Druid | Fighter = {{Icon|Class Fighter Hotbar Icon.png|{{{2|25}}}|link=Fighter}} Fighter | Monk = {{Icon|Class Mo...") |
Llamageddon (talk | contribs) mNo edit summary |
||
Line 62: | Line 62: | ||
Insert a pre-formatted link and icon to a class or subclass page. See below for the full list of accepted class and subclass values. '''All values are case sensitive.''' | Insert a pre-formatted link and icon to a class or subclass page. See below for the full list of accepted class and subclass values. '''All values are case sensitive.''' | ||
== Testing, Testing == | |||
{{User:Llamageddon/Test|Sorcerer}} | |||
---- | |||
Usage: | Usage: | ||
Revision as of 19:04, 30 August 2023
Insert a pre-formatted link and icon to a class or subclass page. See below for the full list of accepted class and subclass values. All values are case sensitive.
Testing, Testing
Usage:
{{Class|Wizard}}
Result: Wizard
Second parameter is optional, for adjusting the size of the icon.
Usage:
{{Class|Barbarian|35}}
Result: Barbarian
For subclasses, only name the subclass:
Usage:
{{Class|Oath of the Ancients}}
Result: Oath of the Ancients Paladin
Auto-generated TemplateData documentation follows.
Insert a pre-formatted link and icon to a class or subclass page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
class or subclass | 1 | The class or subclass page you want to link to. Subclasses will automatically insert the parent class name for you.
| String | required |
icon size | 2 | (Optional) The size of the icon to display. Default is 25 (pixels).
| Number | optional |