Template:Version/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions 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}}
|}
|}


===Deprecated parameters===
===Example===
These parameters were removed from the template and can be safely deleted.
To set up the article for a particular version, use the following wikicode:


{| class="wikitable"
<pre>
! Parameter !! Description
{{version
|-
| before   =  
| '''beforedate''' || The release date of the previous version
| patch     = x.y.z
|-
| patchdate =  
| '''afterdate''' || The release date of the next version
| after     =  
|}
 
==Version page template==
<pre><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 name="Patch Notes" />
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 47: Line 51:
==References==
==References==
{{reflist|refs=
{{reflist|refs=
<ref name = "Patch Notes">{{cite web
<ref name="Patch Notes">{{cite web
|title = {{subst:#sub: {{subst:PAGENAME}} | 8 }} Patch Notes
| author    =  
|url =  
| date      =  
|author =  
| title      = x.y.z Patch Notes
|date =  
| url        =  
|accessdate =
| publisher = Official Path of Exile Forums
  |publisher = Official Path of Exile Website
| accessdate =
}}</ref>
}}</ref>
}}</nowiki></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|

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