Template:Class: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Fixed incorrect icon for sorcerer)
 
Line 9: Line 9:
| Ranger = {{#lvardef: icon | Class Ranger Hotbar Icon.png}}
| Ranger = {{#lvardef: icon | Class Ranger Hotbar Icon.png}}
| Rogue = {{#lvardef: icon | Class Rogue Hotbar Icon.png}}
| Rogue = {{#lvardef: icon | Class Rogue Hotbar Icon.png}}
| Sorcerer = {{#lvardef: icon | Class Warlock Hotbar Icon.png}}
| Sorcerer = {{#lvardef: icon | Class Sorcerer Hotbar Icon.png}}
| Warlock = {{#lvardef: icon | Class Warlock Hotbar Icon.png}}
| Warlock = {{#lvardef: icon | Class Warlock Hotbar Icon.png}}
| Wizard = {{#lvardef: icon | Class Wizard Hotbar Icon.png}}
| Wizard = {{#lvardef: icon | Class Wizard Hotbar Icon.png}}

Latest revision as of 16:29, 18 September 2024

Template documentation

Insert a link to one of the classes, accompanied by the associated icon.

Usage

This is intended mainly for lists, not in-line in body content as per the Style Manual. The skill name is case sensitive and needs to exactly match (e.g. The Archfey, not The-Archfey).

Examples

Example Markup Renders as
Basic usage
{{Class|Wizard}}
Wizard Wizard
Adjusted icon size
{{Class|Barbarian|w=40}}
Barbarian Barbarian
Link alias
{{Class|Oath of the Ancients|Ancients}}
Ancients Ancients
Alias and adjusted size
{{Class|Wild Magic (barbarian subclass)|Wild Magic|w=20}}
Wild Magic Wild Magic

Exhaustive list

For sanity check:

See also

Template data

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 Wild Magic (barbarian subclass) 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 Sorcerer Wild Magic (sorcerer subclass) The Archfey The Fiend The Great Old One Abjuration School Conjuration School Divination School Enchantment School Evocation School Illusion School Necromancy School Transmutation School
Stringrequired
icon size2

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

Suggested values
25 35
Numberoptional