Template:Save: Difference between revisions
(Added hybrid DC) |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 14: | Line 14: | ||
| #default = {{#if: {{{1|}}} | {{{1|}}} [[Saving throws|Save]] | [[Saving throws|Save]] }} | | #default = {{#if: {{{1|}}} | {{{1|}}} [[Saving throws|Save]] | [[Saving throws|Save]] }} | ||
}}{{#if: {{{dc|}}} | {{#switch: {{{dc}}} | }}{{#if: {{{dc|}}} | {{#switch: {{{dc}}} | ||
| caster = ([[ | | caster = ([[Dice rolls#Spell save DC|Spell save DC]]) | ||
| weapon action = ([[ | | weapon action = ([[Dice rolls#Weapon action DC|Weapon action DC]]) | ||
| hybrid = ([[ | | hybrid = ([[Dice rolls#Hybrid DC|Hybrid DC]]) | ||
| #default = ([[DC]] {{{dc}}})}} | | #default = ([[DC]] {{{dc}}})}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Latest revision as of 14:16, 7 January 2024
Visually represent a type of Saving Throw in a compact fashion. Accepts the full or abbreviated form of any Ability Score as an optional parameter.
This is a compact version of Template:Saving Throw
Usage: {{Save}}
Result: Save
Usage: {{Save|STR}}
Usage: {{Save|Strength}}
Usage: {{Save|Custom value}}
Result: Custom value Save
Also supports an optional dc
(Difficulty Class) parameter for abilities and spells with fixed DCs.
Usage: {{Save|dexterity|dc=12}}
Usage: {{Save|dexterity|dc=caster}}
Result: DEX Save (Spell save DC)
Usage: {{Save|dexterity|dc=weapon action}}
Result: DEX Save (Weapon action DC)
Usage: {{Save|constitution|dc=hybrid}}
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
| String | suggested |