65,958
editsAd placeholder
Template:Infobox creature/passives query: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
(Automatically search pages with "(passive feature)" in name too.) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: tables = passives | <includeonly>{{#cargo_query: tables = passives | ||
| fields = _pageName, name, icon, brief | | 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. | ||
Line 33: | Line 36: | ||
{{Infobox creature/passives query | Adamantine Shield }} | {{Infobox creature/passives query | Adamantine Shield }} | ||
<pre> | |||
{{Infobox creature/passives query | Ambusher (+1) | Scale Mail +2 }} | |||
</pre> | |||
{{Infobox creature/passives query | Ambusher (+1) | Scale Mail +2 }} | |||
</noinclude> | </noinclude> |