Template:Drop enabled base item table: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 No edit summary |
>OmegaK2 No edit summary |
||
Line 2: | Line 2: | ||
{{#if: {{{extra_conditions|}}}|[[Category:Broken item tables]]| | {{#if: {{{extra_conditions|}}}|[[Category:Broken item tables]]| | ||
{{#invoke: Item2|item_table | {{#invoke: Item2|item_table | ||
|q_tables=versions{{{tables|}}} | |q_tables=versions{{#if: {{{tables|}}}|,{{{tables|}}}|}} | ||
|q_join=items.release_version=versions.version{{{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}}} |
Revision as of 23:34, 2 January 2018
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
The above documentation is transcluded from Template:Drop enabled base item table/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.