Template:Class: Difference between revisions
(Added remaining subclasses) |
mNo edit summary |
||
Line 18: | Line 18: | ||
| College of Valor = {{Icon|Valor Icon Small.webp|{{{2|25}}}|link=College of Valour}} [[College of Valour]] [[Bard]] | | College of Valor = {{Icon|Valor Icon Small.webp|{{{2|25}}}|link=College of Valour}} [[College of Valour]] [[Bard]] | ||
| College of Swords = {{Icon|College of Swords Icon.png|{{{2|25}}}|link=College of Swords}} [[College of Swords]] [[Bard]] | | College of Swords = {{Icon|College of Swords Icon.png|{{{2|25}}}|link=College of Swords}} [[College of Swords]] [[Bard]] | ||
| Knowledge Domain = {{Icon|Knowledge Icon | | Knowledge Domain = {{Icon|Knowledge Domain Icon.png|{{{2|25}}}|link=Knowledge Domain}} [[Knowledge Domain]] [[Cleric]] | ||
| Life Domain = {{Icon|Life Icon Small.webp|{{{2|25}}}|link=Life Domain}} [[Life Domain]] [[Cleric]] | | Life Domain = {{Icon|Life Icon Small.webp|{{{2|25}}}|link=Life Domain}} [[Life Domain]] [[Cleric]] | ||
| Light Domain = {{Icon|Light Icon Small.webp|{{{2|25}}}|link=Light Domain}} [[Light Domain]] [[Cleric]] | | Light Domain = {{Icon|Light Icon Small.webp|{{{2|25}}}|link=Light Domain}} [[Light Domain]] [[Cleric]] |
Revision as of 09:59, 16 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 |