Template:Weapon action: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
Wrap explicitly in <dl> tags (Template:Weapon action/format will receive an associated edit).
Added documentation/template demo templates
 
Line 5: Line 5:
| template = Weapon action/format
| template = Weapon action/format
| named args = yes
| named args = yes
}}</dl></includeonly><noinclude>
}}</dl></includeonly><noinclude>{{Documentation|content=
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:Weapon action/format]] for the formatting.
This template just runs the Cargo query; see [[Template:Weapon action/format]] for the formatting.


----
== Examples ==
 
{{Template demo
Usage:
| style = list
 
| <nowiki>{{Weapon action | Tenacity }}</nowiki>
<pre>
| <nowiki>{{Weapon action | Tiger's Bloodlust }}</nowiki>
{{Weapon action | Tenacity }}
}}
</pre>
 
Result:
 
{{Weapon action | Tenacity }}
 
----
 
Usage:
 
<pre>
{{Weapon action | Tiger's Bloodlust }}
</pre>
 
Result:
 
{{Weapon action | Tiger's Bloodlust }}
 
[[Category:Templates]]


== Template data ==
== Template data ==
Line 58: Line 39:
]
]
}
}
</templatedata></noinclude>
</templatedata>
}}
[[Category:Templates]]
</noinclude>

Latest revision as of 23:14, 19 January 2025

Template documentation

Use this to display a weapon action. Examples follow.

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

Examples

Markup
{{Weapon action | Tenacity }}
Renders as
Tenacity Tenacity ()

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

Markup
{{Weapon action | Tiger's Bloodlust }}
Renders as
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[Edit template data]

ParameterDescriptionTypeStatus
name1

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

Stringrequired
size2

The size of the icon.

Default
40
Numberoptional