Template:Class: Difference between revisions
(add some documentation and TemplateData) |
(Wild magic barbarian added) |
||
Line 14: | Line 14: | ||
| Berserker = {{Icon|Berserker Icon Small.webp|{{{2|25}}}|link=Berserker}} [[Berserker]] [[Barbarian]] | | Berserker = {{Icon|Berserker Icon Small.webp|{{{2|25}}}|link=Berserker}} [[Berserker]] [[Barbarian]] | ||
| Wildheart = {{Icon|Wildheart Icon Small.webp|{{{2|25}}}|link=Wildheart}} [[Wildheart]] [[Barbarian]] | | Wildheart = {{Icon|Wildheart Icon Small.webp|{{{2|25}}}|link=Wildheart}} [[Wildheart]] [[Barbarian]] | ||
| Wild Magic Barbarian = {{Icon|Wild Magic Barbarian Icon Small.webp|{{{2|25}}}|link=Wild Magic Barbarian}} [[Wild Magic Barbarian|Wild Magic]] [[Barbarian]] | |||
| College of Lore = {{Icon|Lore Icon Small.webp|{{{2|25}}}|link=College of Lore}} [[College of Lore]] [[Bard]] | | College of Lore = {{Icon|Lore Icon Small.webp|{{{2|25}}}|link=College of Lore}} [[College of Lore]] [[Bard]] | ||
| 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]] |
Revision as of 06:58, 1 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 |