Template:Class: Difference between revisions
Tag: Undo |
HiddenDragon (talk | contribs) (Capitalization of subclass) |
||
Line 14: | Line 14: | ||
| Berserker = {{Icon|Class Barbarian Berserker Hotbar Icon.png|{{{2|25}}}|link=Berserker}} [[Berserker]] {{#if: {{{noparent|}}}||[[Barbarian]]}} | | Berserker = {{Icon|Class Barbarian Berserker Hotbar Icon.png|{{{2|25}}}|link=Berserker}} [[Berserker]] {{#if: {{{noparent|}}}||[[Barbarian]]}} | ||
| Wildheart = {{Icon|Class Barbarian Wildheart Hotbar Icon.png|{{{2|25}}}|link=Wildheart}} [[Wildheart]] {{#if: {{{noparent|}}}||[[Barbarian]]}} | | Wildheart = {{Icon|Class Barbarian Wildheart Hotbar Icon.png|{{{2|25}}}|link=Wildheart}} [[Wildheart]] {{#if: {{{noparent|}}}||[[Barbarian]]}} | ||
| Wild Magic Barbarian = {{Icon|Class Barbarian Wild Magic Hotbar Icon.png|{{{2|25}}}|link=Wild Magic (Barbarian Subclass)}} [[Wild Magic (Barbarian | | Wild Magic Barbarian = {{Icon|Class Barbarian Wild Magic Hotbar Icon.png|{{{2|25}}}|link=Wild Magic (Barbarian Subclass)}} [[Wild Magic (Barbarian subclass)|Wild Magic]] {{#if: {{{noparent|}}}||[[Barbarian]]}} | ||
| College of Lore = {{Icon|Class Bard Lore Hotbar Icon.png|{{{2|25}}}|link=College of Lore}} [[College of Lore]] {{#if: {{{noparent|}}}||[[Bard]]}} | | College of Lore = {{Icon|Class Bard Lore Hotbar Icon.png|{{{2|25}}}|link=College of Lore}} [[College of Lore]] {{#if: {{{noparent|}}}||[[Bard]]}} | ||
| College of Valour = {{Icon|Class Bard Valour Hotbar Icon.png|{{{2|25}}}|link=College of Valour}} [[College of Valour]] {{#if: {{{noparent|}}}||[[Bard]]}} | | College of Valour = {{Icon|Class Bard Valour Hotbar Icon.png|{{{2|25}}}|link=College of Valour}} [[College of Valour]] {{#if: {{{noparent|}}}||[[Bard]]}} | ||
Line 46: | Line 46: | ||
| Draconic Bloodline = {{Icon|Class Sorcerer Draconic Bloodline Hotbar Icon.png|{{{2|25}}}|link=Draconic Bloodline}} [[Draconic Bloodline]] {{#if: {{{noparent|}}}||[[Sorcerer]]}} | | Draconic Bloodline = {{Icon|Class Sorcerer Draconic Bloodline Hotbar Icon.png|{{{2|25}}}|link=Draconic Bloodline}} [[Draconic Bloodline]] {{#if: {{{noparent|}}}||[[Sorcerer]]}} | ||
| Storm Sorcery = {{Icon|Class Sorcerer Storm Sorcery Hotbar Icon.png|{{{2|25}}}|link=Storm Sorcery}} [[Storm Sorcery]] {{#if: {{{noparent|}}}||[[Sorcerer]]}} | | Storm Sorcery = {{Icon|Class Sorcerer Storm Sorcery Hotbar Icon.png|{{{2|25}}}|link=Storm Sorcery}} [[Storm Sorcery]] {{#if: {{{noparent|}}}||[[Sorcerer]]}} | ||
| Wild Magic Sorcerer = {{Icon|Class Sorcerer Wild Magic Hotbar Icon.png|{{{2|25}}}|link=Wild Magic}} [[Wild Magic (Sorcerer | | Wild Magic Sorcerer = {{Icon|Class Sorcerer Wild Magic Hotbar Icon.png|{{{2|25}}}|link=Wild Magic}} [[Wild Magic (Sorcerer subclass)|Wild Magic]] {{#if: {{{noparent|}}}||[[Sorcerer]]}} | ||
| Fiend = {{Icon|Class Warlock Fiend Hotbar Icon.png|{{{2|25}}}|link=The Fiend}} [[The Fiend|Fiend]] {{#if: {{{noparent|}}}||[[Warlock]]}} | | Fiend = {{Icon|Class Warlock Fiend Hotbar Icon.png|{{{2|25}}}|link=The Fiend}} [[The Fiend|Fiend]] {{#if: {{{noparent|}}}||[[Warlock]]}} | ||
| Great Old One = {{Icon|Class Warlock Great Old One Hotbar Icon.png|{{{2|25}}}|link=The Great Old One|Great Old One}} [[The Great Old One|Great Old One]] {{#if: {{{noparent|}}}||[[Warlock]]}} | | Great Old One = {{Icon|Class Warlock Great Old One Hotbar Icon.png|{{{2|25}}}|link=The Great Old One|Great Old One}} [[The Great Old One|Great Old One]] {{#if: {{{noparent|}}}||[[Warlock]]}} |
Revision as of 08:23, 23 November 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: Wizard
Second parameter is optional, for adjusting the size of the icon.
Usage:
{{Class|Barbarian|35}}
Result: File:Class Barbarian Hotbar Icon.png Barbarian
For subclasses, only name the subclass:
Usage:
{{Class|Oath of the Ancients}}
Result: Oath of the Ancients Paladin
"Wild Magic" is ambiguous, as there is a Barbarian and Sorcerer version; use "Wild Magic Barbarian" or "Wild Magic Sorcerer" to specify which you mean.
If you don't wish to have the parent class shown while displaying a subclass, use 'noparent':
Usage:
{{Class|Oath of the Ancients|noparent}}
Result: Oath of the Ancients
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 |
no parent link | noparent | (Optional) Ignore adding the parent class | Unknown | optional |