⚠️ Please see plans to display ads on bg3.wiki. ⚠️

Template:Quote class: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Updated template data)
m (Disabled image rounding)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{NoExcerpt|{{Quote fancy
<includeonly>{{NoExcerpt|{{Quote fancy
| quote = {{#switch: {{trim|{{{1|}}}}}
| quote = {{{quote|{{#switch: {{trim|{{{1|}}}}}
<!-- Quotes extracted from patch 6 game files -->
<!-- Quotes extracted from patch 6 game files -->
<!-- Barbarian -->
<!-- Barbarian -->
Line 94: Line 94:
| Illusion School = You specialise in unravelling and restitching the fabric of reality to fool the unwary, the gullible, and the monstrous.
| Illusion School = You specialise in unravelling and restitching the fabric of reality to fool the unwary, the gullible, and the monstrous.
| Transmutation School = Your innate fascination with the structure of things has granted you an incredible power over crude matter and its manipulation.
| Transmutation School = Your innate fascination with the structure of things has granted you an incredible power over crude matter and its manipulation.
}}
}}}}}
| image = {{{1|}}} Icon.png
| image = {{{image|{{{1|}}} Icon.png}}}
| image-position = right
| image-position = right
| height = 160
| height = 160
| font-size = 120%
| font-size = 120%
| image-border-shape = none
| link = {{{1|}}}
| link = {{{1|}}}
| align = center
| align = {{{align|center}}}
}}}}</includeonly><noinclude>{{documentation|content=
}}}}</includeonly><noinclude>{{documentation|content=
Display a class/subclass description quote accompanied by the beautiful class icon. This is intended for use in class pages where <nowiki>{{PAGENAME}}</nowiki> is used as the parameter to the template.
Display a class/subclass description quote accompanied by the beautiful class icon.


This template is a subtype of [[Template:Quote fancy]].
This template is a subtype of [[Template:Quote fancy]].
== Usage ==
This template has a table of all the class quotes in the game extracted directly from the game files so the only required parameter is the name of the class. This parameter should match the name of a class/subclass page exactly. This is intended for use in class pages where {{c|<nowiki>{{PAGENAME}}</nowiki>}} can be used as the parameter.
Alternatively, the quote and class image can be overridden with the parameters {{c|quote}} and {{c|image}}, but generally you should stick with the default behaviour.


== Examples ==
== Examples ==
{{Template demo
{{Template demo
| style = list
| style = list
| caption 1 = A base class quote.
| <nowiki>{{Quote class|Warlock}}</nowiki>
| <nowiki>{{Quote class|Warlock}}</nowiki>
| caption 2 = A subclass quote.
| <nowiki>{{Quote class|College of Swords}}</nowiki>
| <nowiki>{{Quote class|College of Swords}}</nowiki>
| caption 3 = A custom quote with a custom image.
| <nowiki>
{{Quote class
| quote = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
| image = Barbarian Class Icon alt.png
}}
</nowiki>
}}
}}


Line 116: Line 131:
The quote blocks for every class and subclass are displayed below for easy verification.
The quote blocks for every class and subclass are displayed below for easy verification.
=== Barbarian ===
=== Barbarian ===
{{Quote class|Barbarian}}
{{Quote class|Barbarian|align=right}}
{{Quote class|Berserker}}
{{Quote class|Berserker|align=right}}
{{Quote class|Wildheart}}
{{Quote class|Wildheart|align=right}}
{{Quote class|Wild Magic Barbarian}}
{{Quote class|Wild Magic Barbarian|align=right}}


=== Bard ===
=== Bard ===
{{Quote class|Bard}}
{{Quote class|Bard|align=right}}
{{Quote class|College of Lore}}
{{Quote class|College of Lore|align=right}}
{{Quote class|College of Valour}}
{{Quote class|College of Valour|align=right}}
{{Quote class|College of Swords}}
{{Quote class|College of Swords|align=right}}


=== Cleric ===
=== Cleric ===
{{Quote class|Cleric}}
{{Quote class|Cleric|align=right}}
{{Quote class|Life Domain}}
{{Quote class|Life Domain|align=right}}
{{Quote class|Light Domain}}
{{Quote class|Light Domain|align=right}}
{{Quote class|Trickery Domain}}
{{Quote class|Trickery Domain|align=right}}
{{Quote class|Knowledge Domain}}
{{Quote class|Knowledge Domain|align=right}}
{{Quote class|Nature Domain}}
{{Quote class|Nature Domain|align=right}}
{{Quote class|Tempest Domain}}
{{Quote class|Tempest Domain|align=right}}
{{Quote class|War Domain}}
{{Quote class|War Domain|align=right}}


=== Druid ===
=== Druid ===
{{Quote class|Druid}}
{{Quote class|Druid|align=right}}
{{Quote class|Circle of the Land}}
{{Quote class|Circle of the Land|align=right}}
{{Quote class|Circle of the Moon}}
{{Quote class|Circle of the Moon|align=right}}
{{Quote class|Circle of the Spores}}
{{Quote class|Circle of the Spores|align=right}}


=== Fighter ===
=== Fighter ===
{{Quote class|Fighter}}
{{Quote class|Fighter|align=right}}
{{Quote class|Battle Master}}
{{Quote class|Battle Master|align=right}}
{{Quote class|Eldritch Knight}}
{{Quote class|Eldritch Knight|align=right}}
{{Quote class|Champion}}
{{Quote class|Champion|align=right}}


=== Monk ===
=== Monk ===
{{Quote class|Monk}}
{{Quote class|Monk|align=right}}
{{Quote class|Way of the Four Elements}}
{{Quote class|Way of the Four Elements|align=right}}
{{Quote class|Way of the Open Hand}}
{{Quote class|Way of the Open Hand|align=right}}
{{Quote class|Way of Shadow}}
{{Quote class|Way of Shadow|align=right}}


=== Paladin ===
=== Paladin ===
{{Quote class|Paladin}}
{{Quote class|Paladin|align=right}}
{{Quote class|Oath of the Ancients}}
{{Quote class|Oath of the Ancients|align=right}}
{{Quote class|Oath of Devotion}}
{{Quote class|Oath of Devotion|align=right}}
{{Quote class|Oath of Vengeance}}
{{Quote class|Oath of Vengeance|align=right}}
{{Quote class|Oathbreaker}}
{{Quote class|Oathbreaker|align=right}}


=== Ranger ===
=== Ranger ===
{{Quote class|Ranger}}
{{Quote class|Ranger|align=right}}
{{Quote class|Hunter}}
{{Quote class|Hunter|align=right}}
{{Quote class|Beast Master}}
{{Quote class|Beast Master|align=right}}
{{Quote class|Gloom Stalker}}
{{Quote class|Gloom Stalker|align=right}}


=== Rogue ===
=== Rogue ===
{{Quote class|Rogue}}
{{Quote class|Rogue|align=right}}
{{Quote class|Arcane Trickster}}
{{Quote class|Arcane Trickster|align=right}}
{{Quote class|Thief}}
{{Quote class|Thief|align=right}}
{{Quote class|Assassin}}
{{Quote class|Assassin|align=right}}


=== Sorcerer ===
=== Sorcerer ===
{{Quote class|Sorcerer}}
{{Quote class|Sorcerer|align=right}}
{{Quote class|Wild Magic Sorcerer}}
{{Quote class|Wild Magic Sorcerer|align=right}}
{{Quote class|Draconic Bloodline}}
{{Quote class|Draconic Bloodline|align=right}}
{{Quote class|Storm Sorcery}}
{{Quote class|Storm Sorcery|align=right}}


=== Warlock ===
=== Warlock ===
{{Quote class|Warlock}}
{{Quote class|Warlock|align=right}}
{{Quote class|The Fiend}}
{{Quote class|The Fiend|align=right}}
{{Quote class|The Great Old One}}
{{Quote class|The Great Old One|align=right}}
{{Quote class|The Archfey}}
{{Quote class|The Archfey|align=right}}


=== Wizard ===
=== Wizard ===
{{Quote class|Wizard}}
{{Quote class|Wizard|align=right}}
{{Quote class|Abjuration School}}
{{Quote class|Abjuration School|align=right}}
{{Quote class|Evocation School}}
{{Quote class|Evocation School|align=right}}
{{Quote class|Necromancy School}}
{{Quote class|Necromancy School|align=right}}
{{Quote class|Conjuration School}}
{{Quote class|Conjuration School|align=right}}
{{Quote class|Enchantment School}}
{{Quote class|Enchantment School|align=right}}
{{Quote class|Divination School}}
{{Quote class|Divination School|align=right}}
{{Quote class|Illusion School}}
{{Quote class|Illusion School|align=right}}
{{Quote class|Transmutation School}}
{{Quote class|Transmutation School|align=right}}


== Template data ==
== Template data ==
Line 204: Line 219:
"label": "Class",
"label": "Class",
"description": "The name of a class or subclass. It should match exactly the pagename of the class. When used on a class page, you can use {{PAGENAME}} for this parameter.",
"description": "The name of a class or subclass. It should match exactly the pagename of the class. When used on a class page, you can use {{PAGENAME}} for this parameter.",
             "type": "wiki-page-name",
             "type": "string",
             "suggestedvalues": [
             "suggestedvalues": [
                 "Barbarian",
                 "Barbarian",
Line 266: Line 281:
             ],
             ],
"required": true
"required": true
}
},
        "quote": {
            "label": "Quote override",
            "description": "Use this parameter to specify a custom quote instead of a predefined one.",
            "type": "string"
        },
        "image": {
            "label": "Image override",
            "description": "Use this parameter to specify a custom icon instead of a predefined one.",
            "type": "wiki-file-name"
        },
        "align": {
            "label": "Alignment override",
            "description": "Override the alignment from the default centered position",
            "type": "string",
            "default": "center",
            "suggestedvalues": ["center", "left", "right"]
        }
},
},
     "description": "Display a class/subclass quote",
     "description": "Display a class/subclass quote",

Latest revision as of 22:05, 22 July 2024

Template documentation

Display a class/subclass description quote accompanied by the beautiful class icon.

This template is a subtype of Template:Quote fancy.

Usage

This template has a table of all the class quotes in the game extracted directly from the game files so the only required parameter is the name of the class. This parameter should match the name of a class/subclass page exactly. This is intended for use in class pages where {{PAGENAME}} can be used as the parameter.

Alternatively, the quote and class image can be overridden with the parameters quote and image, but generally you should stick with the default behaviour.

Examples

A base class quote.

Markup
{{Quote class|Warlock}}
Renders as

A subclass quote.

Markup
{{Quote class|College of Swords}}
Renders as

A custom quote with a custom image.

Markup
{{Quote class
| quote = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
| image = Barbarian Class Icon alt.png
}}
Renders as

Exhaustive list

The quote blocks for every class and subclass are displayed below for easy verification.

Barbarian

Bard

Cleric

Druid

Fighter

Monk

Paladin

Ranger

Rogue

Sorcerer

Warlock

Wizard

Template data

Display a class/subclass quote

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Class1

The name of a class or subclass. It should match exactly the pagename of the class. When used on a class page, you can use {{PAGENAME}} for this parameter.

Suggested values
Barbarian Berserker Wildheart Wild Magic Barbarian Bard College of Lore College of Valour College of Swords Cleric Life Domain Light Domain Trickery Domain Knowledge Domain Nature Domain Tempest Domain War Domain Druid Circle of the Land Circle of the Moon Circle of the Spores Fighter Battle Master Eldritch Knight Champion Monk Way of the Four Elements Way of the Open Hand Way of Shadow Paladin Oath of the Ancients Oath of Devotion Oathbreaker Oath of Vengeance Ranger Beast Master Hunter Gloom Stalker Rogue Thief Arcane Trickster Assassin Sorcerer Draconic Bloodline Wild Magic Sorcerer Storm Sorcery Warlock The Fiend The Great Old One The Archfey Wizard Abjuration School Evocation School Conjuration School Divination School Enchantment School Necromancy School Illusion School Transmutation School
Stringrequired
Quote overridequote

Use this parameter to specify a custom quote instead of a predefined one.

Stringoptional
Image overrideimage

Use this parameter to specify a custom icon instead of a predefined one.

Fileoptional
Alignment overridealign

Override the alignment from the default centered position

Suggested values
center left right
Default
center
Stringoptional