60,558
editsAd placeholder
Template:Dialogue option: Difference between revisions
Jump to navigation
Jump to search
Added advantage flag for the roll
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) (Added advantage flag for the roll) |
||
Line 1: | Line 1: | ||
<includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}{{#if:{{{tags|}}}|{{#arrayprint:tags||@|[{{uc:@}}]}}}}{{#if:{{{roll|}}}|[{{uc:{{{roll}}}}}]}}{{#if:{{{tags|}}}{{{roll|}}}| }}{{{1|}}}{{#if:{{{dc|}}}| (DC {{{dc}}})}}</includeonly><noinclude>{{documentation|content=Used to Visually represent an in-game dialogue option. | <includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}{{#if:{{{tags|}}}|{{#arrayprint:tags||@|[{{uc:@}}]}}}}{{#if:{{{roll|}}}|[{{uc:{{{roll}}}}}]}}{{#if:{{{tags|}}}{{{roll|}}}| }}{{{1|}}}{{#if:{{{dc|}}}| (DC {{{dc}}}{{#if:{{{advantage|}}}| w/ Advantage}})}}</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>}}</pre> | <pre>{{Dialogue option|<dialogue text>|tags=<tags>|roll=<roll type>|dc=<difficulty class>|advantage=<yes or blank>}}</pre> | ||
=== Examples === | === Examples === | ||
Line 11: | Line 11: | ||
| 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|roll=Performance|dc=10}}</nowiki> | ||
| caption 2 = Advantage on roll | |||
| <nowiki>{{Dialogue option|I did what you asked. I killed Gortash, so let him go.|roll=Persuasion|dc=10|advantage=y}}</nowiki> | |||
}} | }} | ||