Template:Dialogue option

From bg3.wiki
Jump to navigation Jump to search
Template documentation

Used to Visually represent an in-game dialogue option. Stores the line of dialogue in a cargo table if it has tags and/or a roll/dc.

Usage

{{Dialogue option|<dialogue text>|tags=<tags>|roll=<roll type>|dc=<difficulty class>|advantage=<yes or blank>|disadvantage=<yes or blank>|condition=<condition or blank>}}

Examples

Basic usage

Markup
{{Dialogue option|I am confident you will survive this!}}
Renders as
I am confident you will survive this!

With tags

Markup
{{Dialogue option|My people build cities on the corpses of gods. Yours does not impress me.|tags=Githyanki}}
Renders as
[GITHYANKI] My people build cities on the corpses of gods. Yours does not impress me.

With a condition

Markup
{{Dialogue option|You told me you trusted me. Here's your chance to prove it.|roll=Insight|dc=8|condition=if trusted by Gale}}
Renders as
[INSIGHT] You told me you trusted me. Here's your chance to prove it. (DC 8) (if trusted by Gale)

With a roll

Markup
{{Dialogue option|'''FOOT. KISS. NOW!'''|tags=Barbarian|roll=Intimidation|dc=15}}
Renders as
[BARBARIAN] [INTIMIDATION] FOOT. KISS. NOW! (DC 15)

Stat override

Markup
{{Dialogue option|''Intimiate the man using your strengh.''|roll=Intimidation|roll override=Strength|dc=15}}
Renders as
[INTIMIDATION (STRENGTH)] Intimiate the man using your strengh. (DC 15)

Multiple tags

Markup
{{Dialogue option|Let me sing about our history|tags=Githyanki, Bard, Cleric|roll=Performance|dc=10}}
Renders as
[GITHYANKI] [BARD] [CLERIC] [PERFORMANCE] Let me sing about our history (DC 10)

Advantage on roll

Markup
{{Dialogue option|I did what you asked. I killed Gortash, so let him go.|roll=Persuasion|dc=25|advantage=y}}
Renders as
[PERSUASION] I did what you asked. I killed Gortash, so let him go. (DC 25 Advantage Icon.png)

Disadvantage on roll

Markup
{{Dialogue option|I did what you asked. I killed Gortash, so let him go.|roll=Persuasion|dc=25|disadvantage=y}}
Renders as
[PERSUASION] I did what you asked. I killed Gortash, so let him go. (DC 25 Disadvantage Icon.png)

Used to Visually represent an in-game dialogue option. Stores the line of dialogue in a cargo table if it has tags and/or a roll/dc.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Dialogue text1

The text for the dialogue option

Stringrequired
Tagstags

Comma separated list of the tags you need to have to choose the dialogue option

Example
Barbarian, Bard, Githyanki
Stringsuggested
Roll typeroll

What skill or ability the dice roll is, if there is one

Example
Charisma, Wisdom, Persuasion, Deception, Intimidation
Stringsuggested
Roll overrideroll override

Specifies the ability used to override a typical ability check

Example
Strength, Dexterity, Constitution, Intelligence, Wisdom, Charisma
Stringoptional
Difficulty Classdc

The Difficulty Class of the dice roll is, if there is one

Example
2, 10, 15, 20
Stringsuggested
Advantageadvantage

If the roll has advantage, usually for contextual reasons

Example
y, yes
Stringsuggested
Disadvantagedisadvantage

If the roll has disadvantage, usually for contextual reasons

Example
y, yes
Stringsuggested
Conditioncondition

Text to show this dialogue option requires a condition

Example
if x is y
Stringoptional
This template defines the table "dialogue". View table.