Template:Weapon action: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
(Wrap explicitly in <dl> tags (Template:Weapon action/format will receive an associated edit).)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query: tables = spells
<includeonly><dl>{{#cargo_query: tables = spells
| fields = _pageName = link, name, icon, action_type, description, CONCAT({{{2|40}}})=size
| fields = _pageName = link, name, icon, action_type, description, CONCAT({{{2|40}}})=size
| where = _pageName = "{{#replace: {{{1}}} | " | \" }}"
| where = _pageName = "{{#replace: {{{1}}} | " | \" }}"
| format = template
| format = template
| template = WeaponAction/Format
| template = Weapon action/format
| named args = yes
| named args = yes
}}</includeonly><noinclude>
}}</dl></includeonly><noinclude>
Use this to display a weapon action.  Examples follow.
Use this to display a weapon action.  Examples follow.


This template just runs the Cargo query; see [[Template:WeaponAction/Format]] for the formatting.
This template just runs the Cargo query; see [[Template:Weapon action/format]] for the formatting.


----
----
Line 15: Line 15:


<pre>
<pre>
{{WeaponAction | Tenacity }}
{{Weapon action | Tenacity }}
</pre>
</pre>


Result:
Result:


{{WeaponAction | Tenacity }}
{{Weapon action | Tenacity }}


----
----
Line 27: Line 27:


<pre>
<pre>
{{WeaponAction | Tiger's Bloodlust }}
{{Weapon action | Tiger's Bloodlust }}
</pre>
</pre>


Result:
Result:


{{WeaponAction | Tiger's Bloodlust }}
{{Weapon action | Tiger's Bloodlust }}


[[Category:Templates]]
[[Category:Templates]]

Latest revision as of 17:11, 11 June 2024

Use this to display a weapon action. Examples follow.

This template just runs the Cargo query; see Template:Weapon action/format for the formatting.


Usage:

{{Weapon action | Tenacity }}

Result:

Tenacity Tenacity ()

When you miss an attack, deal Damage TypesBludgeoning damage equal to your Strength modifier anyway (minimum of 1).


Usage:

{{Weapon action | Tiger's Bloodlust }}

Result:

Tiger's Bloodlust Tiger's Bloodlust ()

Lash out to attack up to 3 enemies at once. They each take half the damage your weapon usually deals and start to Bleed Bleed. Available only when Raging Raging.

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
name1

The name of the weapon action, without (Weapon Action)

Stringrequired
size2

The size of the icon.

Default
40
Numberoptional