Template:Drop enabled base item table: Difference between revisions
Jump to navigation
Jump to search
Neokowloon (talk | contribs) No edit summary |
(Query parameters without "q_" are now preferred for item table templates.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke: Item table|item_table | <includeonly>{{#invoke:Item table|item_table | ||
|mode=item | |mode = item | ||
| | |tables = versions{{#if: {{{tables|}}}|, {{{tables}}}}} | ||
| | |join = items.release_version=versions.version{{#if: {{{join|}}}|, {{{join}}}}} | ||
| | |where = items.drop_enabled = true | ||
AND (items.release_version IS NULL | AND (items.release_version IS NULL | ||
OR items.release_version IS NOT NULL | OR items.release_version IS NOT NULL | ||
Line 13: | Line 13: | ||
|AND ({{{where}}}) | |AND ({{{where}}}) | ||
}} | }} | ||
| | |orderBy = {{{orderBy|{{{orderby|items.required_level_range_maximum}}}}}}, items.name | ||
|default=No results found | |default = No results found [[Category:Item tables without results]] | ||
}}{{#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 17:14, 26 October 2024
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.