Template:Saving Throw: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Sky moved page Template:SavingThrow to Template:Saving Throw: Template naming scheme)
(Space!)
Line 29: Line 29:
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.
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: {{code|<nowiki>{{SavingThrow}}</nowiki>}}
Usage: {{code|<nowiki>{{Saving Throw}}</nowiki>}}


Result: {{SavingThrow}}
Result: {{Saving Throw}}


Usage: {{code|<nowiki>{{SavingThrow|STR}}</nowiki>}}
Usage: {{code|<nowiki>{{Saving Throw|STR}}</nowiki>}}


Result: {{SavingThrow|STR}}
Result: {{Saving Throw|STR}}


Usage: {{code|<nowiki>{{SavingThrow|Strength}}</nowiki>}}
Usage: {{code|<nowiki>{{Saving Throw|Strength}}</nowiki>}}


Result: {{SavingThrow|Strength}}
Result: {{Saving Throw|Strength}}




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


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


Result: {{SavingThrow|dexterity|dc=12}}
Result: {{Saving Throw|dexterity|dc=12}}


Auto-generated TemplateData follows.
== Template data ==
----
<templatedata>
<templatedata>
{
{

Revision as of 16:52, 6 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 Save

Usage: {{Saving Throw|Strength}}

Result: Strength Save


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 Save

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