Template:Dialogue option: Difference between revisions
Jump to navigation
Jump to search
[BARD] [DECEPTION] I am confident you will survive this! (DC 15)
[GITHYANKI] [BARD] [CLERIC] [PERFORMANCE] Let me sing about our history (DC 10)
[PERSUASION] I did what you asked. I killed Gortash, so let him go. (DC 25 )
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) (Test changing to advantage icon) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}{{#if:{{{tags|}}}|{{#arrayprint:tags||@|[{{uc:@}}]}}}}{{#if:{{{roll|}}}|[{{uc:{{{roll}}}}}] | <includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}<span style="color: var(--fg-dark)">{{#if:{{{tags|}}}|{{#arrayprint:tags||@|[{{uc:@}}] }}}}{{#if:{{{roll|}}}|[{{uc:{{{roll}}}}}] }}</span>{{{1|}}}{{#if:{{{dc|}}}| (DC {{{dc}}}{{#if:{{{advantage|}}}| {{icon|Advantage Icon.png|20}}}})}}</includeonly><noinclude>{{documentation|content=Used to Visually represent an in-game dialogue option. | ||
== Usage == | == Usage == | ||
Line 10: | Line 10: | ||
| <nowiki>{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}}</nowiki> | | <nowiki>{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}}</nowiki> | ||
| caption 2 = Multiple tags | | caption 2 = Multiple tags | ||
| <nowiki>{{Dialogue option|Let me sing about our history|tags=Githyanki, Bard|roll=Performance|dc=10}}</nowiki> | | <nowiki>{{Dialogue option|Let me sing about our history|tags=Githyanki, Bard, Cleric|roll=Performance|dc=10}}</nowiki> | ||
| caption | | caption 3 = Advantage on roll | ||
| <nowiki>{{Dialogue option|I did what you asked. I killed Gortash, so let him go.|roll=Persuasion|dc=25|advantage=y}}</nowiki> | | <nowiki>{{Dialogue option|I did what you asked. I killed Gortash, so let him go.|roll=Persuasion|dc=25|advantage=y}}</nowiki> | ||
}} | }} |
Revision as of 18:52, 2 August 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>|advantage=<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 )
Used to Visually represent an in-game dialogue option.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Dialogue text | 1 | The text for the dialogue option | String | required |
Tags | tags | Comma separated list of the tags you need to have to choose the dialogue option
| String | suggested |
Roll type | roll | What skill or ability the dice roll is, if there is one
| String | suggested |
Difficulty Class | dc | The Difficulty Class of the dice roll is, if there is one
| String | suggested |
Advantage | advantage | If the roll has advantage, usually for contextual reasons
| String | suggested |