Template:Class: Difference between revisions
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
| Oath of the Ancients = {{Icon|Oath of the Ancients Icon Small.webp|{{{2|25}}}|link=Oath of the Ancients}} [[Oath of the Ancients]] [[Paladin]] | | Oath of the Ancients = {{Icon|Oath of the Ancients Icon Small.webp|{{{2|25}}}|link=Oath of the Ancients}} [[Oath of the Ancients]] [[Paladin]] | ||
| Oath of Devotion = {{Icon|Oath of Devotion Icon Small.webp|{{{2|25}}}|link=Oath of Devotion}} [[Oath of Devotion]] [[Paladin]] | | Oath of Devotion = {{Icon|Oath of Devotion Icon Small.webp|{{{2|25}}}|link=Oath of Devotion}} [[Oath of Devotion]] [[Paladin]] | ||
| Oath of Vengeance = {{Icon|Oath of Vengeance Icon Small.webp|{{{2|25}}}|link=Oath of Vengeance}} [[Oath of Vengeance]] [[Paladin]] | |||
| 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]] |
Revision as of 08:56, 6 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 |