Template:Infobox creature/conditions query: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(5 intermediate revisions by the same user 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.

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.