Template:Ability check: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(rename template)
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>


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: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]].
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>{{Ability Check}}</nowiki></code>
Usage: <code><nowiki>{{Ability check}}</nowiki></code>


Result: {{Ability Check}}
Result: {{Ability check}}


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


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


Usage: <code><nowiki>{{Ability Check|Dexterity}}</nowiki></code>
Usage: <code><nowiki>{{Ability check|Dexterity}}</nowiki></code>


Result: {{Ability Check|Dexterity}}
Result: {{Ability check|Dexterity}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 18:53, 27 October 2023


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}}

Result: Dexterity check