71,331
editsTemplate:Infobox creature/conditions query (view source)
Revision as of 22:20, 20 June 2024
, 20 June 2024no edit summary
(Created page with "<includeonly>{{#cargo_query: tables = conditions | fields = _pageName, name, icon, brief | where = _pageName = "{{trim | {{{1}}} }}" | format = template | template = Infobox creature/conditions format | named args = yes }}</includeonly><noinclude> Queries a condition for display in the infobox. Uses Template:Infobox creature/conditions format for formatting. Examples: TBD <!-- <pre> {{Infobox creature/passives query | Agile Chassis }} </pre> {{Infobox creature/pas...") |
HiddenDragon (talk | contribs) mNo edit summary |
||
(7 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}}} }}" | | 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: | ||
<pre> | <pre> | ||
{{Infobox creature/ | {{Infobox creature/conditions query | Aura of Protection (Condition) }} | ||
</pre> | </pre> | ||
{{Infobox creature/ | {{Infobox creature/conditions query | Aura of Protection (Condition) }} | ||
<pre> | <pre> | ||
{{Infobox creature/ | {{Infobox creature/conditions query | Aura of Protection }} <!-- automatically disambiguates by adding "([Cc]ondition)" --> | ||
</pre> | </pre> | ||
{{Infobox creature/ | {{Infobox creature/conditions query | Aura of Protection }} | ||
</noinclude> | </noinclude> |