Template:Class: Difference between revisions
Llamageddon (talk | contribs) (Links for normalised class icon names. Images optimised; approx. 1/2 filesize. Corrected for alpha/gamma glitches, other artifacts (WIP) (Manually checked for broken links, hopefully no typos).) |
m (Fixed Nature Domain and The Fiend icon names) |
||
Line 21: | Line 21: | ||
| Life Domain = {{Icon|Class Cleric Life Hotbar Icon.png|{{{2|25}}}|link=Life Domain}} [[Life Domain]] [[Cleric]] | | Life Domain = {{Icon|Class Cleric Life Hotbar Icon.png|{{{2|25}}}|link=Life Domain}} [[Life Domain]] [[Cleric]] | ||
| Light Domain = {{Icon|Class Cleric Light Hotbar Icon.png|{{{2|25}}}|link=Light Domain}} [[Light Domain]] [[Cleric]] | | Light Domain = {{Icon|Class Cleric Light Hotbar Icon.png|{{{2|25}}}|link=Light Domain}} [[Light Domain]] [[Cleric]] | ||
| Nature Domain = {{Icon|Class Cleric Nature | | Nature Domain = {{Icon|Class Cleric Nature Hotbar Icon.png|{{{2|25}}}|link=Nature Domain}} [[Nature Domain]] [[Cleric]] | ||
| Tempest Domain = {{Icon|Class Cleric Tempest Hotbar Icon.png|{{{2|25}}}|link=Tempest Domain}} [[Tempest Domain]] [[Cleric]] | | Tempest Domain = {{Icon|Class Cleric Tempest Hotbar Icon.png|{{{2|25}}}|link=Tempest Domain}} [[Tempest Domain]] [[Cleric]] | ||
| Trickery Domain = {{Icon|Class Cleric Trickery Hotbar Icon.png|{{{2|25}}}|link=Trickery Domain}} [[Trickery Domain]] [[Cleric]] | | Trickery Domain = {{Icon|Class Cleric Trickery Hotbar Icon.png|{{{2|25}}}|link=Trickery Domain}} [[Trickery Domain]] [[Cleric]] | ||
Line 47: | Line 47: | ||
| Storm Sorcery = {{Icon|Class Sorcerer Storm Sorcery Hotbar Icon.png|{{{2|25}}}|link=Storm Sorcery}} [[Storm Sorcery]] [[Sorcerer]] | | Storm Sorcery = {{Icon|Class Sorcerer Storm Sorcery Hotbar Icon.png|{{{2|25}}}|link=Storm Sorcery}} [[Storm Sorcery]] [[Sorcerer]] | ||
| Wild Magic = {{Icon|Class Sorcerer Wild Magic Hotbar Icon.png|{{{2|25}}}|link=Wild Magic}} [[Wild Magic]] [[Sorcerer]] | | Wild Magic = {{Icon|Class Sorcerer Wild Magic Hotbar Icon.png|{{{2|25}}}|link=Wild Magic}} [[Wild Magic]] [[Sorcerer]] | ||
| Fiend = {{Icon|Class | | Fiend = {{Icon|Class Warlock Fiend Hotbar Icon.png|{{{2|25}}}|link=The Fiend}} [[The Fiend|Fiend]] [[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]] [[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]] [[Warlock]] | ||
| Archfey = {{Icon|Class Warlock Archfey Hotbar Icon.png|{{{2|25}}}|link=The Archfey|Archfey}} [[The Archfey|Archfey]] [[Warlock]] | | Archfey = {{Icon|Class Warlock Archfey Hotbar Icon.png|{{{2|25}}}|link=The Archfey|Archfey}} [[The Archfey|Archfey]] [[Warlock]] | ||
Line 89: | Line 89: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
---- | ---- | ||
Auto-generated TemplateData documentation follows. | Auto-generated TemplateData documentation follows. | ||
Revision as of 18:39, 30 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: 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
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 |