Template:Saving Throw: Difference between revisions
HiddenDragon (talk | contribs) (Spell DC -> Spellcasting DC) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{dc|}}} | {{#switch: {{{dc}}} | <includeonly>{{#if: {{{dc|}}} | {{#switch: {{{dc}}} | ||
| caster = [[ | | caster = [[Dice rolls#Spell save DC|Spell save DC]] | ||
| weapon action = [[ | | weapon action = [[Dice rolls#Weapon save DC|Weapon action DC]] | ||
| #default = [[ | | #default = [[[[Dice rolls#Save DCs]] {{{dc}}}}} | ||
}}{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{{1}}} | }}{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{{1}}} | ||
| strength | | strength |
Revision as of 22:17, 5 February 2024
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: {{#if: | {{#switch: {{{dc}}} | caster = Spell save DC | weapon action = Weapon action DC | #default = [[Dice rolls#Save DCs {{{dc}}}}} }} Saving throw
Usage: {{Saving Throw|STR}}
Result: {{#if: | {{#switch: {{{dc}}} | caster = Spell save DC | weapon action = Weapon action DC | #default = [[Dice rolls#Save DCs {{{dc}}}}} }} Strength saving throw
Usage: {{Saving Throw|Strength}}
Result: {{#if: | {{#switch: {{{dc}}} | caster = Spell save DC | weapon action = Weapon action DC | #default = [[Dice rolls#Save DCs {{{dc}}}}} }} Strength saving throw
Usage: {{Saving Throw|Custom value}}
Result: {{#if: | {{#switch: {{{dc}}} | caster = Spell save DC | weapon action = Weapon action DC | #default = [[Dice rolls#Save DCs {{{dc}}}}} }} 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: {{#if: 12 | {{#switch: 12 | caster = Spell save DC | weapon action = Weapon action DC | #default = [[Dice rolls#Save DCs 12}} }} Dexterity saving throw
Usage: {{Saving Throw|dexterity|dc=caster}}
Result: {{#if: caster | {{#switch: caster | caster = Spell save DC | weapon action = Weapon action DC | #default = [[Dice rolls#Save DCs caster}} }} Dexterity saving throw
Usage: {{Saving Throw|dexterity|dc=weapon action}}
Result: {{#if: weapon action | {{#switch: weapon action | caster = Spell save DC | weapon action = Weapon action DC | #default = [[Dice rolls#Save DCs weapon action}} }} 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
| String | suggested |