|
|
第1行: |
第1行: |
| <includeonly>{{#vardefine: i | 1 }}{{#vardefine: texts | }}{{#vardefine: categories | }}{{#while: | | <includeonly>在{{IfEntry |{{#invoke: Editions | wrapper | cat = $独有信息 }}|{{#invoke: Editions | wrapper | nocat = 1 }}}}中{{#if: {{{nc|}}} | | , }}</includeonly><noinclude>{{documentation}} |
| | {{{ {{#var: i}} |}}}
| | <!-- 请将分类/语言链接放在文档页面 --></noinclude> |
| | {{#vardefine: edition | {{#switch: {{lc: {{{ {{#var: i}} |}}} }}
| |
| | java | je = Java版
| |
| | bedrock | be = 基岩版
| |
| | console | legacy console | ce | lce = 原主机版
| |
| | playstation 4 | playstation4 | ps4 = PlayStation 4版
| |
| | education | edu = 教育版
| |
| | win10 | windows 10 | windows10 = Windows 10版
| |
| | 3ds | new 3ds | new3ds = New Nintendo 3DS版
| |
| | earth | mce = Minecraft Earth
| |
| | dungeons | mcd = Minecraft Dungeons
| |
| | dungeons arcade | mcda = Minecraft Dungeons Arcade
| |
| | #default = {{ucfirst:{{{ {{#var: i}} |}}} }}
| |
| }} }}
| |
| {{#vardefine: display | {{#dplreplace: {{#var: edition}} |版|}} }}
| |
| {{#vardefine: texts | {{#var: texts}}{{#ifeq: {{#var: i}} | 1 || {{#ifeq: {{#var: edition}} | Minecraft Earth | 版 }}{{#if: {{{ {{#expr: {{#var: i}} + 1}} |}}} |、|和}}}}[[{{#var: edition}}|{{#var: display}}]]}}
| |
| {{#vardefine: categories | {{#var: categories}}[[Category:{{#var: edition}}独有信息]]}}
| |
| {{#vardefine: i | {{#expr: {{#var: i}} + 1}} }}
| |
| }}{{#ifeq: {{#var: i}} | 1 || {{#ifeq: {{#var: i}} | 2
| |
| | 在[[{{#var: edition}}]]中{{#if: {{{nc|}}} | | , }}
| |
| | 在{{#var: texts}}{{#ifeq: {{#var: edition}} | Minecraft Earth || 版}}中{{#if: {{{nc|}}} | | , }}
| |
| }}{{#if: {{{nocat|}}}{{NAMESPACE}}
| |
| |
| |
| | {{#var: categories}}{{cat plug}}
| |
| }}
| |
| }}</includeonly><noinclude> | |
| {{documentation}} | |
| <!-- Put categories/interwiki on the documentation page --> | |
| </noinclude> | |
此模板没有文档页面。如果你知道如何使用模板,请创建它。