Template:Area item drops: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
>Illviljan m (HOLDS is unreliable using __FULL and REGEXP instead in Cargos list of strings. Remember {{!}} in normal templates.)  | 
				m (3 revisions imported)  | 
				||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>==  | <includeonly>==Item drops==  | ||
{{Item table  | The following [[drop-restricted item]]s can drop in this area.  | ||
|  | |||
|  | {{#if: {{{area_id|}}}  | ||
|default=  | | {{Item table  | ||
}}</includeonly><noinclude>{{  |   |where = items.drop_areas HOLDS "{{{area_id}}}"  | ||
  |drop_level = 1  | |||
  |default = : ''No items include this area in their drop restrictions.''  | |||
}} | {{error|No area ID given.}} }}</includeonly><noinclude>  | |||
{{Documentation}}  | |||
</noinclude>  | |||
Latest revision as of 21:52, 29 November 2024
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
Item drops
The following drop-restricted items can drop in this area.
- No items include this area in their drop restrictions.
 
The above documentation is transcluded from Template:Area item drops/doc. 
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.