VOOZH about

URL: https://minecraft.wiki/w/Module:Version

⇱ Module:Version – Minecraft Wiki


Module:Version

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]Jump to code ↴

This module is deprecated, and is kept only for historical reference. Please use {{version}} to display the latest version.

[view] [edit] [history] [purge]The above documentation is transcluded from Module:Version/doc.
localp={}
localversions=mw.loadJsonData('Module:Version/numbers.json')
localprefixes={
['java']='Java Edition_',
['bedrock']='Bedrock Edition_',
['dungeons']='Minecraft Dungeons:',
['launcher']='Launcher_',
['education']='Minecraft Education_',
['classroom_mode']='Minecraft Education version history/Classroom Mode#',
['code_connection']='Minecraft Education version history/Code Connection#',
['china']='China Edition#',
['bds']='Bedrock Edition beta_',
['legends']='Minecraft Legends:',
['editor']='Bedrock Editor_'
}
p.version=function(f)
localargs=f:getParent().args
localtmp=string.lower(args[1]or'')
localversion=versions[tmp]
ifnotversionthenreturnnilend
localseperate=string.find(tmp,'-')
localprefix=prefixes[seperateandstring.sub(tmp,0,seperate-1)ortmp]
localoutput=prefix..version..'|'..version
return(args.nolinkandversion)or(args.plainlinkandoutput)or'[['..output..']]'
end
returnp
Retrieved from "https://minecraft.wiki/w/Module:Version?oldid=2795307"

Navigation menu