Template:5e Spell Save Hit: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly>({{srd5lc|Spell Save}} {{SRD5|DC}} {{#expr: 8+{{{1|}}}+{{{2|}}}}}, +{{#expr: {{{1|}}}+{{{2|}}}}} to hit with {{srd5lc|Spell Attack}}s)</includeonly><noinclude> ==...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>({{srd5lc|Spell Save}} {{SRD5|DC}} {{#expr: 8+{{{1|}}}+{{{2|}}}}}, +{{#expr: {{{1|}}}+{{{2|}}}}} to hit with {{srd5lc|Spell Attack}}s)</includeonly><noinclude>
<includeonly>{{#if: {{{short|}}}|{{SRD5|DC}} {{#expr: 8+{{{1|}}}+{{{2|}}}}}, +{{#expr: {{{1|}}}+{{{2|}}}}} to hit|({{srd5lc|Spell Save}} {{SRD5|DC}} {{#expr: 8+{{{1|}}}+{{{2|}}}}}, +{{#expr: {{{1|}}}+{{{2|}}}}} to hit with {{srd5lc|Spell Attack}}s)|}}</includeonly><noinclude>
==Syntax==
==Syntax==
<pre>{{5e Spell Save Hit|spellcastingAbilityMod|proficiencyBonus}}</pre>
<pre>{{5e Spell Save Hit|spellcastingAbilityMod|proficiencyBonus}}</pre>
===Optional Entries===
<pre>|short= <!--blank, true--></pre>


==Example==
==Example==
<pre>{{5e Spell Save Hit|6|3}}</pre>
<pre>{{5e Spell Save Hit|6|3}}</pre>
<pre>{{5e Spell Save Hit|6|3|short=true}}</pre>


produces...
produces...


{{5e Spell Save Hit|6|3}}
{{5e Spell Save Hit|6|3}}
{{5e Spell Save Hit|6|3|short=true}}


[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>
</noinclude>

Latest revision as of 06:13, 12 September 2022

Syntax[edit]

{{5e Spell Save Hit|spellcastingAbilityMod|proficiencyBonus}}

Optional Entries[edit]

|short= <!--blank, true-->

Example[edit]

{{5e Spell Save Hit|6|3}}
{{5e Spell Save Hit|6|3|short=true}}

produces...

(spell save DC 17, +9 to hit with spell attacks)

DC 17, +9 to hit