Template:Version history list/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
mNo edit summary
m (17 revisions imported)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
{{lua|Module:SMW result formats}}
__TOC__


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


This module and it's submodules are responsible for creating a list of versions. It will automatically create new sections for each minor sections.
This template creates a timeline of game versions.


==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===
<pre>
{| class="wikitable"
|template=SMW version history
! Parameter
|outrotemplate=SMW version history/outro
! Description
</pre>
! 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 releasse date::+]]
|?Has release date
|link=none
|limit=2
|format=template
|template=SMW version history
|outrotemplate=SMW version history/outro
|searchlabel=
}}</pre>


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


{{#ask:
{{Documentation categories|
[[Category:Versions]]
<!-- Categories and interwikis go here. -->
[[Has release date::+]]
[[Category:Version templates]]
|?Has release date
[[Category:Query templates]]
|link=none
|limit=2
|format=template
|template=SMW version history
|outrotemplate=SMW version history/outro
|searchlabel=
}}
}}
<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