Template:Drop enabled base item table: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
(Moved p.item_table from module item2 to item table)
>OmegaK2
(no longer need the category as all instances have been fixed)
Line 1: Line 1:
<includeonly>{{#if: {{{conditions|}}}|[[Category:Broken item tables]]|
<includeonly>{{#invoke: Item table|item_table
{{#if: {{{extra_conditions|}}}|[[Category:Broken item tables]]|
{{#invoke: Item table|item_table
|q_tables=versions{{#if: {{{tables|}}}|,{{{tables|}}}|}}
|q_tables=versions{{#if: {{{tables|}}}|,{{{tables|}}}|}}
|q_join=items.release_version=versions.version{{#if: {{{join|}}}|,{{{join|}}}|}}
|q_join=items.release_version=versions.version{{#if: {{{join|}}}|,{{{join|}}}|}}
|q_where=items.rarity = "Normal" AND items.drop_enabled = true AND (items.release_version IS NULL OR items.release_version IS NOT NULL AND versions.release_date < {{CURRENTTIMESTAMP}}) {{#if: {{{where|}}}|AND ({{{where|}}})|}}  
|q_where=items.rarity = "Normal" AND items.drop_enabled = true AND (items.release_version IS NULL OR items.release_version IS NOT NULL AND versions.release_date < {{CURRENTTIMESTAMP}}) {{#if: {{{where|}}}|AND ({{{where|}}})|}}  
|q_orderBy={{{q_orderBy|items.required_level_range_maximum,items.name}}}
|q_orderBy={{{q_orderBy|items.required_level_range_maximum,items.name}}}
}}
}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 14:48, 21 February 2018

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


Lua logo

This template uses the following modules:

Overview

This template queries for base items based on a item class.

For more information, see Template:Item table.

Parameters

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

Parameter Value Description
tables str Extra tables
join str Extra joins
where str Extra conditions
orderby str Can be used to specify the primary field to order the results by. Default: items.required_level_range_maximum.

See also

Template:Item table templates