Template:Infobox creature/passives query: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#cargo_query: tables = passives | fields = _pageName, name, icon, brief | where = _pageName = "{{{1}}}" | format = template | template = Infobox creature/feature format | named args = yes }}</includeonly><noinclude> Queries a feature for display in the infobox. Uses Template:Infobox creature/feature format for formatting. Examples: <pre> {{Infobox creature/feature query | Agile Chassis }} </pre> {{Infobox creature/feature query | Agile Chassis }} <...") |
HiddenDragon (talk | contribs) mNo edit summary |
||
(9 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 = "{{{1}}}" | | where = _pageName = "{{trim | {{{1}}} }}" OR _pageName = "{{trim | {{{1}}} }} (passive feature)" | ||
| format = template | | format = template | ||
| template = Infobox creature/ | | 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 feature for display in the infobox. Uses [[Template:Infobox creature/ | Queries a passive feature for display in the infobox. Uses [[Template:Infobox creature/passives format]] for formatting. | ||
Examples: | Examples: | ||
<pre> | <pre> | ||
{{Infobox creature/ | {{Infobox creature/passives query | Agile Chassis }} | ||
</pre> | </pre> | ||
{{Infobox creature/ | {{Infobox creature/passives query | Agile Chassis }} | ||
<pre> | <pre> | ||
{{Infobox creature/ | {{Infobox creature/passives query | Cull the Weak (Drider) }} | ||
</pre> | </pre> | ||
{{Infobox creature/ | {{Infobox creature/passives query | Cull the Weak (Drider) }} | ||
<pre> | |||
{{Infobox creature/passives query | Adamantine Shield (passive feature) }} | |||
</pre> | |||
{{Infobox creature/passives query | Adamantine Shield (passive feature) }} | |||
<pre> | |||
{{Infobox creature/passives query | Adamantine Shield }} <!-- will disambiguate automatically by adding "(passive feature)" --> | |||
</pre> | |||
{{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> |
Latest revision as of 21:20, 20 June 2024
Queries a passive feature for display in the infobox. Uses Template:Infobox creature/passives format for formatting.
Examples:
{{Infobox creature/passives query | Agile Chassis }}
{{Infobox creature/passives query | Cull the Weak (Drider) }}
+2d6 damage to targets below 50% HP.
{{Infobox creature/passives query | Adamantine Shield (passive feature) }}
When a melee attack misses you, the attacker is sent for 2 turns.
{{Infobox creature/passives query | Adamantine Shield }} <!-- will disambiguate automatically by adding "(passive feature)" -->
When a melee attack misses you, the attacker is sent for 2 turns.
{{Infobox creature/passives query | Ambusher (+1) | Scale Mail +2 }}
Gain +1 to initiative rolls.