Template:Saving Throw: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Remove alt text for shield icon)
(add category)
Line 81: Line 81:
"description": "Visually represent a type of Saving Throw in a semi-compact fashion."
"description": "Visually represent a type of Saving Throw in a semi-compact fashion."
}
}
</templatedata></noinclude>
</templatedata>
[[Category:Templates]]</noinclude>

Revision as of 20:57, 17 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.

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

Example
12
Numbersuggested