Template:Class: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Correcting Circle of the Spores, this time correctly)
mNo edit summary
Line 27: Line 27:
| Circle of the Land = {{Icon|Class Druid Land Hotbar Icon.png|{{{2|25}}}|link=Circle of the Land}} [[Circle of the Land]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Circle of the Land = {{Icon|Class Druid Land Hotbar Icon.png|{{{2|25}}}|link=Circle of the Land}} [[Circle of the Land]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Circle of the Moon = {{Icon|Class Druid Moon Hotbar Icon.png|{{{2|25}}}|link=Circle of the Moon}} [[Circle of the Moon]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Circle of the Moon = {{Icon|Class Druid Moon Hotbar Icon.png|{{{2|25}}}|link=Circle of the Moon}} [[Circle of the Moon]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Circle of Spores = {{Icon|Class Druid Spores Hotbar Icon.png|{{{2|25}}}|link=Circle of the Spores}} [[Circle of the Spores]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Circle of the Spores = {{Icon|Class Druid Spores Hotbar Icon.png|{{{2|25}}}|link=Circle of the Spores}} [[Circle of the Spores]] {{#if: {{{noparent|}}}||[[Druid]]}}
| Battle Master = {{Icon|Class Fighter Battle Master Hotbar Icon.png|{{{2|25}}}|link=Battle Master}} [[Battle Master]] {{#if: {{{noparent|}}}||[[Fighter]]}}
| Battle Master = {{Icon|Class Fighter Battle Master Hotbar Icon.png|{{{2|25}}}|link=Battle Master}} [[Battle Master]] {{#if: {{{noparent|}}}||[[Fighter]]}}
| Champion = {{Icon|Class Fighter Champion Hotbar Icon.png|{{{2|25}}}|link=Champion}} [[Champion]] {{#if: {{{noparent|}}}||[[Fighter]]}}
| Champion = {{Icon|Class Fighter Champion Hotbar Icon.png|{{{2|25}}}|link=Champion}} [[Champion]] {{#if: {{{noparent|}}}||[[Fighter]]}}

Revision as of 07:25, 23 December 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 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 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 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