Template:Ability check: Difference between revisions
Jump to navigation
Jump to search
(rename template) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{icon|D20.png|25|caption=}} {{#if: {{{2|}}} | DC {{{2}}}}} {{#if:{{{1|}}}|[[{{{1}}}]] [[Ability Check|check]]|[[Ability check]]}}</includeonly><noinclude> | <includeonly>{{icon|D20.png|25|caption=}} {{#if: {{{2|}}} | DC {{{2}}}}} {{#if:{{{1|}}}|[[{{{1}}}]] [[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 18: | Line 17: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | == Template data== | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Skill name", | |||
"description": "The name of the skill associated with the ability check.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Difficulty Class", | |||
"description": "The Difficulty Class of the check.", | |||
"type": "number" | |||
} | |||
} | |||
} | |||
</templatedata>}}</noinclude> |
Revision as of 14:00, 20 December 2023
Template documentation
This template is used to represent Skill or Ability Checks. Saving throws should use Template:Saving throw instead.
The first parameter is the skill or ability being checked, and the second (optional) parameter is the DC. If no parameters are supplied, it will instead display a link to Ability Check.
Usage: {{Ability check}}
Result: Ability check
Usage: {{Ability check|Sleight of Hand|20}}
Result: DC 20 Sleight of Hand check
Usage: {{Ability check|Dexterity}}
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Skill name | 1 | The name of the skill associated with the ability check. | String | required |
Difficulty Class | 2 | The Difficulty Class of the check. | Number | optional |