[purge]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationThis template uses Module:Downloadlinks, with data stored in Module:Downloadlinks/hashes and Module:Downloadlinks/windows server.
These scripts are written in Lua.
These scripts are written in Lua.
The purpose of this template is to show download links on other version pages.
Usage
{{downloadlink|v=version|s=Sort[|description=description|nocat=1]}}
In this, |version= is the version of the game, for example 18w20c. Furthermore, |type= is one of the following values: client , server , json or windows .
The parameters |nocat= and |description= are optional.
Examples
* {{downloadlink}}
* {{downloadlink|v=18w20c|s=client}}
* {{downloadlink|v=18w20c|s=server}}
* {{downloadlink|v=18w20c|s=json|description=Only data, no game!}}
* {{downloadlink|v=1.5.1|s=windows|description=Obsolete version!}}
Result
Missing version
For a missing version, the page is automatically added to the Category:Invalid download link. Missing downloadhashes can be added to this module, provided the hashes are correct.