Template:Class: Difference between revisions
(Update terms per style guide as discussed) |
No edit summary |
||
(39 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#switch:{{{1|}}} | ||
| Barbarian = | | Barbarian = [[Barbarian]] | ||
| Bard = | | Bard = [[Bard]] | ||
| Cleric = | | Cleric = [[Cleric]] | ||
| Druid = | | Druid = [[Druid]] | ||
| Fighter = | | Fighter = [[Fighter]] | ||
| Monk = | | Monk = [[Monk]] | ||
| Paladin = | | Paladin = [[Paladin]] | ||
| Ranger = | | Ranger = [[Ranger]] | ||
| Rogue = | | Rogue = [[Rogue]] | ||
| Sorcerer = | | Sorcerer = [[Sorcerer]] | ||
| Warlock = | | Warlock = [[Warlock]] | ||
| | | Wizard = [[Wizard]] | ||
| | | Berserker = [[Berserker]] {{#if: {{{noparent|}}}||[[Barbarian]]}} | ||
| Wildheart = [[Wildheart]] {{#if: {{{noparent|}}}||[[Barbarian]]}} | |||
| College of Lore = {{ | | Wild Magic Barbarian = [[Wild Magic (Barbarian subclass)|Wild Magic]] {{#if: {{{noparent|}}}||[[Barbarian]]}} | ||
| College of | | College of Lore = [[College of Lore]] {{#if: {{{noparent|}}}||[[Bard]]}} | ||
| | | College of Valour = [[College of Valour]] {{#if: {{{noparent|}}}||[[Bard]]}} | ||
| Light Domain = {{ | | College of Swords = [[College of Swords]] {{#if: {{{noparent|}}}||[[Bard]]}} | ||
| | | Knowledge Domain = [[Knowledge Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}} | ||
| | | Life Domain = [[Life Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}} | ||
| Circle of the Moon = | | Light Domain = [[Light Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}} | ||
| Battle Master = {{ | | Nature Domain = [[Nature Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}} | ||
| Eldritch Knight = {{ | | Tempest Domain = [[Tempest Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}} | ||
| | | Trickery Domain = [[Trickery Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}} | ||
| Oath of Devotion = | | War Domain =[[War Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}} | ||
| Oathbreaker = {{ | | Circle of the Land = [[Circle of the Land]] {{#if: {{{noparent|}}}||[[Druid]]}} | ||
| Hunter = {{ | | Circle of the Moon = [[Circle of the Moon]] {{#if: {{{noparent|}}}||[[Druid]]}} | ||
| Beast Master = {{ | | Circle of the Spores = [[Circle of the Spores]] {{#if: {{{noparent|}}}||[[Druid]]}} | ||
| Arcane Trickster = {{ | | Battle Master = [[Battle Master]] {{#if: {{{noparent|}}}||[[Fighter]]}} | ||
| Thief = {{ | | Champion = [[Champion]] {{#if: {{{noparent|}}}||[[Fighter]]}} | ||
| Draconic Bloodline = {{ | | Eldritch Knight = [[Eldritch Knight]] {{#if: {{{noparent|}}}||[[Fighter]]}} | ||
| Wild Magic = | | Way of the Four Elements = [[Way of the Four Elements]] {{#if: {{{noparent|}}}||[[Monk]]}} | ||
| Fiend = {{ | | Way of the Open Hand = [[Way of the Open Hand]] {{#if: {{{noparent|}}}||[[Monk]]}} | ||
| Great Old One = | | Way of Shadow = [[Way of Shadow]] {{#if: {{{noparent|}}}||[[Monk]]}} | ||
| Abjuration = {{ | | Oath of the Ancients = [[Oath of the Ancients]] {{#if: {{{noparent|}}}||[[Paladin]]}} | ||
| Evocation = {{ | | Oath of Devotion = [[Oath of Devotion]] {{#if: {{{noparent|}}}||[[Paladin]]}} | ||
| Oath of Vengeance = [[Oath of Vengeance]] {{#if: {{{noparent|}}}||[[Paladin]]}} | |||
| Oathbreaker = [[Oathbreaker]] {{#if: {{{noparent|}}}||[[Paladin]]}} | |||
| Hunter = [[Hunter]] {{#if: {{{noparent|}}}||[[Ranger]]}} | |||
| Beast Master = [[Beast Master]] {{#if: {{{noparent|}}}||[[Ranger]]}} | |||
| Gloom Stalker = [[Gloom Stalker]] {{#if: {{{noparent|}}}||[[Ranger]]}} | |||
| Arcane Trickster = [[Arcane Trickster]] {{#if: {{{noparent|}}}||[[Rogue]]}} | |||
| Thief = [[Thief]] {{#if: {{{noparent|}}}||[[Rogue]]}} | |||
| Assassin = [[Assassin]] {{#if: {{{noparent|}}}||[[Rogue]]}} | |||
| Draconic Bloodline = [[Draconic Bloodline]] {{#if: {{{noparent|}}}||[[Sorcerer]]}} | |||
| Storm Sorcery = [[Storm Sorcery]] {{#if: {{{noparent|}}}||[[Sorcerer]]}} | |||
| Wild Magic Sorcerer = [[Wild Magic (Sorcerer subclass)|Wild Magic]] {{#if: {{{noparent|}}}||[[Sorcerer]]}} | |||
| Fiend = [[The Fiend|Fiend]] {{#if: {{{noparent|}}}||[[Warlock]]}} | |||
| Great Old One = [[The Great Old One|Great Old One]] {{#if: {{{noparent|}}}||[[Warlock]]}} | |||
| Archfey =[[The Archfey|Archfey]] {{#if: {{{noparent|}}}||[[Warlock]]}} | |||
| Abjuration = [[Abjuration School]] {{#if: {{{noparent|}}}||[[Wizard]]}} | |||
| Conjuration = [[Conjuration School]] {{#if: {{{noparent|}}}||[[Wizard]]}} | |||
| Divination =[[Divination School]] {{#if: {{{noparent|}}}||[[Wizard]]}} | |||
| Enchantment = [[Enchantment School]] {{#if: {{{noparent|}}}||[[Wizard]]}} | |||
| Evocation = [[Evocation School]] {{#if: {{{noparent|}}}||[[Wizard]]}} | |||
| Illusion = [[Illusion School]] {{#if: {{{noparent|}}}||[[Wizard]]}} | |||
| Necromancy = [[Necromancy School]] {{#if: {{{noparent|}}}||[[Wizard]]}} | |||
| Transmutation = [[Transmutation School]] {{#if: {{{noparent|}}}||[[Wizard]]}} | |||
| {{{1|}}} | | {{{1|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude>{{documentation|content=Should not be used in articles. | ||
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: | Usage: | ||
Line 43: | Line 67: | ||
Result: {{Class|Wizard}} | Result: {{Class|Wizard}} | ||
---- | |||
Second parameter is optional, for adjusting the size of the icon. | |||
Usage: | |||
{{code|<nowiki>{{Class|Barbarian|35}}</nowiki>}} | {{code|<nowiki>{{Class|Barbarian|35}}</nowiki>}} | ||
Line 48: | Line 78: | ||
Result: {{Class|Barbarian|35}} | Result: {{Class|Barbarian|35}} | ||
For subclasses | ---- | ||
For subclasses, only name the subclass: | |||
Usage: | Usage: | ||
Line 55: | Line 87: | ||
Result: {{Class|Oath of the Ancients}} | Result: {{Class|Oath of the Ancients}} | ||
"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: | |||
{{code|<nowiki>{{Class|Oath of the Ancients|noparent=yes}}</nowiki>}} | |||
Result: {{Class|Oath of the Ancients|noparent=yes}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | ---- | ||
Auto-generated TemplateData documentation follows. | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Barbarian", | |||
"Bard", | |||
"Cleric", | |||
"Druid", | |||
"Fighter", | |||
"Monk", | |||
"Paladin", | |||
"Ranger", | |||
"Rogue", | |||
"Sorcerer", | |||
"Warlock", | |||
"Wizard", | |||
"Berserker", | |||
"Wildheart", | |||
"Wild Magic Barbarian", | |||
"College of Lore", | |||
"College of Valour", | |||
"College of Swords", | |||
"Knowledge Domain", | |||
"Life Domain", | |||
"Light Domain", | |||
"Nature Domain", | |||
"Tempest Domain", | |||
"Trickery Domain", | |||
"War Domain", | |||
"Circle of the Land", | |||
"Circle of the Moon", | |||
"Circle of the Spores", | |||
"Battle Master", | |||
"Champion", | |||
"Eldritch Knight", | |||
"Way of the Four Elements", | |||
"Way of the Open Hand", | |||
"Way of Shadow", | |||
"Oath of the Ancients", | |||
"Oath of Devotion", | |||
"Oath of Vengeance", | |||
"Oathbreaker", | |||
"Hunter", | |||
"Beast Master", | |||
"Gloom Stalker", | |||
"Assassin", | |||
"Arcane Trickster", | |||
"Thief", | |||
"Draconic Bloodline", | |||
"Storm Sorcery", | |||
"Wild Magic Barbarian", | |||
"Wild Magic Sorcerer", | |||
"Fiend", | |||
"Great Old One", | |||
"Abjuration", | |||
"Conjuration", | |||
"Divination", | |||
"Enchantment", | |||
"Evocation", | |||
"Illusion", | |||
"Necromancy", | |||
"Transmutation" | |||
], | |||
"required": true, | |||
"label": "class or subclass", | |||
"description": "The class or subclass page you want to link to. Subclasses will automatically insert the parent class name for you." | |||
}, | |||
"2": { | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"25", | |||
"35" | |||
], | |||
"label": "icon size", | |||
"description": "(Optional) The size of the icon to display. Default is 25 (pixels)." | |||
}, | |||
"noparent": { | |||
"label": "no parent link", | |||
"description": "(Optional) Ignore adding the parent class" | |||
} | |||
}, | |||
"description": "Insert a pre-formatted link and icon to a class or subclass page." | |||
} | |||
</templatedata>}}</noinclude> |
Latest revision as of 17:54, 5 January 2024
Should not be used in articles. 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: 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=yes}}
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 |