The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.

Template:Version history list/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
No edit summary
m (17 revisions imported)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
__TOC__


==Overview==
{{Lua|Module:Version}}


This template creates a <nowiki><br></nowiki> separated version info.  
This template creates a timeline of game versions.
 
It is intended to be used with only a single row which has the arguments:
* Page
* Release date


==Usage==
==Usage==
Place this template on the page below a <code><nowiki>==level 2 heading==</nowiki></code> to create a version timeline.


In SMW ask queries, specify the following:
===Parameters===
<code>
{| class="wikitable"
|template=SMW current version
! Parameter
</code>
! Description
! Required
|-
| where
| Additional where conditions given to the Cargo query
| {{no}}
|}


==Example==
===Example===
This example will produce a version timeline for Path of Exile's Alpha phase.


<pre>{{#ask:
<pre>{{Version history list|where = versions.major_part=0 AND versions.minor_part<9}}</pre>
[[Category:Versions]]
|?Has release date
|headers=hide
|sort=Has release date, Is version
|order=desc, desc
|limit=1
|searchlabel=
|format=template
|template=SMW current version
}}</pre>


Result:
==See also==
* {{tl|Timeline of items}}


{{#ask:
{{Documentation categories|
[[Category:Versions]]
<!-- Categories and interwikis go here. -->
|?Has release date
[[Category:Version templates]]
|headers=hide
[[Category:Query templates]]
|sort=Has release date, Is version
|order=desc, desc
|limit=1
|searchlabel=
|format=template
|template=SMW current version
}}
}}
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:SMW result formatting templates]]
</includeonly>

Latest revision as of 21:15, 23 September 2024

This subpage provides documentation for Template:Version history list.

Lua logo

This template uses the following modules:

This template creates a timeline of game versions.

Usage

Place this template on the page below a ==level 2 heading== to create a version timeline.

Parameters

Parameter Description Required
where Additional where conditions given to the Cargo query No

Example

This example will produce a version timeline for Path of Exile's Alpha phase.

{{Version history list|where = versions.major_part=0 AND versions.minor_part<9}}

See also