Template:Class: Difference between revisions
No edit summary |
(Added Archfey Warlock) |
||
Line 37: | Line 37: | ||
| Wild Magic = {{Icon|Wild Magic Icon Small.webp|{{{2|25}}}|link=Wild Magic}} [[Wild Magic]] [[Sorcerer]] | | Wild Magic = {{Icon|Wild Magic Icon Small.webp|{{{2|25}}}|link=Wild Magic}} [[Wild Magic]] [[Sorcerer]] | ||
| Fiend = {{Icon|Fiend Icon Small.webp|{{{2|25}}}|link=The Fiend}} [[The Fiend|Fiend]] [[Warlock]] | | Fiend = {{Icon|Fiend Icon Small.webp|{{{2|25}}}|link=The Fiend}} [[The Fiend|Fiend]] [[Warlock]] | ||
| Great Old One = {{Icon|Great Old One Icon Small.webp|{{{2|25}}}|link=The Great Old One|Great Old One}} [[The Great Old One]] [[Warlock]] | | Great Old One = {{Icon|Great Old One Icon Small.webp|{{{2|25}}}|link=The Great Old One|Great Old One}} [[The Great Old One|Great Old One]] [[Warlock]] | ||
| Archfey = {{Icon|The Archfey Subclass Icon.png|{{{2|25}}}|link=The Archfey|Archfey}} [[The Archfey|Archfey]] [[Warlock]] | |||
| Abjuration = {{Icon|Abjuration School Icon Small.webp|{{{2|25}}}|link=Abjuration School}} [[Abjuration School]] [[Wizard]] | | Abjuration = {{Icon|Abjuration School Icon Small.webp|{{{2|25}}}|link=Abjuration School}} [[Abjuration School]] [[Wizard]] | ||
| Evocation = {{Icon|Evocation School Icon Small.webp|{{{2|25}}}|link=Evocation School}} [[Evocation School]] [[Wizard]] | | Evocation = {{Icon|Evocation School Icon Small.webp|{{{2|25}}}|link=Evocation School}} [[Evocation School]] [[Wizard]] |
Revision as of 09:16, 9 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 |