Template:Timeline of items/doc: Difference between revisions
Jump to navigation
Jump to search
>Illviljan mNo edit summary |
m (9 revisions imported) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{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 11: | Line 17: | ||
|- | |- | ||
| where | | 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=== | ===Example=== | ||
This example will produce a timeline of unique items. | |||
<pre> | <pre> | ||
{{Timeline | {{Timeline of items|where = items.rarity_id="unique"}} | ||
|where = items. | |||
}} | |||
</pre> | </pre> | ||
==See also== | |||
* {{tl|Version history list}} | |||
{{Documentation categories| | |||
< | <!-- Categories and interwikis go here. --> | ||
[[Category:Query templates]] | [[Category:Query templates]] | ||
}} |
Latest revision as of 04:18, 30 September 2024
This subpage provides documentation for Template:Timeline of items.
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