Ad placeholder

Template:Saving Throw: Difference between revisions

Jump to navigation Jump to search
New demo template
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.


Usage: {{code|<nowiki>{{Saving Throw}}</nowiki>}}
== Examples ==
 
{{Template demo
Result: {{Saving Throw}}
| <nowiki>{{Saving Throw}}</nowiki>
 
| <nowiki>{{Saving Throw|STR}}</nowiki>
Usage: {{code|<nowiki>{{Saving Throw|STR}}</nowiki>}}
| <nowiki>{{Saving Throw|Strength}}</nowiki>
 
| <nowiki>{{Saving Throw|Custom value}}</nowiki>
Result: {{Saving Throw|STR}}
| <nowiki>{{Saving Throw|dexterity|dc=12}}</nowiki>
 
| <nowiki>{{Saving Throw|dexterity|dc=caster}}</nowiki>
Usage: {{code|<nowiki>{{Saving Throw|Strength}}</nowiki>}}
| <nowiki>{{Saving Throw|dexterity|dc=weapon action}}</nowiki>
 
}}
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 ==
== Template data ==

Navigation menu