Template:Class: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(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 = {{Icon|Barbarian Icon Small.webp|{{{2|25}}}|link=Barbarian}} [[Barbarian]]
| Barbarian = [[Barbarian]]
| Bard = {{Icon|Bard Icon Small.webp|{{{2|25}}}|link=Bard}} [[Bard]]
| Bard = [[Bard]]
| Cleric = {{Icon|Cleric Icon Small.webp|{{{2|25}}}|link=Cleric}} [[Cleric]]
| Cleric = [[Cleric]]
| Druid = {{Icon|Druid Icon Small.webp|{{{2|25}}}|link=Druid}} [[Druid]]
| Druid = [[Druid]]
| Fighter = {{Icon|Fighter Icon Small.webp|{{{2|25}}}|link=Fighter}} [[Fighter]]
| Fighter = [[Fighter]]
| Monk = {{Icon|Monk Icon Small.webp|{{{2|25}}}|link=Monk}} [[Monk]]
| Monk = [[Monk]]
| Paladin = {{Icon|Paladin Icon Small.webp|{{{2|25}}}|link=Paladin}} [[Paladin]]
| Paladin = [[Paladin]]
| Ranger = {{Icon|Ranger Icon Small.webp|{{{2|25}}}|link=Ranger}} [[Ranger]]
| Ranger = [[Ranger]]
| Rogue = {{Icon|Rogue Icon Small.webp|{{{2|25}}}|link=Rogue}} [[Rogue]]
| Rogue = [[Rogue]]
| Sorcerer = {{Icon|Sorcerer Icon Small.webp|{{{2|25}}}|link=Sorcerer}} [[Sorcerer]]
| Sorcerer = [[Sorcerer]]
| Warlock = {{Icon|Warlock Icon Small.webp|{{{2|25}}}|link=Warlock}} [[Warlock]]
| Warlock = [[Warlock]]
| Wizard = {{Icon|Wizard Icon Small.webp|{{{2|25}}}|link=Wizard}} [[Wizard]]
| Wizard = [[Wizard]]
| Berserker = {{Icon|Berserker Icon Small.webp|{{{2|25}}}|link=Berserker}} [[Berserker]] [[Barbarian]]
| Berserker = [[Berserker]] {{#if: {{{noparent|}}}||[[Barbarian]]}}
| Wildheart = {{Icon|Wildheart Icon Small.webp|{{{2|25}}}|link=Wildheart}} [[Wildheart]] [[Barbarian]]
| Wildheart = [[Wildheart]] {{#if: {{{noparent|}}}||[[Barbarian]]}}
| College of Lore = {{Icon|Lore Icon Small.webp|{{{2|25}}}|link=College of Lore}} [[College of Lore]] [[Bard]]
| Wild Magic Barbarian = [[Wild Magic (Barbarian subclass)|Wild Magic]] {{#if: {{{noparent|}}}||[[Barbarian]]}}
| College of Valor = {{Icon|Valor Icon Small.webp|{{{2|25}}}|link=College of Valour}} [[College of Valour]] [[Bard]]
| College of Lore = [[College of Lore]] {{#if: {{{noparent|}}}||[[Bard]]}}
| Life Domain = {{Icon|Life Icon Small.webp|{{{2|25}}}|link=Life Domain}} [[Life Domain]] [[Cleric]]
| College of Valour = [[College of Valour]] {{#if: {{{noparent|}}}||[[Bard]]}}
| Light Domain = {{Icon|Light Icon Small.webp|{{{2|25}}}|link=Light Domain}} [[Light Domain]] [[Cleric]]
| College of Swords = [[College of Swords]] {{#if: {{{noparent|}}}||[[Bard]]}}
| Trickery Domain = {{Icon|Trickery Icon Small.webp|{{{2|25}}}|link=Trickery Domain}} [[Trickery Domain]] [[Cleric]]
| Knowledge Domain = [[Knowledge Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}}
| Circle of the Land = {{Icon|Circle Of the Land Icon Small.webp|{{{2|25}}}|link=Circle of the Land}} [[Circle of the Land]] [[Druid]]
| Life Domain = [[Life Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}}
| Circle of the Moon = {{Icon|Circle Of the Moon Icon Small.webp|{{{2|25}}}|link=Circle of the Moon}} [[Circle of the Moon]] [[Druid]]
| Light Domain = [[Light Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}}
| Battle Master = {{Icon|Battle Master Icon Small.webp|{{{2|25}}}|link=Battle Master}} [[Battle Master]] [[Fighter]]
| Nature Domain = [[Nature Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}}
| Eldritch Knight = {{Icon|Eldritch Knight Icon Small.webp|{{{2|25}}}|link=Eldritch Knight}} [[Eldritch Knight]] [[Fighter]]
| Tempest Domain = [[Tempest Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}}
| Oath of the Ancients = {{Icon|Oath of the Ancients Icon Small.webp|{{{2|25}}}|link=Oath of the Ancients}} [[Oath of the Ancients]] [[Paladin]]
| Trickery Domain = [[Trickery Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}}
| Oath of Devotion = {{Icon|Oath of Devotion Icon Small.webp|{{{2|25}}}|link=Oath of Devotion}} [[Oath of Devotion]] [[Paladin]]
| War Domain =[[War Domain]] {{#if: {{{noparent|}}}||[[Cleric]]}}
| Oathbreaker = {{Icon|Oathbreaker Icon Small.webp|{{{2|25}}}|link=Oathbreaker}} [[Oathbreaker]] [[Paladin]]
| Circle of the Land = [[Circle of the Land]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Hunter = {{Icon|Hunter Icon Small.webp|{{{2|25}}}|link=Hunter}} [[Hunter]] [[Ranger]]
| Circle of the Moon = [[Circle of the Moon]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Beast Master = {{Icon|Beast Master Icon Small.webp|{{{2|25}}}|link=Beast Master}} [[Beast Master]] [[Ranger]]
| Circle of the Spores = [[Circle of the Spores]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Arcane Trickster = {{Icon|Trickster Icon Small.webp|{{{2|25}}}|link=Arcane Trickster}} [[Arcane Trickster]] [[Rogue]]
| Battle Master = [[Battle Master]] {{#if: {{{noparent|}}}||[[Fighter]]}}
| Thief = {{Icon|Thief Icon Small.webp|{{{2|25}}}|link=Thief}} [[Thief]] [[Rogue]]
| Champion = [[Champion]] {{#if: {{{noparent|}}}||[[Fighter]]}}
| Draconic Bloodline = {{Icon|Draconic Bloodline Icon Small.webp|{{{2|25}}}|link=Draconic Bloodline}} [[Draconic Bloodline]] [[Sorcerer]]
| Eldritch Knight = [[Eldritch Knight]] {{#if: {{{noparent|}}}||[[Fighter]]}}
| Wild Magic = {{Icon|Wild Magic Icon Small.webp|{{{2|25}}}|link=Wild Magic}} [[Wild Magic]] [[Sorcerer]]
| Way of the Four Elements = [[Way of the Four Elements]] {{#if: {{{noparent|}}}||[[Monk]]}}
| Fiend = {{Icon|Fiend Icon Small.webp|{{{2|25}}}|link=The Fiend}} [[The Fiend|Fiend]] [[Warlock]]
| Way of the Open Hand = [[Way of the Open Hand]] {{#if: {{{noparent|}}}||[[Monk]]}}
| Great Old One = {{Icon|The Great Old One Icon Small.webp|{{{2|25}}}|link=The Great Old One|Great Old One}} [[The Great Old One]] [[Warlock]]
| Way of Shadow = [[Way of Shadow]] {{#if: {{{noparent|}}}||[[Monk]]}}
| Abjuration = {{Icon|Abjuration School Icon Small.webp|{{{2|25}}}|link=Abjuration School}} [[Abjuration School]] [[Wizard]]
| Oath of the Ancients = [[Oath of the Ancients]] {{#if: {{{noparent|}}}||[[Paladin]]}}
| Evocation = {{Icon|Evocation School Icon Small.webp|{{{2|25}}}|link=Evocation School}} [[Evocation School]] [[Wizard]]
| 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 just name the subclass (case sensitive!):
----
 
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

Template documentation

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.

Template parameters

ParameterDescriptionTypeStatus
class or subclass1

The class or subclass page you want to link to. Subclasses will automatically insert the parent class name for you.

Suggested values
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
Stringrequired
icon size2

(Optional) The size of the icon to display. Default is 25 (pixels).

Suggested values
25 35
Numberoptional
no parent linknoparent

(Optional) Ignore adding the parent class

Unknownoptional