|
|
| Linia 1: |
Linia 1: |
| <includeonly><!-- | | <includeonly>{{#invoke: version | version }}</includeonly><noinclude> |
| | |
| -->{{#vardefine:classic|0.10.5}}<!--
| |
| -->{{#vardefine:classic-server|1.1.2}}<!--
| |
| -->{{#vardefine:pc|1.8.3}}<!--
| |
| -->{{#vardefine:pc-server|1.8.3}}<!--
| |
| -->{{#vardefine:weekly|1.8.3}}<!--
| |
| -->{{#vardefine:weekly-server|1.8.3}}<!--
| |
| -->{{#vardefine:android|0.10.4}}<!--
| |
| -->{{#vardefine:ios|TU21}}<!--
| |
| -->{{#vardefine:xbox|1.14}}<!--
| |
| -->{{#vardefine:playstation|1.14}}<!--
| |
| -->{{#vardefine:pi|0.1.1}}<!--
| |
| | |
| -->{{
| |
| #vardefine:switch|{{#var:{{
| |
| #switch: {{
| |
| #if: {{{c|}}}{{{classic|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{android|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{ios|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{xbox|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{playstation|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{pi|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{weekly|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{s|}}}{{{server|}}} | 1 | 0
| |
| }}
| |
| | 1000000 = classic
| |
| | 1000001 = classic-server
| |
| | 0100000 = android
| |
| | 0010000 = ios
| |
| | 0001000 = xbox
| |
| | 0001100 = playstation
| |
| | 0000100 = pi
| |
| | 0000010 = weekly
| |
| | 0000011 = weekly-server
| |
| | 0000001 = pc-server
| |
| | #default = pc
| |
| }}}}
| |
| }}<!--
| |
| | |
| -->{{
| |
| #vardefine:type|{{
| |
| #switch: {{
| |
| #if: {{{c|}}}{{{classic|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{android|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{ios|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{xbox|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{playstation|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{pi|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{weekly|}}} | 1 | 0
| |
| }}{{
| |
| #if: {{{s|}}}{{{server|}}} | 1 | 0
| |
| }}
| |
| | 1000000 | 1000001 = Classic
| |
| | 0100000 | 0010000 = PE
| |
| | 0001000 = Xbox
| |
| | 0001100 = Play Station
| |
| | 0000100 = Pi
| |
| }}
| |
| }}{{
| |
| #if: {{{1|}}}{{{t|}}}{{{table|}}}<!-- table cell formatting -->
| |
| | style="{{
| |
| #ifeq: {{ #if: {{{1|}}} | {{{1}}} | {{#var:switch}} }} | {{#var:switch}}<!-- there's probably a better way to do this, but whatever for now -->
| |
| | background: #C6EFCE; color: #006100<!-- {{{1}}} matches the requested version: green color -->
| |
| | background: #FFC7CE; color: #9C0006<!-- {{{1}}} doesn't match the requested version: red color -->
| |
| }}" {{!}}
| |
| }}{{
| |
| #if: {{{nolink|}}}{{ #if: {{#var:switch}} || 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> | |
| {{/doc}} | | {{/doc}} |
|
| |
|
| [[Category:Templates|V]]</noinclude> | | [[Category:Szablony|V]]</noinclude> |