Template:Version nav

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation
Version nav
Release date

?

Lua logo.svg
This template uses Module:Infobox, a script written in Lua.
Please see wp:Lua and mw:Extension:Scribunto to learn more.


This template provides a uniform design for separated version pages.

Usage[edit]

{{Version nav
|planned=
|submitted=
|title=
|edition=
|image=
|name=
|server=
|type=
|date=
|parent=
|devversions=
|download=
|json=
|clienthash=
|serverhash=
|clientdl=
|serverdl=
|no_protocol=
|no_data=
|protocol_manual=
|data_manual=
|editions=
|prevparentlink=
|prevparent=
|prevlink=
|prev=
|nextlink=
|next=
|nextparentlink=
|nextparent=
|categoryparent=
|messagebox=
|no-disambig=
}}
Parameter Function Default value
planned If the version hasn't been released yet
title Only needed to change the title from the page name {{BASEPAGENAME}}
submitted If the update has been submitted for approval. If not submitted, leave blank
edition The edition the page refers to. (computer, Pocket Edition, etc.)
image Official image for the version (for example: from a blog post, or Mojang tweet) {{{title}}}.png if it exists, otherwise none
name The official name for the version (for example: Adventure Update)
server The corresponding server version. Used in PC edition alpha versions
type The type of version (for example: Snapshot) None
date The (planned) release date ?
parent If this version is a development version, the version it belongs to None
devversions An unordered list of released snapshots belonging to this version An automatic list of the snapshots and pre-releases if there are any, otherwise none. If {{PAGENAME}}/Development versions exists, there will be a link to that.
download Where to download the client/server. overrides clientdl and serverdl. If this value is set to 1, downloads the version matching the infobox title, otherwise this value sets the version to download. WARNING: The download links generated just by using this are deprecated and will be removed by mojang eventually; see Category:Versions using legacy download site. Client (.json)

Server

json Version JSON id, as found in the version manifest If there is no value, downloads the .json file from the deprecated download link. The page will also be in Category:Versions using legacy download site
clienthash SHA1 hash of the client; used to construct the download link If there is no value, downloads the client.jar file from the deprecated download link. The page will also be in Category:Versions using legacy download site.
serverhash SHA1 hash of the server; used to construct the download link If there is no value, downloads the minecraft_server.jar file from the deprecated download link. The page will also be in Category:Versions using legacy download site.
clientdl Where to download the client Client
serverdl Where to download the server Server
no_protocol Suppresses the protocol version field. This field is already hidden for editions other than Java.
no_data Suppresses the data version field. This field is already hidden for editions other than Java, and versions that predate the addition of data versions.
protocol_manual Manually specifies a protocol version. The automatic protocol version, via {{Protocol version}}
data_manual Manually specifies a data version. The automatic data version, via {{Data version}}
othereditions An unordered list of other versions that have the same version number (for example: Beta 1.8, Pocket Edition Alpha 1.8, would relate to version 1.8). If not filled, will automatically look for pages of existing minecraft editions that exist and link them.
If set to "none", the list of pages will be blank, even if related pages exist.
Any existing related pages otherwise none
prevparentlink The link for the previous parent version, only necessary if different from the name.
prevparent The previous parent version (for example: 1.7 would be the previous parent version for 1.7.4 and 1.8). The edition prefix is added automatically. If it's a snapshot version, the previous parent would bethe previous full-release version that is not the version that the snapshot is for, even if the previous version is minor. For example, if it were a snapshot for 1.12, the previous parent would be 1.11.2. None
prevlink The link for the previous version, only necessary if different from the name.
prev The previous version. The edition prefix is added automatically. None
nextlink The link for the next version, only necessary if different from the name.
next The next version (including upcoming versions that have been officially announced). The edition prefix is added automatically. None
nextparentlink The link for the next parent version, only necessary if different from the name. The edition prefix is added automatically.
nextparent The next parent version (for example: 1.8 would be the next parent version for 1.7 and 1.7.4). None
messagebox The messagebox(es) that need to be shown next to the infobox, but above any automatically added {{about}} (for example a {{More images}}). None
no-disambig Avoids showing the disambiguation message.

See also[edit]

[view | edit | history | purge]The above documentation is transcluded from Template:Version nav/doc.