Template:Save: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{lc:{{{1}}}}} | strength | str = STR Save | dexterity | dex = DEX Save | constitution | con = CON Save | intelligence | int = INT Save | wisdom | wis = WIS Save | charisma | cha = CHA Save | #default = {{#if: {{{1...")
 
(Added hybrid DC)
Line 16: Line 16:
| caster = ([[Difficulty Class#Spell DC|Spellcasting DC]])
| caster = ([[Difficulty Class#Spell DC|Spellcasting DC]])
| weapon action = ([[Difficulty Class#Weapon Action DC|Weapon action DC]])
| weapon action = ([[Difficulty Class#Weapon Action DC|Weapon action DC]])
| hybrid = ([[Difficulty Class#Hybrid DC|Hybrid DC]])
| #default = ([[DC]] {{{dc}}})}}
| #default = ([[DC]] {{{dc}}})}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 53: Line 54:


Result: {{Save|dexterity|dc=weapon action}}
Result: {{Save|dexterity|dc=weapon action}}
Usage: {{code|<nowiki>{{Save|constitution|dc=hybrid}}</nowiki>}}
Result: {{Save|constitution|dc=hybrid}}


== Template data ==
== Template data ==

Revision as of 22:15, 27 December 2023

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

Result: STR Save

Usage: {{Save|Strength}}

Result: STR Save

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

Result: DEX Save (DC 12)

Usage: {{Save|dexterity|dc=caster}}

Result: DEX Save (Spellcasting DC)

Usage: {{Save|dexterity|dc=weapon action}}

Result: DEX Save (Weapon action DC)

Usage: {{Save|constitution|dc=hybrid}}

Result: CON Save (Hybrid DC)

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