Template:Area item drops: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
(Cargo's HOLDS seems to work just fine and should have better performance than REGEXP.)
(Added language that describes the list of items. Removed required level column. Added drop level column.)
Line 1: Line 1:
<includeonly>==Items found in this area==
<includeonly>==Items found in this area==
The following [[drop-restricted item]]s can drop in this area.
{{#if: {{{area_id|}}}
{{#if: {{{area_id|}}}
| {{#invoke:Item table|item_table
| {{#invoke:Item table|item_table
   | q_where = items.drop_areas HOLDS "{{{area_id}}}"
   |q_where = items.drop_areas HOLDS "{{{area_id}}}"
   | level = 1
   |drop_level = 1
   | default = There are currently no items that have a drop table specific to this area.
   |default = ''No items include this area in their drop restrictions.''
  }}
}} | {{error|No area id given.}} }}</includeonly><noinclude>
| {{error|No area id given.}}
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 20:04, 3 August 2022

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


Overview

This template queries for items that drop in a particular area. It will also display the appropriate header and a text if no items drop in an area.

For more information, see Template:Item table.

Additional Parameters

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

Parameter Value Description
area_id str The id of the area to query items with particular drop restrictions for.

Examples

{{Area item drops|area_id=1_1_1}}

yields

Items found in this area

The following drop-restricted items can drop in this area.

No items include this area in their drop restrictions.

See also