Szablon:Wersja: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja nieprzejrzana]
Slawko97 (dyskusja | edycje)
Nie podano opisu zmian
d update
Linia 1: Linia 1:
<includeonly><!--
<includeonly><!--


-->{{#vardefine:premium|1.2.3}}<!--
-->{{#vardefine:premium-server|1.2.3}}<!--
-->{{#vardefine:classic|0.30}}<!--
-->{{#vardefine:classic|0.30}}<!--
-->{{#vardefine:classic-server|1.1.2}}<!--
-->{{#vardefine:classic-server|1.1.2}}<!--
-->{{#vardefine:pocket|0.1}}<!--
-->{{#vardefine:pc|1.2.3}}<!--
-->{{#vardefine:pc-server|1.2.3}}<!--
-->{{#vardefine:android|0.2.2}}<!--
-->{{#vardefine:ios|0.2.1}}<!--
-->{{#vardefine:weekly|None}}<!--
-->{{#vardefine:weekly-server|None}}<!--


-->{{#ifeq: {{{t|0}}} | 1 | <!--
-->{{
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 000 | {{#switch: {{{1}}}
  #vardefine:switch|{{#var:{{
| #default = style="background: #FFC7CE; color: #9C0006" {{!}} {{{1}}}
    #switch: {{ #if: {{{c|}}}{{{classic|}}} | 1 | 0 }}{{ #if: {{{android|}}} | 1 | 0 }}{{ #if: {{{ios|}}} | 1 | 0 }}{{ #if: {{{weekly|}}} | 1 | 0 }}{{ #if: {{{s|}}}{{{server|}}} | 1 | 0 }}
| {{#var:premium}} = style="background: #C6EFCE; color: #006100" {{!}} {{{1}}}
    | 10000 = classic
}} }}<!--
    | 10001 = classic-server
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 001 | {{#switch: {{{1}}}
    | 01000 = android
| #default = style="background: #FFC7CE; color: #9C0006" {{!}} {{{1}}}
    | 00100 = ios
| {{#var:premium-server}} = style="background: #C6EFCE; color: #006100" {{!}} {{{1}}}
    | 00010 = weekly
}} }}<!--
    | 00011 = weekly-server
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 010 | {{#switch: {{{1}}}
    | 00001 = pc-server
| #default = style="background: #FFC7CE; color: #9C0006" {{!}} {{{1}}}
    | #default = pc
| {{#var:classic}} = style="background: #C6EFCE; color: #006100" {{!}} {{{1}}}
  }}}}
}} }}<!--
}}<!--
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 011 | {{#switch: {{{1}}}
 
| #default = style="background: #FFC7CE; color: #9C0006" {{!}} {{{1}}}
-->{{
| {{#var:classic-server}} = style="background: #C6EFCE; color: #006100" {{!}} {{{1}}}
  #vardefine:type|{{
}} }}<!--
    #switch: {{ #if: {{{c|}}}{{{classic|}}} | 1 | 0 }}{{ #if: {{{android|}}} | 1 | 0 }}{{ #if: {{{ios|}}} | 1 | 0 }}{{ #if: {{{weekly|}}} | 1 | 0 }}{{ #if: {{{s|}}}{{{server|}}} | 1 | 0 }}
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 100 | {{#switch: {{{1}}}
    | 10000 | 10001 = Classic
| #default = style="background: #FFC7CE; color: #9C0006" {{!}} {{{1}}}
    | 01000 | 00100 = PE
| {{#var:pocket}} = style="background: #C6EFCE; color: #006100" {{!}} {{{1}}}
  }}
}} }} | <!--
}}{{
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 000 | {{#var:premium}} }}<!--
  #if: {{{1|}}}{{{t|}}}{{{table|}}}<!-- table cell formatting -->
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 001 | {{#var:premium-server}} }}<!--
  | style="{{
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 010 | {{#var:classic}} }}<!--
    #ifeq: {{ #if: {{{1|}}} | {{{1}}} | {{#var:switch}} }} | {{#var:switch}}<!-- there's probably a better way to do this, but whatever for now -->
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 011 | {{#var:classic-server}} }}<!--
    | background: #C6EFCE; color: #006100<!-- {{{1}}} matches the requested version: green color -->
-->{{#ifeq: {{{p|0}}}{{{c|0}}}{{{s|0}}} | 100 | {{#var:pocket}} }}
    | background: #FFC7CE; color: #9C0006<!-- {{{1}}} doesn't match the requested version: red color -->
  }}" {{!}}
}}{{
  #if: {{{nolink|}}}{{ #ifeq: {{#var:switch}} | None | 1 }}
  | {{
    #if: {{{1|}}}
    | {{{1}}}
    | {{#var:switch}}
  }}
  | {{
    #if: {{{1|}}}
    | {{version link|{{#if: {{#var:type}} | {{#var:type}} {{{1}}} | {{{1}}} }}|{{{1}}}}}
    | {{version link|{{#if: {{#var:type}} | {{#var:type}} {{#var:switch}} | {{#var:switch}} }}|{{ #if: {{{2|}}} | {{{2}}} | {{#var:switch}} }}}}
  }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Szablon:Wersja/doc}}
{{Szablon:Wersja/doc}}


[[Kategoria:Szablony|W]]</noinclude>
[[Kategoria:Szablony|W]]</noinclude>

Wersja z 21:54, 20 mar 2012