4,193
editsno edit summary
m (fix spacing when dc parameter is absent) |
No edit summary |
||
(19 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{#if: {{{dc|}}} | {{#switch: {{{dc}}} | ||
| caster = [[Dice rolls#Save DCs|Spell save DC]] | |||
| weapon action = [[Dice rolls#Save DCs|Weapon action DC]] | |||
| #default = [[Dice rolls#Save DCs|DC]] {{{dc}}}}} | |||
}}{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{{1}}} | |||
| strength | | strength | ||
| Strength | | Strength | ||
| str | | str | ||
| STR = [[Strength | | STR = [[Strength]] [[saving throw]] | ||
| dexterity | | dexterity | ||
| Dexterity | | Dexterity | ||
| dex | | dex | ||
| DEX = [[Dexterity | | DEX = [[Dexterity]] [[saving throw]] | ||
| constitution | | constitution | ||
| Constitution | | Constitution | ||
| con | | con | ||
| CON = [[Constitution | | CON = [[Constitution]] [[saving throw]] | ||
| intelligence | | intelligence | ||
| Intelligence | | Intelligence | ||
| int | | int | ||
| INT = [[Intelligence | | INT = [[Intelligence]] [[saving throw]] | ||
| wisdom | | wisdom | ||
| Wisdom | | Wisdom | ||
| wis | | wis | ||
| WIS = [[Wisdom | | WIS = [[Wisdom]] [[saving throw]] | ||
| charisma | | charisma | ||
| Charisma | | Charisma | ||
| cha | | cha | ||
| CHA = [[Charisma | | CHA = [[Charisma]] [[saving throw]] | ||
| #default = | | #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. | ||
Usage: {{code|<nowiki>{{ | Usage: {{code|<nowiki>{{Saving Throw}}</nowiki>}} | ||
Result: {{ | Result: {{Saving Throw}} | ||
Usage: {{code|<nowiki>{{ | Usage: {{code|<nowiki>{{Saving Throw|STR}}</nowiki>}} | ||
Result: {{ | Result: {{Saving Throw|STR}} | ||
Usage: {{code|<nowiki>{{ | Usage: {{code|<nowiki>{{Saving Throw|Strength}}</nowiki>}} | ||
Result: {{ | Result: {{Saving Throw|Strength}} | ||
Usage: {{code|<nowiki>{{Saving Throw|Custom value}}</nowiki>}} | |||
Result: {{Saving Throw|Custom value}} | |||
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>}} | |||
Result: {{Saving Throw|dexterity|dc=12}} | |||
Usage: {{code|<nowiki>{{Saving Throw|dexterity|dc=caster}}</nowiki>}} | |||
Result: {{Saving Throw|dexterity|dc=caster}} | |||
Usage: {{code|<nowiki>{{Saving Throw|dexterity|dc=weapon action}}</nowiki>}} | |||
Result: {{Saving Throw|dexterity|dc=weapon action}} | |||
== Template data == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 70: | Line 85: | ||
"description": "(Optional) the Difficulty Class of the Saving Throw", | "description": "(Optional) the Difficulty Class of the Saving Throw", | ||
"example": "12", | "example": "12", | ||
"type": " | "suggestedvalues": [ | ||
"12", | |||
"weapon action", | |||
"caster" | |||
], | |||
"type": "string", | |||
"suggested": true | "suggested": true | ||
} | } | ||
Line 77: | Line 97: | ||
"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> |