Template:Version/doc: Difference between revisions

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


{{tlx|Version}} is used to create a formatted succession box for version pages.
{{Lua|Module:Version}}


==Parameters==
This template displays a succession box for a game version.
 
__TOC__
 
==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===
{| class="wikitable"
{| class="wikitable"
! Parameter !! Description
! Parameter !! Description !! Required
|-
|-
| <code>before</code> || The previous version number
| before
| The previous version number
| {{no}}
|-
|-
| <code>beforedate</code> || The release date of the previous version
| patch
| This version number
| {{yes}}
|-
|-
| <code>patch</code> || This version number
| patchdate
| The release date of this version
| {{yes}}
|-
|-
| <code>beforedate</code> || The release date of this version
| after
|-
| The next version number
| <code>before</code> || The next version number
| {{no}}
|-
| <code>beforedate</code> || The release date of the next version
|}
|}


==Version page template==
===Example===
<nowiki>{{version
To set up the article for a particular version, use the following wikicode:
| before                 =
 
| beforedate            =  
<pre>
| patch                 = {{subst:#sub: {{subst:PAGENAME}} | 8 }}
{{version
| patchdate             =  
| before   =  
| after                 =
| patch     = x.y.z
| afterdate              =  
| patchdate =  
| after     =  
}}
}}


==Patch notes==
==Patch notes==
These are the official patch notes for '''v{{subst:#sub: {{subst:PAGENAME}} | 1 }}''' released by Grinding Gear Games.<ref>{{cite web|author=|date=|title={{subst:#sub: {{subst:PAGENAME}} | 8 }} Patch Notes|url=|publisher=Official Path of Exile Forums|accessdate=}}</ref>
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>
}}
</pre>


==References==
==Cargo==
{{reflist}}</nowiki>
{| class="wikitable"
! Table !! Declared by !! Attached by !! Data
|-
| [[Special:CargoTables/versions|versions]]
| {{tl|Version/cargo/versions/declare}}
| {{tl|Version/cargo/versions/attach}}
| Pages in [[:Category:Versions]]
|}


<includeonly>
{{Documentation categories|
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- Categories and interwikis go here. -->
[[Category:Templates]]
[[Category:Succession templates]]
</includeonly>
[[Category:Data templates]]
}}

Latest revision as of 16:16, 23 September 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 No
patch This version number Yes
patchdate The release date of this version Yes
after The next version number No

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 Data
versions {{Version/cargo/versions/declare}} {{Version/cargo/versions/attach}} Pages in Category:Versions