70,311
editsTemplate:Infobox creature/passives query (view source)
Revision as of 21:20, 20 June 2024
, 20 June 2024no edit summary
(Support second parameter to specify item for fallback icon.) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: tables = passives | <includeonly>{{#cargo_query: tables = passives | ||
| fields = _pageName, name, icon, brief, CONCAT("{{{2|}}}") = item | | 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 | ||
| template = Infobox creature/passives format | | template = Infobox creature/passives format | ||
| limit = 1 | |||
| named args = yes | | named args = yes | ||
| more results text= | |||
| default = [[{{{1}}}]]{{Main namespace only|[[Category:Pages with unknown passives]]}} | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Queries a passive feature for display in the infobox. Uses [[Template:Infobox creature/passives format]] for formatting. | Queries a passive feature for display in the infobox. Uses [[Template:Infobox creature/passives format]] for formatting. |