Template:Saving Throw: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(New demo template) |
||
Line 30: | Line 30: | ||
| #default = {{#if: {{{1|}}} | {{{1|}}} [[saving throw]] | [[Saving throw]] }} | | #default = {{#if: {{{1|}}} | {{{1|}}} [[saving throw]] | [[Saving throw]] }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
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. Also supports an optional <code>dc</code> ([[Dice rolls#Save DCs|Difficulty Class]]) parameter for abilities and spells with fixed DCs. | ||
== Examples == | |||
{{Template demo | |||
| <nowiki>{{Saving Throw}}</nowiki> | |||
| <nowiki>{{Saving Throw|STR}}</nowiki> | |||
| <nowiki>{{Saving Throw|Strength}}</nowiki> | |||
| <nowiki>{{Saving Throw|Custom value}}</nowiki> | |||
| <nowiki>{{Saving Throw|dexterity|dc=12}}</nowiki> | |||
| <nowiki>{{Saving Throw|dexterity|dc=caster}}</nowiki> | |||
| <nowiki>{{Saving Throw|dexterity|dc=weapon action}}</nowiki> | |||
}} | |||
== Template data == | == Template data == |
Revision as of 04:37, 20 July 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. Also supports an optional dc
(Difficulty Class) parameter for abilities and spells with fixed DCs.
Examples
Markup | Renders as |
---|---|
{{Saving Throw}} | ![]() |
{{Saving Throw|STR}} | ![]() |
{{Saving Throw|Strength}} | ![]() |
{{Saving Throw|Custom value}} | ![]() |
{{Saving Throw|dexterity|dc=12}} | DC 12 ![]() |
{{Saving Throw|dexterity|dc=caster}} | Spell save DC ![]() |
{{Saving Throw|dexterity|dc=weapon action}} | Weapon action DC ![]() |
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 |