User:Thomanski/Sandbox/Template

{{#invoke:infobox|infobox #if: {{{title|}}} | {{{title}}} | {{ #dplreplace: {{BASEPAGENAME}} | ^{{#var: version-prefix }} }} }} }}{{#vardefine: title | {{#if: {{{server?|}}} | Server}} {{ #replace:{{#var:title}}|Minecraft }} }} {{#if: {{{edition|}}} | {{Infobox row|Edition|{{ }} | {{Infobox row|Edition|{{ }} }}{{#vardefine:noitalics|}} }} {{#if: {{{name|}}} }} {{#if: {{{server|}}} }} {{#if: {{{client|}}} }} {{#if: {{{build|}}} }} {{#if: {{{internal|}}} }} {{#if: {{{type|}}} | {{infobox row|Type|{{{type}}}}} }} {{infobox row|{{ #if: {{{unreleased|}}} | Date developed | {{#if: {{{planned|}}} | Planned release date | Release date}} }}|{{#if: {{{date|}}} | {{{date}}} | ? }} }} {{#if: {{{compiled|}}} | {{Infobox row|Compilation date|{{{compiled}}} }} }} {{#if: {{{parent|}}} {{#vardefineecho: snapshots | {{Development version list|{{#var: version-prefix}} {{#var: title }}|snapshots}} }} {{#vardefineecho: pre-releases | {{Development version list|{{#var: version-prefix}} {{#var: title }}|pre-releases}} }} {{#vardefineecho: builds | {{Development version list|{{#var: version-prefix}} {{#if: {{#pos:{{PAGENAME}}|Alpha}} | Alpha}} {{#replace:{{#replace:{{#var:title}}|alpha}}|v}}|builds}} }} }} {{#if: {{{devversions|}}} | {{{devversions}}} | {{#if: {{#var: snapshots }} | Snapshots {{#var: snapshots }} }} {{#if: {{#var: pre-releases }} | Pre-releases {{#var: pre-releases }} }} {{#if: {{#var: builds }} | Builds {{#var: builds }} }} {{#if: {{#var: beta versions }} | Beta versions {{#var: beta versions }} }} }} }} }} }} }} {{#if: {{{clienthash|}}}{{{clientdl|}}}{{{serverdl|}}} | {{#vardefine: download-ver | {{#replace:{{{jsonfile|{{#var: title}}}}}| |_}} }}
 * title={{#vardefineecho: title | {{
 * imagearea={{#if: {{{image|}}} || none }}
 * defaultimagesize=280px
 * invimage=none
 * rows=
 * {{#if:{{#var:noitalics}}
 * {{infobox row|Official name|{{{name}}}}}
 * {{infobox row|Server version|{{{server}}}}}
 * {{infobox row|Client version|{{{client}}}}}
 * {{Infobox row|Build version|{{{build}}} }}
 * {{Infobox row|Internal version number|{{{internal}}} }}
 * {{infobox row|{{{type}}} for|{{{parent}}}}}{{#dplvar: set | parentVersion | {{{parent}}} }}
 * if: {{{devversions|}}}
 * if: {{{devversions|}}}
 * {{#ifeq: {{{devversions|}}} | none || {{infobox row|1= Development versions |2={{
 * 1) ifexist: {{FULLPAGENAME}}/Development versions | View all

{{infobox row|Download| {{ #if: {{{clienthash|}}} | Client | {{{clientdl|}}} }} {{ #if: {{{jsonhash|}}} | (|}}}/{{#var: download-ver}}.json .json) | {{#if: {{{jsondl|}}} | ({{{jsondl}}}) }} }}{{ #if: {{{clienthash|}}}{{{clientdl|}}} | {{#if: {{{serverhash|}}}{{{serverdl|}}} | }} }}{{ #if: {{{serverhash|}}} | Server | {{{serverdl|}}} }} {{ #if: {{{exehash|}}} | (.exe) | {{#if: {{{exedl|}}} | ({{{exedl}}}) }} }} }}

}} {{ #if: {{{clientmap|}}}{{{servermap|}}} | {{infobox row|Obfuscation maps| {{ #if: {{{clientmap|}}} | Client }}{{ #if: {{{servermap|}}} | Server }} }} }} {{#vardefine: data/protocol | {{#var: version-prefix}} {{{prefix|}}}{{#replace:{{#replace:{{#var: title }}|v|}}|Server|}}{{infobox row|{{Protocol version|{{#var: data/protocol}}}} }}{{infobox row|{{#var: data/protocol}}}} {{#if: {{{planned|}}} || {{ #if: {{#if: {{{no_protocol|}}}|1}} {{#switch: {{#var: version-prefix }} | Java Edition | Bedrock Edition | Pocket Edition | Education Edition = | #default = 1 }} || {{ #ifeq: {{Protocol version|{{#var: data/protocol}}}} | N/A | {{Protocol version|{{#var: data/protocol}}}} | {{Protocol version|{{#var: data/protocol}}}} {{infobox row|Protocol version|{{{protocol_manual|{{Protocol version|{{#var: data/protocol}}}} }}} }} }} }} {{#if: {{#if: {{{no_data|}}}|1|}} {{#ifeq: {{#var: version-prefix }} | Java Edition || 1 }} || {{ #ifeq: {{Data version|{{#var: data/protocol }}}} | N/A || {{infobox row|Data version|{{{data_manual|{{Data version|{{#var: data/protocol}}}} }}} }} }} }} }}{{ #if: {{{othereditions|}}} | {{#ifeq: {{{othereditions}}} | none || {{{othereditions}}} }} | {{ #if: {{#pos: {{#var:title}}| Alpha}} | Alpha }}{{ #if: {{#pos: {{#var:title}}| Beta}} | Beta }}{{ #if: {{#pos: {{#var:title}}| Server}} | Server }} }}{{ #if: {{{version|}}} | {{{version}}} | {{#explode: {{PAGENAME}} | | -1 }} }} }}{{ #switch: v{{#var: version-number}} | v0.1.0 = sPnE | v0.1.1 = sPπ | v0.1.2 = sP  | v0.1.3  = sP  | v0.2.0  = sPE | v0.2.1 = sP  | v0.2.2  = sP  | v0.3.0  = PE  | v0.4.0  = PE  | v0.5.0  = PE  | v0.6.0  = PE  | v0.6.1  = PE  | v0.7.0  = PE  | v0.7.1  = lPE | v0.7.2 = lP  | v0.8.0  = PE  | v0.8.1  = lP  | v0.8.2  = lP  | v0.9.0  = PE  | v0.9.1  = lP  | v0.9.2  = lP  | v0.9.3  = lP  | v0.9.4  = lP  | v0.9.5  = lP  | v0.10.0 = PE  | v0.11.0 = PE  | v0.12.0 = PE  | v0.13.0 = PE  | v0.14.0 = PE  | v0.14.2 = Pe  | v0.15.0 = PE  | v0.15.1 = PE  | v0.16.0 = Pe  | v1.0    = SaBjlper | v1.0.1 = ajlpeN | v1.0.2 = BalpeN | v1.0.3 = alpN | v1.0.4 = alpN | v1.0.5 = alpN | v1.0.6 = alpN | v1.0.7 = alpN | v1.0.8 = alpN | v1.0.9 = alpN | v1.0.10 = alN | v1.0.11 = aN | v1.0.12 = aN  | v1.0.13 = aN  | v1.0.14 = aN  | v1.0.15 = aN  | v1.0.16 = aN  | v1.1    = SaBjn | v1.1.1 = alp | v1.1.2 = alp | v1.1.6 = n  | v1.2    = SaBjlbn | v1.2.1 = ajlb | v1.2.2 = ajlb | v1.2.3 = ajlb | v1.2.5 = ajlbr | v1.2.6 = albr | v1.2.7 = lbr | v1.2.8 = lbr | v1.2.9 = br  | v1.2.10 = br  | v1.3    = SBjlnr | v1.3.1 = jlr | v1.3.2 = jlr | v1.3.4 = lr | v1.4    = SBjlben | v1.4.1 = Sljbe | v1.4.2 = jlb | v1.4.3 = jlb | v1.4.4 = jlb | v1.4.5 = jl | v1.4.6 = jl  | v1.4.7 = jl  | v1.5   = SBjlbn | v1.5.1 = jlb | v1.5.2 = jlr | v1.5.4 = lr | v1.6   = SBjbn | v1.6.1 = Bjb | v1.6.2 = Bjb | v1.6.3 = Bjl | v1.6.4 = Bj | v1.6.5 = Bl  | v1.7   = SBjben | v1.7.1 = jbe | v1.7.2 = Bj | v1.7.3 = Bjre | v1.7.10 = jn | v1.8-pre1 = Bj  | v1.8-pre2 = Bj  | v1.8   = SBjben | v1.8.1 = SBjb | v1.8.2 = Sj | v1.8.3 = Sj  | v1.8.9 = jr  | v1.9-pre1 = Bj  | v1.9-pre2 = Bj  | v1.9-pre3 = Bj  | v1.9-pre4 = Bj  | v1.9    = Sjben | v1.9.1 = Sj  | v1.10   = Sjb34v | v1.10.1 = Sjb | v1.11  = jb34v | v1.11.1 = jb | v1.11.2 = jb  | v1.12   = jbe34v | v1.13  = jb34vr | v1.13.1 = jbr | v1.13.2 = jbr | v1.13.3 = br | v1.14   = jbr34v | v1.14.1 = jbr | v1.14.2 = jr | v1.14.3 = jr  | v1.14.4 = jr  | v1.15   = j34v | v1.15.1 = j | v1.15.2 = j  | v1.16   = jb34v | v1.17  = 34v }} }}{{ #if: {{#pos:{{#var:version var}} |S}} | *{{nowrap|Java Edition Classic server}} }} }}{{ #if: {{#pos:{{#var:version var}} |a}} | *{{nowrap|Java Edition Alpha}} }} }}{{ #if: {{#pos:{{#var:version var}} |s}} | *{{nowrap|Java Edition Alpha server}} }} }}{{ #if: {{#pos:{{#var:version var}} |B}} | *{{nowrap|Java Edition Beta}} }} }}{{ #if: {{#pos:{{#var:version var}} |j}} | *{{nowrap|Java Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |$}} | *{{nowrap|Java Edition server}} }} }}{{ #if: {{#pos:{{#var:version var}} |l}} | *{{nowrap|Java Edition launcher}} }} }}{{ #if: {{#pos:{{#var:version var}} |r}} | *{{nowrap|Realms}} }} }}{{ #if: {{#pos:{{#var:version var}} |P}} | *{{nowrap|Pocket Edition Alpha}} }} }}{{ #if: {{#pos:{{#var:version var}} |p}} | *{{nowrap|Pocket Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |b}} | *{{nowrap|Bedrock Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |e}} | *{{nowrap|Education Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |n}} | *{{nowrap|New Nintendo 3DS Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |N}} | *{{nowrap|Nintendo Switch Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |π}} | *{{nowrap|Pi Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |3}} | *{{nowrap|PlayStation 3 Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |4}} | *{{nowrap|PlayStation 4 Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |v}} | *{{nowrap|PlayStation Vita Edition}} }} }}{{ #if: {{#pos:{{#var:version var}} |E}} | *{{nowrap|Minecraft Earth}} }} }}{{ }}{{ }}{{ {{#var: alpha server oe}} }}{{ }}{{ }}{{ #ifeq: {{#var: version-type}} | Launcher || {{#var: java launcher oe}} }}{{ #var: realms oe }}{{ #if: {{#pos:{{PAGENAME}}|Pocket Edition Alpha}} || {{#var: pocket alpha oe}} }}{{ }}{{ }}{{ }}{{ }}{{ #var: switch oe }}{{ #var: pi oe }}{{ #var: ps3 oe }}{{ #var: ps4 oe }}{{ #var: psv oe }}{{ }} }} }} {{#if: {{#var: editions }} {{#var: editions }} }} }} {{#if: {{{prevparent|}}}{{{prev|}}} | {{ release version|{{#var: version-prefix}} {{{phase|{{{prefix|}}}}}} {{{prevparent|}}} }} }} {{#var: $prevparent }}}}}| ◄ ◄ {{ #dplreplace: {{#var: $prevparent }} | ^{{#var: version-prefix}} {{{phase|{{{prefix|}}}}}} }} }}{{ release version|{{#var: version-prefix}} {{{phase|{{{prefix|}}}}}} {{{prev}}} }} }} {{#var: $prev }}}}}|◄ {{ #dplreplace: {{#var: $prev }} | ^{{#var: version-prefix}} {{{phase|{{{prefix|}}}}}} }} }} }}{{#if: {{{next|}}}{{{nextparent|}}} | {{ release version|{{#var: version-prefix}} {{{phase|{{{prefix|}}}}}} {{{next|}}} }} }} {{#var: $next }}}}}|{{ #dplreplace: {{#var: $next }} | ^{{#var: version-prefix}} {{{phase|{{{prefix|}}}}}} }} ► }}{{ release version|{{#var: version-prefix}} {{{phase|{{{prefix|}}}}}} {{{nextparent|}}} }} }} {{#var: $nextparent }}}}}|{{ #dplreplace: {{#var: $nextparent }} | ^{{#var: version-prefix}} {{{phase|{{{prefix|}}}}}} }} ► ► }} }} }} }}{{ {{#if: {{{parent|}}} | }} }}{{#if: {{{type|}}} | {{ #if: {{NAMESPACE}} || [[Category: {{#if: {{{unreleased|}}} | Unreleased }} {{#ifeq: {{lc: {{{edition|}}} }} | launcher | launcher}} {{lc:{{{type|update}}}s}} {{#if: {{{unreleased|}}} | developed | released }} in {{#explode:{{{date|}}}||-1}}| {{#iferror: {{#time:Y-m-d| {{{date|}}} }} || {{#time:Y-m-d| {{{date|}}} }} }}]] }} }} {{documentation}}
 * 1) vardefine: editions | {{
 * 1) vardefine: version-type | {{#var: version-prefix}} {{
 * 1) vardefine: version-number | {{
 * 1) vardefine: version var | {{
 * 1) vardefine: classic server oe | {{
 * 1) vardefine: alpha oe | {{
 * 1) vardefine: alpha server oe | {{
 * 1) vardefine: beta oe | {{
 * 1) vardefine: java oe | {{
 * 1) vardefine: java server oe | {{
 * 1) vardefine: java launcher oe | {{
 * 1) vardefine: realms oe | {{
 * 1) vardefine: pocket alpha oe | {{
 * 1) vardefine: pocket oe | {{
 * 1) vardefine: bedrock oe | {{
 * 1) vardefine: education oe | {{
 * 1) vardefine: 3ds oe | {{
 * 1) vardefine: switch oe | {{
 * 1) vardefine: pi oe | {{
 * 1) vardefine: ps3 oe | {{
 * 1) vardefine: ps4 oe | {{
 * 1) vardefine: psv oe | {{
 * 1) vardefine: earth oe | {{
 * 1) ifeq: {{#var: version-type}} | Java Edition Server || {{#var: classic server oe}}
 * 1) ifeq: {{#var: version-type}} | Java Edition Alpha || {{#var: alpha oe}}
 * 1) ifeq: {{#var: version-type}} | Java Edition Server ||
 * 1) ifeq: {{#var: version-type}} | Java Edition Beta || {{#var: beta oe}}
 * 1) ifeq: {{#var: version-type}} | Java Edition || {{#var: java oe}}
 * 1) ifeq: {{#var: version-type}} | Pocket Edition || {{#var: pocket oe}}
 * 1) ifeq: {{#var: version-type}} | Bedrock Edition || {{#var: bedrock oe}}
 * 1) ifeq: {{#var: version-type}} | Education Edition || {{#var: education oe}}
 * 1) ifeq: {{#var: version-type}} | New Nintendo 3DS Edition || {{#var: 3ds oe}}
 * 1) ifeq: {{#var: version-type}} | Minecraft Earth || {{#var: earth oe}}
 * {{infobox row|1= Other instances of {{#var: version-number|{{#var: title }} }} |2=
 * footer={{#if: {{{prevparent|}}}{{{prev|}}}{{{next|}}}{{{nextparent|}}} |
 * if: {{{prevparent|}}} | {{#vardefine: $prevparent | {{
 * if: {{{prev|}}} | {{#vardefine: $prev | {{
 * if: {{{next|}}} | {{#vardefine: $next | {{
 * if: {{{nextparent|}}} | {{#vardefine: $nextparent | {{
 * if: {{NAMESPACE}}{{#pos: {{PAGENAME}} | / }}