Ad placeholder

Template:Dialogue option: Difference between revisions

Jump to navigation Jump to search
Formatting with color and a bit of spacing
mNo edit summary
(Formatting with color and a bit of spacing)
Line 1: Line 1:
<includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}{{#if:{{{tags|}}}|{{#arrayprint:tags||@|[{{uc:@}}]}}}}{{#if:{{{roll|}}}|[{{uc:{{{roll}}}}}]}}{{#if:{{{tags|}}}{{{roll|}}}|&nbsp;}}{{{1|}}}{{#if:{{{dc|}}}|&nbsp;(DC {{{dc}}}{{#if:{{{advantage|}}}|&nbsp;w/ Advantage}})}}</includeonly><noinclude>{{documentation|content=Used to Visually represent an in-game dialogue option.
<includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}<span style="color: var(--fg-dark)">{{#if:{{{tags|}}}|{{#arrayprint:tags|&nbsp;|@|[{{uc:@}}]}}}}{{#if:{{{roll|}}}|&nbsp;[{{uc:{{{roll}}}}}]}}{{#if:{{{tags|}}}{{{roll|}}}|&nbsp;}}</span>{{{1|}}}{{#if:{{{dc|}}}|&nbsp;(DC {{{dc}}}{{#if:{{{advantage|}}}|&nbsp;w/ Advantage}})}}</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 2 = 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>
}}
}}

Navigation menu