Template:Dialogue option: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#arraydefine:tags|{{{tags|}}}|,}}{{#if:{{{tags|}}}|{{#arrayprint:tags||@|[{{uc:@}}]}}}}{{#if:{{{roll|}}}|[{{uc:{{{roll}}}}}]}}{{#if:{{{tags|}}}| }}{{{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}}})}}</includeonly><noinclude>{{documentation|content=Used to Visually represent an in-game dialogue option. | ||
== Usage == | == Usage == |
Revision as of 22:54, 30 July 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>}}
Examples
Example | Markup | Renders as |
---|---|---|
Basic usage | {{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}} | [BARD][DECEPTION] I am confident you will survive this! (DC 15) |
Multiple tags | {{Dialogue option|Let me sing about our history|tags=Githyanki, Bard|roll=Performance|dc=10}} | [GITHYANKI][BARD][PERFORMANCE] Let me sing about our history (DC 10) |
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 |