Template:Drop enabled base item table: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(disable for the time being)
No edit summary
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly><!--{{#invoke: Item2|item_table
<includeonly>{{#invoke: Item table|item_table
|conditions={{#if: {{{item_class|}}}|[[Has item class::{{{item_class|}}}]]|}}
|q_tables=versions{{#if: {{{tables|}}}|,{{{tables|}}}|}}
[[Concept:Base items]]
|q_join=items.release_version=versions.version{{#if: {{{join|}}}|,{{{join|}}}|}}
{{#if: {{{extra_conditions|}}}|<q>{{{extra_conditions|}}}</q>|}}
|q_where=items.rarity_id = "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_sort=Has level requirement, Has name
|q_orderBy={{{orderby|items.required_level_range_maximum}}},items.name
}}--></includeonly><noinclude>{{documentation}}</noinclude>
}}{{#if:{{{q_tables|}}}{{{q_join|}}}{{{q_where|}}}{{{q_orderBy|}}}|[[Category:Pages incorrectly using item table templates]]}}</includeonly><noinclude>
{{Documentation}}
</noinclude>

Revision as of 16:28, 11 April 2024

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 Purpose
{{Item table}} Query and display a table of items
{{Drop enabled item table}} Query and display a table of drop enabled items
{{Drop enabled base item table}} Query and display a table of drop enabled base items
{{Drop enabled unique item table}} Query and display a table of drop enabled unique items
{{Gem table}} Query and display a table of gems
{{Drop enabled gem table}} Query and display a table of drop enabled gems

ru:Шаблон:Query base items