Ad placeholder

Template:Ability check: Difference between revisions

Jump to navigation Jump to search
Add no-param option
(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>{{SkillCheck|Sleight of Hand|20}} </nowiki></code>
Usage: <code><nowiki>{{Ability Check}}</nowiki></code>


Result: {{SkillCheck|Sleight of Hand|20}}  
Result: {{Ability Check}}


Usage: <code><nowiki>{{SkillCheck|Dexterity}}</nowiki></code>
Usage: <code><nowiki>{{Ability Check|Sleight of Hand|20}} </nowiki></code>


Result: {{SkillCheck|Dexterity}}
Result: {{Ability Check|Sleight of Hand|20}}
 
Usage: <code><nowiki>{{Ability Check|Dexterity}}</nowiki></code>
 
Result: {{Ability Check|Dexterity}}
</noinclude>
</noinclude>

Navigation menu