Template:Class: Difference between revisions

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


Line 68: 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]]
----
----
Auto-generated TemplateData documentation follows.
Auto-generated TemplateData documentation follows.


Line 92: Line 125:
"Berserker",
"Berserker",
"Wildheart",
"Wildheart",
"Wild Magic Barbarian",
"College of Lore",
"College of Lore",
"College of Valor",
"College of Valour",
"College of Swords",
"Knowledge Domain",
"Life Domain",
"Life Domain",
"Light Domain",
"Light Domain",
"Knowledge Domain",
"Nature Domain",
"Tempest Domain",
"Trickery Domain",
"Trickery Domain",
"War Domain",
"Circle of the Land",
"Circle of the Land",
"Circle of the Moon",
"Circle of the Moon",
"Circle of the Spores",
"Battle Master",
"Battle Master",
"Champion",
"Eldritch Knight",
"Eldritch Knight",
"Way of the Four Elements",
"Way of the Open Hand",
"Way of Shadow",
"Oath of the Ancients",
"Oath of the Ancients",
"Oath of Devotion",
"Oath of Devotion",
"Oath of Vengeance",
"Oathbreaker",
"Oathbreaker",
"Hunter",
"Hunter",
"Beast Master",
"Beast Master",
"Gloom Stalker",
"Assassin",
"Arcane Trickster",
"Arcane Trickster",
"Thief",
"Thief",
"Draconic Bloodline",
"Draconic Bloodline",
"Storm Sorcery",
"Wild Magic Barbarian",
                "Wild Magic Sorcerer",
"Fiend",
"Fiend",
"Great Old One",
"Great Old One",
"Abjuration",
"Abjuration",
"Conjuration",
"Divination",
"Enchantment",
"Evocation",
"Evocation",
"! SUBCLASS LIST CURRENTLY INCOMPLETE FOR THIS TEMPLATE - to be updated after release when each subclass has a page and icon !"
"Illusion",
"Necromancy",
"Transmutation"
],
],
"required": true,
"required": true,
Line 128: Line 182:
"label": "icon size",
"label": "icon size",
"description": "(Optional) The size of the icon to display. Default is 25 (pixels)."
"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."
"description": "Insert a pre-formatted link and icon to a class or subclass page."
}
}
</templatedata></noinclude>
</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