Template:Dialogue option: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Added example of multiple tags)
Tags: Mobile edit Mobile web edit
Line 13: Line 13:




{{code|<nowiki>{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}}</nowiki>}}:
{{code|<nowiki>{{Dialogue option|Let me sing about our history|tags=Githyanki, Bard|roll=Performance|dc=10}}</nowiki>}}:
{{Dialogue option|if you attack I will counter with my Githyank Perry.|tags=githyanki|roll=intimidation|dc=12}}
{{Dialogue option|Let me sing about our history.|tags=Githyanki, Bard|roll=Performance|dc=10}}




Line 30: Line 30:
         "tags": {
         "tags": {
"label": "Tags",
"label": "Tags",
             "description": "The tags you need to have to choose the dialogue option",
             "description": "Comma separated list of the tags you need to have to choose the dialogue option",
"type": "string",
"type": "string",
             "example": "Barbarian, Bard, Githyanki, ",
             "example": "Barbarian, Bard, Githyanki",
"required": false,
"required": false,
"suggested": true
"suggested": true

Revision as of 16:26, 15 January 2024

Template documentation

Used to Visually represent an in-game dialogue option.

Usage

{{Dialogue option|<dialogue text>|tags=<tags>|roll=<roll type>|dc=<difficulty class>}}

Examples

{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}}:

[BARD][DECEPTION] I am confident you will survive this! (DC 15)


{{Dialogue option|Let me sing about our history|tags=Githyanki, Bard|roll=Performance|dc=10}}:

[GITHYANKI][BARD][PERFORMANCE] Let me sing about our history. (DC 10)

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