Template:Timeline of items/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>Illviljan
(Created page with "{{documentation subpage}} {{lua|Module:SMW query}} Adds a timeline for the results of a semantic mediawiki query. ===Parameters=== {| class="wikitable" ! Parameter ! Descrip...")
 
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
{{lua|Module:SMW query}}


Adds a timeline for the results of a semantic mediawiki query.
{{Lua|Module:Version}}
 
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 10: Line 16:
! Required
! Required
|-
|-
| conditions
| where
| Conditions for an SMW 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|conditions=
{{Timeline of items|where = items.rarity_id="unique"}}
[[Concept:Unique items]]
[[Has release version::1.0.0]]
}}
</pre>
</pre>


yields: {{Timeline|conditions=
==See also==
[[Concept:Unique items]]
* {{tl|Version history list}}
[[Has release version::1.0.0]]
 
{{Documentation categories|
<!-- Categories and interwikis go here. -->
[[Category:Query templates]]
}}
}}

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