Template:Dialogue option: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#arraydefine:tags|{{{tags|}}}|,}} {{#if:{{{tags|}}}|{{#arrayprint:tags||@|<nowiki>[</nowiki>{{uc:@}}<nowiki>]</nowiki>}} }}{{#if:{{{roll|}}}|<nowiki>[</nowiki>{{uc:{{{roll}}}}}<nowiki>]</nowiki> }}{{#if:{{{tags|}}}{{{rolls|}}}|<nowiki> </nowiki>}}{{{1|}}}{{#if:{{{dc|}}}|<nowiki> </nowiki>(DC {{{dc}}})}} </includeonly><noinclude> Used to Visually represent an in-game dialogue option. Usage: {{code|<nowiki>{{Dialogue option|<dialogue text>|tags=<tags>|roll=...") |
No edit summary |
||
Line 3: | Line 3: | ||
}}{{#if:{{{roll|}}}|<nowiki>[</nowiki>{{uc:{{{roll}}}}}<nowiki>]</nowiki> | }}{{#if:{{{roll|}}}|<nowiki>[</nowiki>{{uc:{{{roll}}}}}<nowiki>]</nowiki> | ||
}}{{#if:{{{tags|}}}{{{rolls|}}}|<nowiki> </nowiki>}}{{{1|}}}{{#if:{{{dc|}}}|<nowiki> </nowiki>(DC {{{dc}}})}} | }}{{#if:{{{tags|}}}{{{rolls|}}}|<nowiki> </nowiki>}}{{{1|}}}{{#if:{{{dc|}}}|<nowiki> </nowiki>(DC {{{dc}}})}} | ||
</includeonly><noinclude> | </includeonly><noinclude>{{documentation|content=Used to Visually represent an in-game dialogue option. | ||
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> | |||
=== Examples === | |||
{{code|<nowiki>{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}}</nowiki>}}: | |||
{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}} | |||
{{code|<nowiki>{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}}</nowiki>}}: | |||
{{Dialogue option|if you attack I will counter with my Githyank Perry.|tags=githyanki|roll=intimidation|dc=12}} | |||
[[Category:Formatting templates]][[Category:Templates]] | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 59: | Line 56: | ||
"description": "Used to Visually represent an in-game dialogue option." | "description": "Used to Visually represent an in-game dialogue option." | ||
} | } | ||
</templatedata> | </templatedata>}} | ||
</noinclude> | </noinclude> |
Revision as of 15:48, 15 January 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
{{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)
{{Dialogue option|I am confident you will survive this!|tags=bard|roll=deception|dc=15}}
:
[GITHYANKI][INTIMIDATION] if you attack I will counter with my Githyank Perry. (DC 12)
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 | 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 |