Template:Class: Difference between revisions
m (Final Circle of the Spores fix) |
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).) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#switch:{{{1|}}} | ||
| Barbarian = {{Icon|Barbarian Icon | | Barbarian = {{Icon|Class Barbarian Hotbar Icon.png|{{{2|25}}}|link=Barbarian}} [[Barbarian]] | ||
| Bard = {{Icon|Bard Icon | | Bard = {{Icon|Class Bard Hotbar Icon.png|{{{2|25}}}|link=Bard}} [[Bard]] | ||
| Cleric = {{Icon|Cleric Icon | | Cleric = {{Icon|Class Cleric Hotbar Icon.png|{{{2|25}}}|link=Cleric}} [[Cleric]] | ||
| Druid = {{Icon|Druid Icon | | Druid = {{Icon|Class Druid Hotbar Icon.png|{{{2|25}}}|link=Druid}} [[Druid]] | ||
| Fighter = {{Icon|Fighter Icon | | Fighter = {{Icon|Class Fighter Hotbar Icon.png|{{{2|25}}}|link=Fighter}} [[Fighter]] | ||
| Monk = {{Icon|Monk Icon | | Monk = {{Icon|Class Monk Hotbar Icon.png|{{{2|25}}}|link=Monk}} [[Monk]] | ||
| Paladin = {{Icon|Paladin Icon | | Paladin = {{Icon|Class Paladin Hotbar Icon.png|{{{2|25}}}|link=Paladin}} [[Paladin]] | ||
| Ranger = {{Icon|Ranger Icon | | Ranger = {{Icon|Class Ranger Hotbar Icon.png|{{{2|25}}}|link=Ranger}} [[Ranger]] | ||
| Rogue = {{Icon|Rogue Icon | | Rogue = {{Icon|Class Rogue Hotbar Icon.png|{{{2|25}}}|link=Rogue}} [[Rogue]] | ||
| Sorcerer = {{Icon|Sorcerer Icon | | Sorcerer = {{Icon|Class Sorcerer Hotbar Icon.png|{{{2|25}}}|link=Sorcerer}} [[Sorcerer]] | ||
| Warlock = {{Icon|Warlock Icon | | Warlock = {{Icon|Class Warlock Hotbar Icon.png|{{{2|25}}}|link=Warlock}} [[Warlock]] | ||
| Wizard = {{Icon|Wizard Icon | | Wizard = {{Icon|Class Wizard Hotbar Icon.png|{{{2|25}}}|link=Wizard}} [[Wizard]] | ||
| Berserker = {{Icon|Berserker Icon | | Berserker = {{Icon|Class Barbarian Berserker Hotbar Icon.png|{{{2|25}}}|link=Berserker}} [[Berserker]] [[Barbarian]] | ||
| Wildheart = {{Icon|Wildheart Icon | | Wildheart = {{Icon|Class Barbarian Wildheart Hotbar Icon.png|{{{2|25}}}|link=Wildheart}} [[Wildheart]] [[Barbarian]] | ||
| Wild Magic Barbarian = {{Icon|Wild Magic | | Wild Magic Barbarian = {{Icon|Class Barbarian Wild Magic Hotbar Icon.png|{{{2|25}}}|link=Wild Magic Barbarian}} [[Wild Magic Barbarian|Wild Magic]] [[Barbarian]] | ||
| College of Lore = {{Icon|Lore Icon | | College of Lore = {{Icon|Class Bard Lore Hotbar Icon.png|{{{2|25}}}|link=College of Lore}} [[College of Lore]] [[Bard]] | ||
| College of Valor = {{Icon| | | College of Valor = {{Icon|Class Bard Valour Hotbar Icon.png|{{{2|25}}}|link=College of Valour}} [[College of Valour]] [[Bard]] | ||
| College of Swords = {{Icon| | | College of Swords = {{Icon|Class Bard Swords Hotbar Icon.png|{{{2|25}}}|link=College of Swords}} [[College of Swords]] [[Bard]] | ||
| Knowledge Domain = {{Icon|Knowledge | | Knowledge Domain = {{Icon|Class Cleric Knowledge Hotbar Icon.png|{{{2|25}}}|link=Knowledge Domain}} [[Knowledge Domain]] [[Cleric]] | ||
| Life Domain = {{Icon|Life Icon | | Life Domain = {{Icon|Class Cleric Life Hotbar Icon.png|{{{2|25}}}|link=Life Domain}} [[Life Domain]] [[Cleric]] | ||
| Light Domain = {{Icon|Light Icon | | Light Domain = {{Icon|Class Cleric Light Hotbar Icon.png|{{{2|25}}}|link=Light Domain}} [[Light Domain]] [[Cleric]] | ||
| Nature Domain = {{Icon|Nature Domain Icon.png|{{{2|25}}}|link=Nature Domain}} [[Nature Domain]] [[Cleric]] | | Nature Domain = {{Icon|Class Cleric Nature Domain Hotbar Icon.png|{{{2|25}}}|link=Nature Domain}} [[Nature Domain]] [[Cleric]] | ||
| Tempest Domain = {{Icon|Tempest Icon | | Tempest Domain = {{Icon|Class Cleric Tempest Hotbar Icon.png|{{{2|25}}}|link=Tempest Domain}} [[Tempest Domain]] [[Cleric]] | ||
| Trickery Domain = {{Icon|Trickery Icon | | Trickery Domain = {{Icon|Class Cleric Trickery Hotbar Icon.png|{{{2|25}}}|link=Trickery Domain}} [[Trickery Domain]] [[Cleric]] | ||
| War Domain = {{Icon|War | | War Domain = {{Icon|Class Cleric War Hotbar Icon.png|{{{2|25}}}|link=War Domain}} [[War Domain]] [[Cleric]] | ||
| Circle of the Land = {{Icon| | | Circle of the Land = {{Icon|Class Druid Land Hotbar Icon.png|{{{2|25}}}|link=Circle of the Land}} [[Circle of the Land]] [[Druid]] | ||
| Circle of the Moon = {{Icon| | | Circle of the Moon = {{Icon|Class Druid Moon Hotbar Icon.png|{{{2|25}}}|link=Circle of the Moon}} [[Circle of the Moon]] [[Druid]] | ||
| Circle of the Spores = {{Icon| | | Circle of the Spores = {{Icon|Class Druid Spores Hotbar Icon.png|{{{2|25}}}|link=Circle the of Spores}} [[Circle of the Spores]] [[Druid]] | ||
| Battle Master = {{Icon|Battle Master Icon | | Battle Master = {{Icon|Class Fighter Battle Master Hotbar Icon.png|{{{2|25}}}|link=Battle Master}} [[Battle Master]] [[Fighter]] | ||
| Champion = {{Icon|Champion Icon.png|{{{2|25}}}|link=Champion}} [[Champion]] [[Fighter]] | | Champion = {{Icon|Class Fighter Champion Hotbar Icon.png|{{{2|25}}}|link=Champion}} [[Champion]] [[Fighter]] | ||
| Eldritch Knight = {{Icon|Eldritch Knight Icon | | Eldritch Knight = {{Icon|Class Fighter Eldritch Knight Hotbar Icon.png|{{{2|25}}}|link=Eldritch Knight}} [[Eldritch Knight]] [[Fighter]] | ||
| Way of the Four Elements = {{Icon|Four Elements Icon.png|{{{2|25}}}|link=Way of the Four Elements}} [[Way of the Four Elements]] [[Monk]] | | Way of the Four Elements = {{Icon|Class Monk Four Elements Hotbar Icon.png|{{{2|25}}}|link=Way of the Four Elements}} [[Way of the Four Elements]] [[Monk]] | ||
| Way of the Open Hand = {{Icon|Open Hand Icon.png|{{{2|25}}}|link=Way of the Open Hand}} [[Way of the Open Hand]] [[Monk]] | | Way of the Open Hand = {{Icon|Class Monk Open Hand Hotbar Icon.png|{{{2|25}}}|link=Way of the Open Hand}} [[Way of the Open Hand]] [[Monk]] | ||
| Way of Shadow = {{Icon|Monk | | Way of Shadow = {{Icon|Class Monk Shadow Hotbar Icon.png|{{{2|25}}}|link=Way of Shadow}} [[Way of Shadow]] [[Monk]] | ||
| Oath of the Ancients = {{Icon| | | Oath of the Ancients = {{Icon|Class Paladin Ancients Hotbar Icon.png|{{{2|25}}}|link=Oath of the Ancients}} [[Oath of the Ancients]] [[Paladin]] | ||
| Oath of Devotion = {{Icon| | | Oath of Devotion = {{Icon|Class Paladin Devotion Hotbar Icon.png|{{{2|25}}}|link=Oath of Devotion}} [[Oath of Devotion]] [[Paladin]] | ||
| Oath of Vengeance = {{Icon|Paladin | | Oath of Vengeance = {{Icon|Class Paladin Vengeance Hotbar Icon.png|{{{2|25}}}|link=Oath of Vengeance}} [[Oath of Vengeance]] [[Paladin]] | ||
| Oathbreaker = {{Icon|Oathbreaker Icon | | Oathbreaker = {{Icon|Class Paladin Oathbreaker Hotbar Icon.png|{{{2|25}}}|link=Oathbreaker}} [[Oathbreaker]] [[Paladin]] | ||
| Hunter = {{Icon|Hunter Icon | | Hunter = {{Icon|Class Ranger Hunter Hotbar Icon.png|{{{2|25}}}|link=Hunter}} [[Hunter]] [[Ranger]] | ||
| Beast Master = {{Icon|Beast Master Icon.png|{{{2|25}}}|link=Beast Master}} [[Beast Master]] [[Ranger]] | | Beast Master = {{Icon|Class Ranger Beast Master Hotbar Icon.png|{{{2|25}}}|link=Beast Master}} [[Beast Master]] [[Ranger]] | ||
| Gloom Stalker = {{Icon|Gloom Stalker Icon.png|{{{2|25}}}|link=Gloom Stalker}} [[Gloom Stalker]] [[Ranger]] | | Gloom Stalker = {{Icon|Class Ranger Gloom Stalker Hotbar Icon.png|{{{2|25}}}|link=Gloom Stalker}} [[Gloom Stalker]] [[Ranger]] | ||
| Arcane Trickster = {{Icon|Trickster Icon | | Arcane Trickster = {{Icon|Class Rogue Arcane Trickster Hotbar Icon.png|{{{2|25}}}|link=Arcane Trickster}} [[Arcane Trickster]] [[Rogue]] | ||
| Thief = {{Icon|Thief Icon | | Thief = {{Icon|Class Rogue Thief Hotbar Icon.png|{{{2|25}}}|link=Thief}} [[Thief]] [[Rogue]] | ||
| Assassin = {{Icon|Assassin Icon.png|{{{2|25}}}|link=Assassin}} [[Assassin]] [[Rogue]] | | Assassin = {{Icon|Class Rogue Assassin Hotbar Icon.png|{{{2|25}}}|link=Assassin}} [[Assassin]] [[Rogue]] | ||
| Draconic Bloodline = {{Icon|Draconic Bloodline Icon | | Draconic Bloodline = {{Icon|Class Sorcerer Draconic Bloodline Hotbar Icon.png|{{{2|25}}}|link=Draconic Bloodline}} [[Draconic Bloodline]] [[Sorcerer]] | ||
| Storm Sorcery = {{Icon|Storm Sorcery | | Storm Sorcery = {{Icon|Class Sorcerer Storm Sorcery Hotbar Icon.png|{{{2|25}}}|link=Storm Sorcery}} [[Storm Sorcery]] [[Sorcerer]] | ||
| Wild Magic = {{Icon|Wild Magic Icon | | Wild Magic = {{Icon|Class Sorcerer Wild Magic Hotbar Icon.png|{{{2|25}}}|link=Wild Magic}} [[Wild Magic]] [[Sorcerer]] | ||
| Fiend = {{Icon|Fiend Icon | | Fiend = {{Icon|Class Sorcerer Fiend Hotbar Icon.png|{{{2|25}}}|link=The Fiend}} [[The Fiend|Fiend]] [[Warlock]] | ||
| Great Old One = {{Icon|Great Old One Icon | | 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| | | Archfey = {{Icon|Class Warlock Archfey Hotbar Icon.png|{{{2|25}}}|link=The Archfey|Archfey}} [[The Archfey|Archfey]] [[Warlock]] | ||
| Abjuration = {{Icon|Abjuration | | Abjuration = {{Icon|Class Wizard Abjuration Hotbar Icon.png|{{{2|25}}}|link=Abjuration School}} [[Abjuration School]] [[Wizard]] | ||
| Conjuration = {{Icon|Wizard | | Conjuration = {{Icon|Class Wizard Conjuration Hotbar Icon.png|{{{2|25}}}|link=Conjuration School}} [[Conjuration School]] [[Wizard]] | ||
| Divination = {{Icon|Wizard | | Divination = {{Icon|Class Wizard Divination Hotbar Icon.png|{{{2|25}}}|link=Divination School}} [[Divination School]] [[Wizard]] | ||
| Enchantment = {{Icon|Wizard | | Enchantment = {{Icon|Class Wizard Enchantment Hotbar Icon.png|{{{2|25}}}|link=Enchantment School}} [[Enchantment School]] [[Wizard]] | ||
| Evocation = {{Icon|Evocation | | Evocation = {{Icon|Class Wizard Evocation Hotbar Icon.png|{{{2|25}}}|link=Evocation School}} [[Evocation School]] [[Wizard]] | ||
| Illusion = {{Icon|Wizard | | Illusion = {{Icon|Class Wizard Illusion Hotbar Icon.png|{{{2|25}}}|link=Illusion School}} [[Illusion School]] [[Wizard]] | ||
| Necromancy = {{Icon|Wizard | | Necromancy = {{Icon|Class Wizard Necromancy Hotbar Icon.png|{{{2|25}}}|link=Necromancy School}} [[Necromancy School]] [[Wizard]] | ||
| Transmutation = {{Icon|Wizard | | Transmutation = {{Icon|Class Wizard Transmutation Hotbar Icon.png|{{{2|25}}}|link=Transmutation School}} [[Transmutation School]] [[Wizard]] | ||
| {{{1|}}} | | {{{1|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Revision as of 18:21, 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 |