Template:Infobox creature/passives query: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Automatically search pages with "(passive feature)" in name too.)
Line 1: Line 1:
<includeonly>{{#cargo_query: tables = passives
<includeonly>{{#cargo_query: tables = passives
| fields = _pageName, name, icon, brief
| fields = _pageName, name, icon, brief
| where = _pageName = "{{trim | {{{1}}} }}"
| where = _pageName = "{{trim | {{{1}}} }}" OR _pageName = "{{trim | {{{1}}} }} (passive feature)"
| format = template
| format = template
| template = Infobox creature/passives format
| template = Infobox creature/passives format
Line 27: Line 27:


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

Revision as of 18:16, 22 April 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) }}

{{{description}}}

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

{{{description}}}