Template:Area item drops: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
m (11 revisions imported)  | 
				No edit summary  | 
				||
| Line 3: | Line 3: | ||
{{#if: {{{area_id|}}}  | {{#if: {{{area_id|}}}  | ||
| {{  | | {{Item table  | ||
   |q_where = items.drop_areas HOLDS "{{{area_id}}}"  |    |q_where = items.drop_areas HOLDS "{{{area_id}}}"  | ||
   |drop_level = 1  |    |drop_level = 1  | ||
   |default = ''No items include this area in their drop restrictions.''  |    |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 16:58, 24 October 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
Items found in this area
The following drop-restricted items can drop in this area.
Lua error in Module:Item_table at line 1912: The "where" parameter is required.
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.