Ad placeholder

Template:DamageModifier: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 4: Line 4:
| finesse = + [[Damage Roll#Modifiers|Strength or Dexterity Modifier]]
| finesse = + [[Damage Roll#Modifiers|Strength or Dexterity Modifier]]
| spell | spellcasting = + [[Spellcasting Modifier]]
| spell | spellcasting = + [[Spellcasting Modifier]]
| {{#if: {{{1|}}} | + [[Damage Roll#Modifiers|{{{1}}} Modifier]] | }}
| {{#if: {{{1|}}} | + [[Ability Score Modifier|{{{1}}} Modifier]] | }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
The keywords melee, ranged, and finesse can be used to print the corresponding modifier(s) with a link to the Damage Roll page that explains the details:
The keywords melee, ranged, and finesse can be used to print the corresponding modifier(s) with a link to the Damage Roll page that explains the details:
Line 19: Line 19:


Result: {{DamageModifier|finesse}}
Result: {{DamageModifier|finesse}}
The keyword spell can be used to link to [[Spellcasting Modifier]]:


Usage: {{code|<nowiki>{{DamageModifier|spell}}</nowiki>}}
Usage: {{code|<nowiki>{{DamageModifier|spell}}</nowiki>}}
Line 24: Line 26:
Result: {{DamageModifier|spell}}
Result: {{DamageModifier|spell}}


Anything that's not one of the specially recognized keywords will just have the word "Modifier" appended:
Anything that's not one of the specially recognized keywords will just have the word "Modifier" appended and link to [[Ability Score Modifier]]:


Usage: {{code|<nowiki>{{DamageModifier|Wisdom}}</nowiki>}}
Usage: {{code|<nowiki>{{DamageModifier|Wisdom}}</nowiki>}}

Navigation menu