60,558
editsAd placeholder
Template:Dialogue option: Difference between revisions
Jump to navigation
Jump to search
m
Added support for DC checks
HiddenDragon (talk | contribs) (Updated colour) |
HiddenDragon (talk | contribs) m (Added support for DC checks) |
||
Line 1: | Line 1: | ||
<includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}<span class="bg3wiki-damage-type-physical">{{#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. | <includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}<span class="bg3wiki-damage-type-physical">{{#if:{{{tags|}}}|{{#arrayprint:tags||@|[{{uc:@}}] }}}}{{#if:{{{roll|}}}|[{{uc:{{{roll}}}}}] }}</span>{{{1|}}}{{#if:{{{dc|}}}| (DC {{{dc}}}{{#if:{{{advantage|}}}| {{icon|Advantage Icon.png|20}}}}{{#if:{{{disadvantage|}}}| {{icon|Disadvantage Icon.png|20}}}})}}</includeonly><noinclude>{{documentation|content=Used to Visually represent an in-game dialogue option. | ||
== Usage == | == Usage == | ||
<pre>{{Dialogue option|<dialogue text>|tags=<tags>|roll=<roll type>|dc=<difficulty class>|advantage=<yes or blank>}}</pre> | <pre>{{Dialogue option|<dialogue text>|tags=<tags>|roll=<roll type>|dc=<difficulty class>|advantage=<yes or blank>|disadvantage=<yes or blank>}}</pre> | ||
=== Examples === | === Examples === | ||
Line 13: | Line 13: | ||
| caption 3 = Advantage on roll | | 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> | ||
| caption 4 = Disadvantage on roll | |||
| <nowiki>{{Dialogue option|I did what you asked. I killed Gortash, so let him go.|roll=Persuasion|dc=25|disadvantage=y}}</nowiki> | |||
}} | }} | ||
Line 53: | Line 55: | ||
"label": "Advantage", | "label": "Advantage", | ||
"description": "If the roll has advantage, usually for contextual reasons", | "description": "If the roll has advantage, usually for contextual reasons", | ||
"type": "string", | |||
"example": "y, yes", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"disadvantage": { | |||
"label": "Disadvantage", | |||
"description": "If the roll has disadvantage, usually for contextual reasons", | |||
"type": "string", | "type": "string", | ||
"example": "y, yes", | "example": "y, yes", |