Template:Drop enabled item table: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
No edit summary
(Query parameters without "q_" are now preferred for item table templates.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke: Item table|item_table
<includeonly>{{#invoke:Item table|item_table
|q_tables=versions{{#if: {{{tables|}}}|,{{{tables|}}}|}}
|mode = item
|q_join=items.release_version=versions.version{{#if: {{{join|}}}|,{{{join|}}}|}}
|tables = versions{{#if: {{{tables|}}}|, {{{tables}}}}}
|q_where=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|}}})|}}  
|join = items.release_version=versions.version{{#if: {{{join|}}}|, {{{join}}}}}
|q_orderBy={{{orderby|items.required_level_range_maximum}}},items.name
|where = 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}}})
  }}
|orderBy = {{{orderBy|{{{orderby|items.required_level_range_maximum}}}}}}, items.name
}}{{#if:{{{q_tables|}}}{{{q_fields|}}}{{{q_join|}}}{{{q_where|}}}{{{q_groupBy|}}}{{{q_having|}}}{{{q_orderBy|}}}{{{q_limit|}}}{{{q_offset|}}}|[[Category:Pages incorrectly using item table templates]]}}</includeonly><noinclude>
}}{{#if:{{{q_tables|}}}{{{q_fields|}}}{{{q_join|}}}{{{q_where|}}}{{{q_groupBy|}}}{{{q_having|}}}{{{q_orderBy|}}}{{{q_limit|}}}{{{q_offset|}}}|[[Category:Pages incorrectly using item table templates]]}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 22:26, 26 October 2024

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


Lua logo

This template uses the following modules:

Overview

This template queries for drop enabled items.

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

See also

Template:Item table templates