Template:Class: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 39: | Line 39: | ||
| Oathbreaker = {{Icon|Oathbreaker Icon Small.webp|{{{2|25}}}|link=Oathbreaker}} [[Oathbreaker]] [[Paladin]] | | Oathbreaker = {{Icon|Oathbreaker Icon Small.webp|{{{2|25}}}|link=Oathbreaker}} [[Oathbreaker]] [[Paladin]] | ||
| Hunter = {{Icon|Hunter Icon Small.webp|{{{2|25}}}|link=Hunter}} [[Hunter]] [[Ranger]] | | Hunter = {{Icon|Hunter Icon Small.webp|{{{2|25}}}|link=Hunter}} [[Hunter]] [[Ranger]] | ||
| Beast Master = {{Icon|Beast Master Icon | | Beast Master = {{Icon|Beast Master Icon.png|{{{2|25}}}|link=Beast Master}} [[Beast Master]] [[Ranger]] | ||
| Gloom Stalker = {{Icon|Gloom Stalker Icon.png|{{{2|25}}}|link=Gloom Stalker}} [[Gloom Stalker]] [[Ranger]] | | Gloom Stalker = {{Icon|Gloom Stalker Icon.png|{{{2|25}}}|link=Gloom Stalker}} [[Gloom Stalker]] [[Ranger]] | ||
| Arcane Trickster = {{Icon|Trickster Icon Small.webp|{{{2|25}}}|link=Arcane Trickster}} [[Arcane Trickster]] [[Rogue]] | | Arcane Trickster = {{Icon|Trickster Icon Small.webp|{{{2|25}}}|link=Arcane Trickster}} [[Arcane Trickster]] [[Rogue]] |
Revision as of 11:20, 19 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: File:Wizard Icon Small.webp 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 |