Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Dialogue option

Template page
Revision as of 19:26, 19 September 2024 by HiddenDragon (talk | contribs) (Added support for DC checks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

Used to Visually represent an in-game dialogue option.

Usage

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

Examples

Basic usage

Markup
{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}}
Renders as
[BARD] [DECEPTION] I am confident you will survive this! (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.

Template parameters

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
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