Template:Saving Throw: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{dc|}}} | {{#switch: {{{dc}}}
<includeonly>{{#if: {{{dc|}}} | {{#switch: {{{dc}}}
| caster = [[DC|Spell DC]]
| caster = [[Dice rolls#Save DCs|Spell save DC]]
| weapon action = [[DC|Weapon action DC]]
| weapon action = [[Dice rolls#Save DCs|Weapon action DC]]
| #default = [[DC]] {{{dc}}}}}&nbsp;
| #default = [[Dice rolls#Save DCs|DC]] {{{dc}}}}}&nbsp;
}}{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{{1}}}
}}{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{{1}}}
| strength
| strength
Line 50: Line 50:




Also supports an optional <code>dc</code> ([[Difficulty Class]]) parameter for abilities and spells with fixed DCs.
Also supports an optional <code>dc</code> ([[Dice rolls#Save DCs|Difficulty Class]]) parameter for abilities and spells with fixed DCs.


Usage: {{code|<nowiki>{{Saving Throw|dexterity|dc=12}}</nowiki>}}
Usage: {{code|<nowiki>{{Saving Throw|dexterity|dc=12}}</nowiki>}}

Latest revision as of 23:29, 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: 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

Usage: {{Saving Throw|dexterity|dc=caster}}

Result: Spell save DC  Dexterity saving throw

Usage: {{Saving Throw|dexterity|dc=weapon action}}

Result: Weapon action DC  Dexterity saving throw

Template data

Visually represent a type of Saving Throw in a semi-compact fashion.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Saving Throw Type (Optional)1

no description

Suggested values
STR DEX CON INT WIS CHA
Stringsuggested
Difficulty Class (DC)dc

(Optional) the Difficulty Class of the Saving Throw

Suggested values
12 weapon action caster
Example
12
Stringsuggested