Template:Quote class: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Added noexcerpt template)
m (Better handling of wild magic subclasses)
 
(9 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 6: Line 6:
| Berserker = Violence is both a means and an end. You follow a path of untrammelled fury, slick with blood, as you thrill in the chaos of battle, heedless of your own well-being.
| Berserker = Violence is both a means and an end. You follow a path of untrammelled fury, slick with blood, as you thrill in the chaos of battle, heedless of your own well-being.
| Wildheart = Your attunement with nature and its beasts inspires your rage, empowering you with supernatural might.
| Wildheart = Your attunement with nature and its beasts inspires your rage, empowering you with supernatural might.
| Wild Magic (barbarian subclass)
| Wild Magic (Barbarian subclass)
| Wild Magic Barbarian = The wild influence of magic has transformed you, suffusing you with an arcane power that churns within you, waiting to be released.
| Wild Magic Barbarian = The wild influence of magic has transformed you, suffusing you with an arcane power that churns within you, waiting to be released.


Line 73: Line 75:
| Sorcerer = Sorcerers are natural spellcasters, drawing on inherent magic from a gift or bloodline.
| Sorcerer = Sorcerers are natural spellcasters, drawing on inherent magic from a gift or bloodline.
| Draconic Bloodline = Your veins carry draconic magic, the result of a powerful dragon ancestor.
| Draconic Bloodline = Your veins carry draconic magic, the result of a powerful dragon ancestor.
| Wild Magic (sorcerer subclass)
| Wild Magic (Sorcerer subclass)
| Wild Magic Sorcerer = Your powers come from ancient forces of chaos. They churn within you - waiting to burst free at any time.
| Wild Magic Sorcerer = Your powers come from ancient forces of chaos. They churn within you - waiting to burst free at any time.
| Storm Sorcery = Whether crackling with the energy of ancient deluges or pierced by gales and hurricanes, your lineage is a strange tapestry scrawled by a tempest.  
| Storm Sorcery = Whether crackling with the energy of ancient deluges or pierced by gales and hurricanes, your lineage is a strange tapestry scrawled by a tempest.  
Line 94: Line 98:
| 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
| image-align = edge
| height = 160
| height = 160
| font-size = 120%
| font-size = 120%
| image-border-shape = none
| link = {{{1|}}}
| link = {{{1|}}}
| 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 196: Line 215:
{{Quote class|Illusion School}}
{{Quote class|Illusion School}}
{{Quote class|Transmutation School}}
{{Quote class|Transmutation School}}


== Template data ==
== Template data ==
Line 203: Line 223:
"1": {
"1": {
"label": "Class",
"label": "Class",
"description": "The name of a class or subclass. It should match exactly the pagename of the 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.",
             "type": "wiki-page-name",
             "type": "string",
            "suggestedvalues": [
                "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"
            ],
"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"
        }
},
},
     "description": "Display a class/subclass quote",
     "description": "Display a class/subclass quote",

Latest revision as of 05:02, 29 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