Template:ClassNoIcon: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#switch:{{{1|}}} | Barbarian = {{Icon|Barbarian Icon Small.webp|{{{2|25}}}|link=Barbarian}} Barbarian | Bard = {{Icon|Bard Icon Small.webp|{{{2|25}}}|link=Bard}} Bard | Cleric = {{Icon|Cleric Icon Small.webp|{{{2|25}}}|link=Cleric}} Cleric | Druid = {{Icon|Druid Icon Small.webp|{{{2|25}}}|link=Druid}} Druid | Fighter = {{Icon|Fighter Icon Small.webp|{{{2|25}}}|link=Fighter}} Fighter | Monk = {{Icon|Monk Icon Small.webp|{{{2|25}}}|link=M...") |
(No difference)
|
Revision as of 04:14, 5 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.
Usage:
{{Class|Wizard}}
Result:
Second parameter is optional, for adjusting the size of the icon.
Usage:
{{Class|Barbarian|35}}
Result:
For subclasses, only name the subclass:
Usage:
{{Class|Oath of the Ancients}}
Result:
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 |