Template:Infobox creature/conditions query: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Automatically search pages with "(condition)" and "(Condition)" in name too.)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#cargo_query: tables = conditions
<includeonly>{{#cargo_query: tables = conditions
| fields = _pageName, name, icon, brief
| fields = _pageName, name, icon, effects, brief
| where = _pageName = "{{trim | {{{1}}} }}" OR _pageName = "{{trim | {{{1}}} }} (condition)" OR _pageName = "{{trim | {{{1}}} }} (Condition)"
| where = _pageName = "{{trim | {{{1}}} }}" OR _pageName = "{{trim | {{{1}}} }} (condition)" OR _pageName = "{{trim | {{{1}}} }} (Condition)"
| format = template
| format = template
| limit = 1
| template = Infobox creature/conditions format
| template = Infobox creature/conditions format
| named args = yes
| named args = yes
| more results text=
| default = [[{{{1}}}]]{{Main namespace only|{{Inflicts|{{{1}}}|char}}[[Category:Pages with unknown conditions]]}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Queries a condition for display in the infobox. Uses [[Template:Infobox creature/conditions format]] for formatting.
Queries a condition for display in the infobox. Uses [[Template:Infobox creature/conditions format]] for formatting.
Line 10: Line 13:
Examples:
Examples:


TBD
<!--
<pre>
<pre>
{{Infobox creature/passives query | Agile Chassis }}
{{Infobox creature/conditions query | Aura of Protection (Condition) }}
</pre>
</pre>


{{Infobox creature/passives query | Agile Chassis }}
{{Infobox creature/conditions query | Aura of Protection (Condition) }}


<pre>
<pre>
{{Infobox creature/passives query | Cull the Weak (Drider) }}
{{Infobox creature/conditions query | Aura of Protection }} <!-- automatically disambiguates by adding "([Cc]ondition)" -->
</pre>
</pre>


{{Infobox creature/passives query | Cull the Weak (Drider) }}
{{Infobox creature/conditions query | Aura of Protection }}
 
<pre>
{{Infobox creature/passives query | Adamantine Shield (passive feature) }}
</pre>
 
{{Infobox creature/passives query | Adamantine Shield (passive feature) }}
-->
</noinclude>
</noinclude>

Latest revision as of 21:20, 20 June 2024

Queries a condition for display in the infobox. Uses Template:Infobox creature/conditions format for formatting.

Examples:

{{Infobox creature/conditions query | Aura of Protection (Condition) }}

Has a +Charisma modifier bonus to saving throws.

{{Infobox creature/conditions query | Aura of Protection }} <!-- automatically disambiguates by adding "([Cc]ondition)" -->

Has a +Charisma modifier bonus to saving throws.