Template:Version/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
{{lua|Module:SMW data tables}}
 
{{Lua|Module:Version}}
 
This template displays a succession box for a game version.
 
__TOC__
__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".


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.
===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}}
|}
|}


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


These parameters were removed from the template and can be safely deleted.
<pre>
 
{{version
{| class="wikitable"
| before   =  
! Parameter !! Description
| patch     = x.y.z
|-
| patchdate =  
| '''beforedate''' || The release date of the previous version
| after     =  
|-
| '''afterdate''' || The release date of the next version
|}
 
 
==Version page template==
<nowiki>{{version
| before                 =
| patch                 = {{subst:#sub: {{subst:PAGENAME}} | 8 }}
| 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}}
{{blockquote top}}
Line 48: Line 50:


==References==
==References==
{{reflist}}</nowiki>
{{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>
 
==Cargo==
{| class="wikitable"
! Table !! Declared by !! Attached by
|-
| [[Special:CargoTables/versions|versions]]
| {{tl|Version/cargo/versions/declare}}
| {{tl|Version/cargo/versions/attach}}
|}


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

Latest 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}}