Template:Item count: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
Tags: Undo Reverted |
||
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.release_version IS NULL OR items.release_version IS NOT NULL AND versions.release_date < {{CURRENTTIMESTAMP}}) | |||
{{#if: {{{where|}}}|AND ({{{where|}}})|}} | |||
}}</includeonly><noinclude>{{documentation}}</noinclude> | |||
}}</includeonly><noinclude> | |||
{{ | |||
</noinclude> |
Revision as of 19:49, 9 April 2024
The above documentation is transcluded from Template:Item count/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.