Template:Timeline of items/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{Lua|Module:Version}}
{{Lua|Module:Version}}


Adds a timeline for the results of a cargo query that have been released in Path of Exile. If some results are missing it may be that <code>release_version</code> hasn't been defined on that page.
This template creates a timeline that shows when items were added to the game.
 
==Usage==
Place this template on the page below a <code><nowiki>==level 2 heading==</nowiki></code> to create a timeline of items.
 
In order for an item to appear in the list, the [[Template:Item|item template]] must specify a <code>release_version</code>.


===Parameters===
===Parameters===
Line 12: Line 17:
|-
|-
| where
| where
| Where conditions for a cargo query.
| Additional where conditions given to the Cargo query
| {{yes}}
| {{no}}
|-
| namespaces
| A comma-separated list of namespace IDs to query items from, or set to "any" to remove this restriction.
| {{no}}
|}
|}


===Example===
===Example===
This example will produce a timeline of unique items.
<pre>
<pre>
{{Timeline
{{Timeline of items|where = items.rarity_id="unique"}}
|where = items.rarity="Unique"
}}
</pre>
</pre>
==See also==
* {{tl|Version history list}}


{{Documentation categories|
{{Documentation categories|

Latest revision as of 15:00, 9 April 2024

This subpage provides documentation for Template:Timeline of items.

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
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