Template:Drop enabled base item count: Difference between revisions
Jump to navigation
Jump to search
>Illviljan (Created page with "<includeonly>{{#cargo_query: |fields=COUNT(DISTINCT items.name) |tables=items, versions{{#if: {{{tables|}}}|,{{{tables|}}}|}} |join on=items.release_version=versions.version{#...") |
m (7 revisions imported) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: | <includeonly>{{#cargo_query: | ||
|fields=COUNT(DISTINCT items.name) | |fields = COUNT(DISTINCT items.name) | ||
|tables=items, versions{{#if: {{{tables|}}}|,{{{tables | |tables = items, versions{{#if: {{{tables|}}}|, {{{tables}}}}} | ||
|join on=items.release_version=versions.version{#if: {{{join|}}}|,{{{join | |join on = items.release_version=versions.version{{#if: {{{join|}}}|, {{{join}}}}} | ||
|where= | |where = items._pageNamespace IN (0, {{NAMESPACENUMBER:Map:1}}) | ||
AND items.drop_enabled = true | |||
AND (items.release_version IS NULL | |||
OR items.release_version IS NOT NULL | |||
AND versions.release_date < {{CURRENTTIMESTAMP}} | |||
}}</includeonly><noinclude>{{ | ) AND items.base_item IS NULL | ||
AND items.base_item_id IS NULL | |||
AND items.base_item_page IS NULL | |||
{{#if: {{{where|}}} | |||
|AND ({{{where}}}) | |||
}} | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> |