Template:Infobox creature/passives query: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Automatically search pages with "(passive feature)" in name too.)
(Query description as well)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query: tables = passives
<includeonly>{{#cargo_query: tables = passives
| fields = _pageName, name, icon, brief
| fields = _pageName, name, icon, description, brief, CONCAT("{{{2|}}}") = item
| where = _pageName = "{{trim | {{{1}}} }}" OR _pageName = "{{trim | {{{1}}} }} (passive feature)"
| where = _pageName = "{{trim | {{{1}}} }}" OR _pageName = "{{trim | {{{1}}} }} (passive feature)"
| format = template
| format = template
Line 33: Line 33:


{{Infobox creature/passives query | Adamantine Shield }}
{{Infobox creature/passives query | Adamantine Shield }}
<pre>
{{Infobox creature/passives query | Ambusher (+1) | Scale Mail +2 }}
</pre>
{{Infobox creature/passives query | Ambusher (+1) | Scale Mail +2 }}
</noinclude>
</noinclude>

Latest revision as of 18:16, 14 May 2024

Queries a passive feature for display in the infobox. Uses Template:Infobox creature/passives format for formatting.

Examples:

{{Infobox creature/passives query | Agile Chassis }}

Advantage on DEX saves and + 9 m / 30 ft movement.

{{Infobox creature/passives query | Cull the Weak (Drider) }}

+2d6 damage to targets below 50% HP.

{{Infobox creature/passives query | Adamantine Shield (passive feature) }}

When a melee attack misses you, the attacker is sent Reeling Reeling for 2 turns.

{{Infobox creature/passives query | Adamantine Shield }} <!-- will disambiguate automatically by adding "(passive feature)" -->

When a melee attack misses you, the attacker is sent Reeling Reeling for 2 turns.

{{Infobox creature/passives query | Ambusher (+1) | Scale Mail +2 }}

Gain +1 to initiative rolls.