Template:Infobox creature/passives parser

Template page
< Template:Infobox creature
Revision as of 20:58, 22 April 2024 by Taylan (talk | contribs) (Created page with "<includeonly>{{#if: {{#pos: {{{1}}} | [ }}} | {{Infobox creature/passives query | {{#explode: {{{1}}} | @ | 0 }} | {{#explode: {{{1}}} | @ | 1 }} }} | {{Infobox creature/passives query | {{{1}}} }} }}</includeonly><noinclude> Used to parse special syntax that can be used in the <code>passives</code> list to specify the item that grants the passive. The <code>passives</code> list may contain elements of the format <code>Passive name @ Item name</code> to specify that the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Used to parse special syntax that can be used in the passives list to specify the item that grants the passive.

The passives list may contain elements of the format Passive name @ Item name to specify that the passive is granted by that item.

Results are passed on to Template:Infobox creature/passives query for further processing.

Example:

{{Infobox creature/passives parser | Ambusher (+1) @ Scale Mail +2 }}

Gain +1 to initiative rolls.