Template:Saving Throw: Difference between revisions
No edit summary |
(Remove alt text for shield icon) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{dc|}}} | [[Difficulty Class|DC]] {{{dc}}} | | <includeonly>{{#if: {{{dc|}}} | [[Difficulty Class|DC]] {{{dc}}} | | ||
}}{{ | }}{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{{1}}} | ||
| strength | | strength | ||
| Strength | | Strength |
Revision as of 17:33, 16 October 2023
Visually represent a type of Saving Throw in a semi-compact fashion. Accepts the full or abbreviated form of any Ability Score as an optional parameter.
Usage: {{Saving Throw}}
Result: Saving Throw
Usage: {{Saving Throw|STR}}
Result: Strength Saving Throw
Usage: {{Saving Throw|Strength}}
Result: Strength Saving Throw
Usage: {{Saving Throw|Custom value}}
Result: Custom value Saving Throw
Also supports an optional dc
(Difficulty Class) parameter for abilities and spells with fixed DCs.
Usage: {{Saving Throw|dexterity|dc=12}}
Result: DC 12 Dexterity Saving Throw
Template data
Visually represent a type of Saving Throw in a semi-compact fashion.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Saving Throw Type (Optional) | 1 | no description
| String | suggested |
Difficulty Class (DC) | dc | (Optional) the Difficulty Class of the Saving Throw
| Number | suggested |