Template:Attack roll: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Changed so "attack roll = yes" and other values returns "Attack roll" instead of "attack roll")
m (typo)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
| ranged off-hand weapon = {{{1|}}}
| ranged off-hand weapon = {{{1|}}}
| #default = no type
| #default = no type
}}|{{ucfirst:{{lc:{{{1}}}}}}} [[attack roll]]|[[Attack roll]]}}
}}|{{ucfirst:{{lc:{{{1}}}}}}} [[attack roll]]|[[Attack roll]]}}</includeonly><noinclude>
</includeonly><noinclude>
Usage: {{code|<nowiki>{{Attack roll|<Type>}}</nowiki>}}
Usage: {{code|<nowiki>{{Attack roll|<Type>}}</nowiki>}}



Latest revision as of 16:47, 11 January 2024

Usage: {{Attack roll|<Type>}}


Example: {{Attack roll}}

Result: Attack roll


Example: {{Attack roll|melee weapon}}

Result: Melee weapon attack roll


Example: {{Attack roll|ranged weapon}}

Result: Ranged weapon attack roll


Example: {{Attack roll|melee unarmed}}

Result: Melee unarmed attack roll


Example: {{Attack roll|ranged spell}}

Result: Ranged spell attack roll

No description.

Template parameters

ParameterDescriptionTypeStatus
type1

The type of attack roll.

Suggested values
melee weapon melee spell melee unarmed melee off-hand weapon ranged weapon ranged spell ranged unarmed ranged off-hand weapon
Stringoptional