Template:Saving Throw: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Remove alt text for shield icon)
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{dc|}}} | [[Difficulty Class|DC]] {{{dc}}}&nbsp; |
<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}}}}}&nbsp;
}}{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{{1}}}
}}{{Icon|Saving Throw Icons.png|25|caption=}} {{#switch: {{{1}}}
| strength
| strength
| Strength
| Strength
| str
| str
| STR = [[Strength]] [[Saving Throw]]
| STR = [[Strength]] [[saving throw]]
| dexterity
| dexterity
| Dexterity
| Dexterity
| dex
| dex
| DEX = [[Dexterity]] [[Saving Throw]]
| DEX = [[Dexterity]] [[saving throw]]
| constitution
| constitution
| Constitution
| Constitution
| con
| con
| CON = [[Constitution]] [[Saving Throw]]
| CON = [[Constitution]] [[saving throw]]
| intelligence
| intelligence
| Intelligence
| Intelligence
| int
| int
| INT = [[Intelligence]] [[Saving Throw]]
| INT = [[Intelligence]] [[saving throw]]
| wisdom
| wisdom
| Wisdom
| Wisdom
| wis
| wis
| WIS = [[Wisdom]] [[Saving Throw]]
| WIS = [[Wisdom]] [[saving throw]]
| charisma
| charisma
| Charisma
| Charisma
| cha
| cha
| CHA = [[Charisma]] [[Saving Throw]]
| CHA = [[Charisma]] [[saving throw]]
| #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.
Line 47: Line 50:




Also supports an optional <code>dc</code> ([[Difficulty Class]]) parameter for abilities and spells with fixed DCs.
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>}}
Usage: {{code|<nowiki>{{Saving Throw|dexterity|dc=12}}</nowiki>}}


Result: {{Saving Throw|dexterity|dc=12}}
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 ==
== Template data ==
Line 74: 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": "number",
"suggestedvalues": [
"12",
"weapon action",
"caster"
],
"type": "string",
"suggested": true
"suggested": true
}
}
Line 81: 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>

Navigation menu