The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.

Template:Monster item drops: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
No edit summary
(Query parameters without "q_" are now preferred for item table templates.)
Line 4: Line 4:
{{#if: {{{metadata_id|}}}
{{#if: {{{metadata_id|}}}
| {{Item table
| {{Item table
   |q_where = items.drop_monsters HOLDS "{{{metadata_id}}}"
   |where = items.drop_monsters HOLDS "{{{metadata_id}}}"
   |drop_level = 1
   |drop_level = 1
   |default = : ''No items include this monster in their drop restrictions.''
   |default = : ''No items include this monster in their drop restrictions.''

Revision as of 16:21, 26 October 2024

Template documentation[view] [edit] [history] [purge]


Overview

This template queries for items that drop from a particular monster. It will also display the appropriate header and a text if no items drops from that monster.

For more information, see Template:Item table.

TODO: Should it handle multiple metadata ids? Izaro for example are multiple monsters with same name.

Additional Parameters

Parameters that can be specified in addition to the default {{item table}} parameters.

Parameter Value Description
metadata_id str The metadata id of the monster to query items with particular drop restrictions for.

Examples

{{Monster item drops|metadata_id=Metadata/Monsters/Atziri/Atziri}}

yields

Item drops

The following drop-restricted items can drop from this monster.

No items include this monster in their drop restrictions.

See also