Template:Version/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{{Lua|Module:Version}}
{{Lua|Module:Version}}
This template displays a succession box for a game version.
__TOC__
__TOC__


The '''version''' template is used to create a formatted succession box for version pages. It will also take care of setting some basic semantic variables; due to that it has been restricted to work only on regular version pages.
==Usage==
Use this template at the top of an article that describes a game version. These articles are normally titled in the format, "Version x.y.z".


==Parameters==
===Parameters===
{| class="wikitable"
{| class="wikitable"
! Parameter !! Description
! Parameter !! Description !! Required
|-
|-
| '''before''' || The previous version number
| before
| The previous version number
| {{no}}
|-
|-
| '''patch''' || This version number
| patch
| This version number
| {{yes}}
|-
|-
| '''patchdate''' || The release date of this version
| patchdate
| The release date of this version
| {{yes}}
|-
|-
| '''after''' || The next version number
| after
| The next version number
| {{no}}
|}
|}


==Usage==
===Example===
To set up the article for a particular version, use the following template:
To set up the article for a particular version, use the following wikicode:


<pre>
<pre>
Line 50: Line 62:
</pre>
</pre>


==Subpages==
==Cargo==
{{Subpages}}
{| class="wikitable"
! Table !! Declared by !! Attached by
|-
| [[Special:CargoTables/versions|versions]]
| {{tl|Version/cargo/versions/declare}}
| {{tl|Version/cargo/versions/attach}}
|}


{{Documentation categories|
{{Documentation categories|

Revision as of 15:09, 9 April 2024

This subpage provides documentation for Template:Version.

Lua logo

This template uses the following modules:

This template displays a succession box for a game version.

Usage

Use this template at the top of an article that describes a game version. These articles are normally titled in the format, "Version x.y.z".

Parameters

Parameter Description Required
before The previous version number
patch This version number
patchdate The release date of this version
after The next version number

Example

To set up the article for a particular version, use the following wikicode:

{{version
| before    = 
| patch     = x.y.z
| patchdate = 
| after     = 
}}

==Patch notes==
These are the official patch notes for '''version x.y.z''' released by [[Grinding Gear Games]].<ref name="Patch Notes" />

{{blockquote top}}
INSERT PATCH NOTES HERE
{{blockquote bottom}}

==References==
{{reflist|refs=
<ref name="Patch Notes">{{cite web
| author     = 
| date       = 
| title      = x.y.z Patch Notes
| url        = 
| publisher  = Official Path of Exile Forums
| accessdate = 
}}</ref>
}}

Cargo

Table Declared by Attached by
versions {{Version/cargo/versions/declare}} {{Version/cargo/versions/attach}}