Template:Timeline of items: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 No edit summary |
>Illviljan (Cargo support) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke: | <includeonly>{{#invoke:Version|timeline | ||
|tables = versions, items | |||
|fields = versions.version, versions.release_date, versions._pageName, items.class, items._pageName, items.name, items.release_version, items.inventory_icon, items.html | |||
|q_join = versions.version=items.release_version | |||
|q_where = | |||
versions.version IS NOT NULL | |||
AND items.release_version IS NOT NULL | |||
AND items.rarity = "Unique" | |||
{{#if: {{{where|}}} | |||
|AND ({{{where|}}}) | |||
| | |||
}} | |||
|q_orderBy = versions.version DESC, versions.release_date ASC, items.name ASC | |||
|q_groupBy = versions._pageID, items.name | |||
|q_limit = 5000 | |||
}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 20:30, 16 January 2018
This template creates a timeline that shows when items were added to the game.
Usage
Place this template on the page below a ==level 2 heading==
to create a timeline of items.
In order for an item to appear in the list, the item template must specify a release_version
.
Parameters
Parameter | Description | Required |
---|---|---|
where | Additional where conditions given to the Cargo query | ![]() |
namespaces | A comma-separated list of namespace IDs to query items from, or set to "any" to remove this restriction. | ![]() |
Example
This example will produce a timeline of unique items.
{{Timeline of items|where = items.rarity_id="unique"}}
See also
The above documentation is transcluded from Template:Timeline of items/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.