Template:Ability check: Difference between revisions
Jump to navigation
Jump to search
(Created.) |
(Add no-param option) |
||
Line 1: | Line 1: | ||
<includeonly>{{icon|D20.png|30}} {{#if: {{{2|}}} | DC {{{2}}}}} [[{{{1}}}]] check</includeonly><noinclude> | <includeonly>{{icon|D20.png|30}} {{#if: {{{2|}}} | DC {{{2}}}}} {{#if:{{{1|}}}|[[{{{1}}}]] check|[[Ability Check]]}}</includeonly><noinclude> | ||
This template is used to represent Skill or Ability Checks. Saving throws should use [[Template:SavingThrow]] instead. | This template is used to represent Skill or Ability Checks. Saving throws should use [[Template:SavingThrow]] instead. | ||
The first parameter is the skill or ability being checked, and the second (optional) parameter is the [[DC]]. | 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: <code><nowiki>{{ | Usage: <code><nowiki>{{Ability Check}}</nowiki></code> | ||
Result: {{ | Result: {{Ability Check}} | ||
Usage: <code><nowiki>{{ | Usage: <code><nowiki>{{Ability Check|Sleight of Hand|20}} </nowiki></code> | ||
Result: {{ | Result: {{Ability Check|Sleight of Hand|20}} | ||
Usage: <code><nowiki>{{Ability Check|Dexterity}}</nowiki></code> | |||
Result: {{Ability Check|Dexterity}} | |||
</noinclude> | </noinclude> |
Revision as of 16:48, 6 October 2023
This template is used to represent Skill or Ability Checks. Saving throws should use Template:SavingThrow 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}}
Result: Dexterity check