1,935
editsMore actions
Added support for comma separated list
No edit summary |
(Added support for comma separated list) |
||
Line 1: | Line 1: | ||
<includeonly>{{icon|D20.png|25|caption=}} {{#if: {{{2|}}} | DC {{{2}}}}} {{#if:{{{1|}}}| | <includeonly>{{icon|D20.png|25|caption=}} {{#if: {{{2|}}} | DC {{{2}}}}} {{#if:{{{1|}}}|{{#invoke:ParseList|main|{{{1|}}}|makeLinks=yes|textLastDelim=<nowiki>, or </nowiki>}} [[Ability check|check]]|[[Ability check]]}}</includeonly><noinclude>{{documentation|content= | ||
This template is used to represent Skill or Ability Checks. Saving throws should use [[Template:Saving throw]] instead. | This template is used to represent Skill or Ability Checks. Saving throws should use [[Template:Saving throw]] instead. | ||
Line 15: | Line 15: | ||
Result: {{Ability check|Dexterity}} | Result: {{Ability check|Dexterity}} | ||
Usage: <code><nowiki>{{Ability check|Strength, Dexterity}}</nowiki></code> | |||
Result: {{Ability check|Strength, Dexterity}} | |||
Usage: <code><nowiki>{{Ability check|Sleight of Hand, Animal Handling, Strength|16}}</nowiki></code> | |||
Result: {{Ability check|Sleight of Hand, Animal Handling, Strength|16}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
Line 23: | Line 31: | ||
"1": { | "1": { | ||
"label": "Skill name", | "label": "Skill name", | ||
"description": "The name of the skill associated with the ability check.", | "description": "The name of the skill associated with the ability check. Can also use a comma separated list", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true |