3,890
editsMore actions
reformat display of the DC parameter for more flexible inline usage
No edit summary |
(reformat display of the DC parameter for more flexible inline usage) |
||
Line 1: | Line 1: | ||
<includeonly>{{SmallIcon|Saving Throw Icons.png}} {{#switch: {{{1}}} | <includeonly>{{#if: {{{dc|}}} | [[Difficulty Class|DC]] {{{dc}}} | | ||
}}{{SmallIcon|Saving Throw Icons.png}} {{#switch: {{{1}}} | |||
| strength | | strength | ||
| Strength | | Strength | ||
Line 25: | Line 26: | ||
| CHA = [[Saving Throw|Charisma Save]] | | CHA = [[Saving Throw|Charisma Save]] | ||
| #default = [[Saving Throw]] | | #default = [[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. | ||
Line 42: | Line 42: | ||
Also supports an optional <code>dc</code> (Difficulty Class) parameter. | 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>{{SavingThrow|dexterity|dc=12}}</nowiki>}} |