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
No edit summary
Line 1: Line 1:
<includeonly>==Items found from this monster==
<includeonly>==Item drops==
{{Item table
The following [[drop-restricted item]]s can drop from this monster.
|q_where=items.drop_monsters__FULL REGEXP "(,{{!}}^){{{metadata_id}}}(,{{!}}$)"
 
|level=1
{{#if: {{{metadata_id|}}}
|drop_level=1
| {{Item table
|default=There are currently no items that have a drop table specific to this monster.
  |q_where = items.drop_monsters HOLDS "{{{metadata_id}}}"
}}</includeonly><noinclude>{{documentation}}</noinclude>
  |drop_level = 1
  |default = : ''No items include this monster in their drop restrictions.''
}} | {{error|No monster metadata ID given.}} }}</includeonly><noinclude>
{{Documentation}}
</noinclude>

Revision as of 19:58, 24 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