Template:Timeline of items: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
No edit summary
(Timeline function simplified: similar functionality with much less configuration)
Line 1: Line 1:
<includeonly>{{#invoke:Version|timeline
<includeonly>{{#invoke:Version|timeline
|tables = versions, items, _pageData
|list_items = true
|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, items._pageID=_pageData._pageID
|q_where = items.release_version IS NOT NULL {{#ifeq:{{{namespaces}}}|any
  |
  |AND _pageData._pageNamespace IN ({{{namespaces|{{NAMESPACENUMBER}}}}})
}} {{#if: {{{where|}}}
  |AND ({{{where}}})
}}
|q_orderBy = versions.release_date DESC, versions.major_part DESC, versions.minor_part DESC, versions.patch_part DESC, versions.revision_part DESC, items.name ASC
|q_groupBy = items._pageID
|q_limit = 5000
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 03:22, 7 April 2024

Template documentation[view] [edit] [history] [purge]


Lua logo

This template uses the following modules:

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 No
namespaces A comma-separated list of namespace IDs to query items from, or set to "any" to remove this restriction. No

Example

This example will produce a timeline of unique items.

{{Timeline of items|where = items.rarity_id="unique"}}

See also