<includeonly><div class="mcw-mainpage-platform"><!--

Icon & title

--><div>[[File:{{{image|}}}|20x20px|link=|class={{{image-class|}}}]] '''{{{title|}}}'''</div><!--

Store URLs and links

--><div><!--
Store link
-->{{#if: {{{store-page|}}} | [[{{{store-page}}}|{{{store-text|Buy}}}]] | [{{{store-url|}}} {{{store-text|Buy}}}] }}<!--
Trial store link
-->{{#if: {{{trial-url|}}} | &nbsp;{{!}} [{{{trial-url|}}} Trial] }}<!--
Dev version link
-->{{#if: {{{dev-url|}}} | &nbsp;{{!}} [{{{dev-url|}}} {{ucfirst:{{{2}}}}}] }}<!--
--></div><!--

Current versions

--><div style="display:flex; flex-direction:column; justify-content:center"><!--
(Need to check whether the current dev version exists or not for proper formatting of release version)
-->{{#vardefine: dev-slug | {{{dev-version|{{{1}}}-{{{2}}}{{#if:{{{3|}}}|-{{{3}}}}}}}} }}<!--
-->{{#vardefine: dev-version | {{FPv|{{#var:dev-slug}}|nolink=1}} }}<!--
Current release
--><div>{{FPv|{{{current-version|{{{1|?}}}{{#if:{{{3|}}}|-{{{3}}}}}}}}}} {{#if: {{#var:dev-version}} | <small>(current)</small> }}</div><!--
Current dev version
-->{{#vardefine: dev-link | {{#replace: {{FPv|{{#var:dev-slug}}|plainlink=1}} | {{!}}{{#var:dev-version}} }} }}<!--
-->{{#vardefine: dev-title | {{#replace: {{#replace: {{#replace: {{#var:dev-version}}|<nowiki/> Pre-release <nowiki/>|-pre}}|Preview <nowiki/>}}|beta <nowiki/>}}}}<!--
-->{{#if: {{#var:dev-version}} |<div>[[{{#var:dev-link}}|{{#var:dev-title}}]] <small>({{#if:{{{dev-text|}}}|{{{dev-text}}}|{{FPv|{{{upcoming-version|{{{1}}}-upcoming{{#if:{{FPv|{{{1}}}-upcoming2}}|2}}}}}}} {{{2|dev version}}}}})</small></div>}}
</div>
</div>
</includeonly><noinclude>
{{documentation|page=Minecraft Wiki/platform/doc}}
<!-- Put categories/interwiki on the documentation page --></noinclude>
