Template:Dialogue option

From bg3.wiki
Revision as of 11:40, 15 January 2024 by Nattern (talk | contribs) (Created page with "<includeonly>{{#arraydefine:tags|{{{tags|}}}|,}} {{#if:{{{tags|}}}|{{#arrayprint:tags||@|<nowiki>[</nowiki>{{uc:@}}<nowiki>]</nowiki>}} }}{{#if:{{{roll|}}}|<nowiki>[</nowiki>{{uc:{{{roll}}}}}<nowiki>]</nowiki> }}{{#if:{{{tags|}}}{{{rolls|}}}|<nowiki> </nowiki>}}{{{1|}}}{{#if:{{{dc|}}}|<nowiki> </nowiki>(DC {{{dc}}})}} </includeonly><noinclude> Used to Visually represent an in-game dialogue option. Usage: {{code|<nowiki>{{Dialogue option|<dialogue text>|tags=<tags>|roll=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Used to Visually represent an in-game dialogue option.

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



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

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


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

Result: [GITHYANKI][INTIMIDATION] if you attack I will counter with my Githyank Perry. (DC 12)


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

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