Cambios
Created page with "<includeonly>{{ #ifeq: {{ #var:historysearch}}|1|1|{{ #ifeq: {{ #varexists:historyhead}} |1|{{ #ifeq: {{ #var:historydetailhead|0}} |1||{{ #ifeq: {{ #var:history|0}}|1|<table ..."
<includeonly>{{ #ifeq: {{ #var:historysearch}}|1|1|{{ #ifeq: {{ #varexists:historyhead}} |1|{{ #ifeq: {{ #var:historydetailhead|0}} |1||{{ #ifeq: {{ #var:history|0}}|1|<table class="wikitable collapsible collapsed" style="margin:0"><tr><th colspan="3">Details</th></tr> {{ #vardefine:historydetailhead|1}} }}}}| <table class="wikitable"> {{ #vardefine:historyhead|1}} }}{{ #vardefine:history|{{ #expr: {{ #var:history|0}} + 1 }} }}{{#vardefine:nomode|}}{{
#vardefine:rows|{{#len: 1{{
#if: {{{4|}}} | 1 }}{{
#if: {{{5|}}} | 1 }}{{
#if: {{{6|}}} | 1 }}{{
#if: {{{7|}}} | 1 }}{{
#if: {{{8|}}} | 1 }}{{
#if: {{{9|}}} | 1 }}{{
#if: {{{10|}}} | 1 }}{{
#if: {{{11|}}} | 1 }}{{
#if: {{{12|}}} | 1 }} }} }}{{
#switch: {{lc: {{{1}}} }}
| head
| header = {{#vardefine:mode|head}}
| foot
| footer = {{#vardefine:prevmode|{{#var:mode|}}}}{{#vardefine:mode|foot}}
| pre-classic = {{#vardefine:mode|Pre-classic}}
| c
| classic
| s
| st
| stest
| survival
| survival test = {{#vardefine:mode|Classic}}
| i
| in
| id
| indev = {{#vardefine:mode|Indev}}
| inf
| infdev = {{#vardefine:mode|Infdev}}
| a
| alpha = {{#vardefine:mode|Alpha}}
| b
| beta = {{#vardefine:mode|Beta}}
| r
| f
| full
| rel
| release
| official
| official release = {{#vardefine:mode|release}}
| u
| upcoming = {{#vardefine:mode|weekly}}
| unknown = {{#vardefine:mode|unknown}}
| pocket alpha
| pocket edition alpha
| pa
| pocketa = {{#vardefine:mode|pocketa}}
| pocket beta
| pocket edition beta
| pb
| pocketb = {{#vardefine:mode|pocketb}}
| pocket upcoming
| pocket edition upcoming
| pu
| pocketu = {{#vardefine:mode|pocketu}}
| pi edition
| pi = {{#vardefine:mode|pi}}
| xbox edition
| xbox = {{#vardefine:mode|xbox}}
| o
| overview = {{#vardefine:mode|overview}}
| d
| details = {{#vardefine:mode|details}} {{#vardefine:nomode|1}}
| {{#vardefine:nomode|1}}
}}{{
#switch: {{#var:mode}}
| head =
| foot = </table>{{ #ifeq: {{ #var:historydetailhead|0}} |1|{{ #vardefine:historydetailhead|0}}|{{ #vardefine:historyhead|0}} }}{{#vardefine:mode|{{#var:prevmode|}}}}
| {{ #switch: {{#var:mode}}
| overview = <tr class="overview">
| details = <tr class="details">
|<tr>}}{{
#if: {{#var:nomode}} | {{ #ifexpr: ({{ #var:rowspan|0}} > 0) and ({{ #var:history|1}} < 2) |{{ #vardefine:rowspan|{{ #expr: {{ #var:rowspan}} - {{ #var:rows}} }} }}|<th rowspan="{{ #ifeq: {{{rowspan|1}}}|1|{{#var:rows}}|{{{rowspan| {{#var:rows}} }}}{{ #vardefine:rowspan|{{ #expr: {{{rowspan|1}}} - {{#var:rows}} }} }} }}" {{ #if: {{{snap|}}}||colspan="2"}}>{{#switch: {{{link|ver}}}
| none = {{ #ifeq: {{{2|}}} | unknown || {{{2}}}}}
| ver = {{ #ifeq: {{{2|}}} | unknown ||{{Version link|{{#switch: {{#var:mode}} | release | weekly = {{{2}}} | {{#var:mode}} {{{2}}} }}|{{
#ifeq: {{#sub: {{{2}}} | 0 | 1 }} | (
| {{#sub: {{{2}}} | 1 | -1 }}
| {{{2}}}
}}
}} }}
| {{ #ifeq: {{{ilink|0}}}|1|[[{{{link}}}|{{{2|link}}}]]|[{{{link}}} {{{2|link}}}]}} }}</th>}}{{ #if: {{{snap|}}}|<th rowspan="{{#var:rows}}">{{#switch: {{{slink|ver}}}
| none = {{ #ifeq: {{{snap|}}} | unknown || {{{snap}}}}}
| ver = {{ #ifeq: {{{snap|}}} | unknown ||{{Version link|{{#switch: {{#var:mode}} | release | weekly = {{{snap}}} | {{#var:mode}} {{{snap}}} }}|{{
#ifeq: {{#sub: {{{snap}}} | 0 | 1 }} | (
| {{#sub: {{{snap}}} | 1 | -1 }}
| {{{snap}}}
}}
}} }}
| {{ #ifeq: {{{islink|0}}}|1|[[{{{slink}}}|{{{snap|slink}}}]]|[{{{slink}}} {{{snap|slink}}}]}} }}</th>}}
| <th colspan="3" {{ #ifeq: {{ #varexists:detailsbutton}} |1|| {{ #vardefine:detailsbutton|1}} class="history"}}>{{
#switch: {{#var:mode}}
| release = [[Minecraft 1.0/se|Officiella Versionen]]
| weekly = [[Upcoming features/se|Upkommande]]
| pocketa = [[Pocket Edition version history/se|Fickversionen Alpha]]
| pocketb = [[Pocket Edition development versions/se|Fickversionen Beta]]
| pocketu = [[Pocket Edition upcoming features/se|Upkommande Fickversion]]
| xbox = [[Xbox 360 Edition version history/se|Xbox 360 Version]]
| pi = [[Pi Edition version history/se|Hallon Pi (Raspberry Pi) Version]]
| unknown = Unknown
| [[{{#var:mode}}]]
}}</th></tr>
}}
}}{{
#if: {{{3|}}} | {{ #ifeq: {{ #vardefine:historysearch|1}}{{{3|}}}{{ #vardefine:historysearch|0}}|1|{{{3}}}|<td>{{{3}}}</td>}}</tr> }}{{
#if: {{{4|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{4|}}}{{ #vardefine:historysearch|0}}|1|{{{4}}}|<td>{{{4}}}</td>}}</tr> }}{{
#if: {{{5|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{5|}}}{{ #vardefine:historysearch|0}}|1|{{{5}}}|<td>{{{5}}}</td>}}</tr> }}{{
#if: {{{6|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{6|}}}{{ #vardefine:historysearch|0}}|1|{{{6}}}|<td>{{{6}}}</td>}}</tr> }}{{
#if: {{{7|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{7|}}}{{ #vardefine:historysearch|0}}|1|{{{7}}}|<td>{{{7}}}</td>}}</tr> }}{{
#if: {{{8|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{8|}}}{{ #vardefine:historysearch|0}}|1|{{{8}}}|<td>{{{8}}}</td>}}</tr> }}{{
#if: {{{9|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{9|}}}{{ #vardefine:historysearch|0}}|1|{{{9}}}|<td>{{{9}}}</td>}}</tr> }}{{
#if: {{{10|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{10|}}}{{ #vardefine:historysearch|0}}|1|{{{10}}}|<td>{{{10}}}</td>}}</tr> }}{{
#if: {{{11|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{11|}}}{{ #vardefine:historysearch|0}}|1|{{{11}}}|<td>{{{11}}}</td>}}</tr> }}{{
#if: {{{12|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{12|}}}{{ #vardefine:historysearch|0}}|1|{{{12}}}|<td>{{{12}}}</td>}}</tr> }}{{ #vardefine:history|{{ #expr: {{ #var:history}} - 1 }} }} }}</includeonly><noinclude>
{{/doc}}
[[Category:Templates]]
[[nl:Template:History]]
</noinclude>
#vardefine:rows|{{#len: 1{{
#if: {{{4|}}} | 1 }}{{
#if: {{{5|}}} | 1 }}{{
#if: {{{6|}}} | 1 }}{{
#if: {{{7|}}} | 1 }}{{
#if: {{{8|}}} | 1 }}{{
#if: {{{9|}}} | 1 }}{{
#if: {{{10|}}} | 1 }}{{
#if: {{{11|}}} | 1 }}{{
#if: {{{12|}}} | 1 }} }} }}{{
#switch: {{lc: {{{1}}} }}
| head
| header = {{#vardefine:mode|head}}
| foot
| footer = {{#vardefine:prevmode|{{#var:mode|}}}}{{#vardefine:mode|foot}}
| pre-classic = {{#vardefine:mode|Pre-classic}}
| c
| classic
| s
| st
| stest
| survival
| survival test = {{#vardefine:mode|Classic}}
| i
| in
| id
| indev = {{#vardefine:mode|Indev}}
| inf
| infdev = {{#vardefine:mode|Infdev}}
| a
| alpha = {{#vardefine:mode|Alpha}}
| b
| beta = {{#vardefine:mode|Beta}}
| r
| f
| full
| rel
| release
| official
| official release = {{#vardefine:mode|release}}
| u
| upcoming = {{#vardefine:mode|weekly}}
| unknown = {{#vardefine:mode|unknown}}
| pocket alpha
| pocket edition alpha
| pa
| pocketa = {{#vardefine:mode|pocketa}}
| pocket beta
| pocket edition beta
| pb
| pocketb = {{#vardefine:mode|pocketb}}
| pocket upcoming
| pocket edition upcoming
| pu
| pocketu = {{#vardefine:mode|pocketu}}
| pi edition
| pi = {{#vardefine:mode|pi}}
| xbox edition
| xbox = {{#vardefine:mode|xbox}}
| o
| overview = {{#vardefine:mode|overview}}
| d
| details = {{#vardefine:mode|details}} {{#vardefine:nomode|1}}
| {{#vardefine:nomode|1}}
}}{{
#switch: {{#var:mode}}
| head =
| foot = </table>{{ #ifeq: {{ #var:historydetailhead|0}} |1|{{ #vardefine:historydetailhead|0}}|{{ #vardefine:historyhead|0}} }}{{#vardefine:mode|{{#var:prevmode|}}}}
| {{ #switch: {{#var:mode}}
| overview = <tr class="overview">
| details = <tr class="details">
|<tr>}}{{
#if: {{#var:nomode}} | {{ #ifexpr: ({{ #var:rowspan|0}} > 0) and ({{ #var:history|1}} < 2) |{{ #vardefine:rowspan|{{ #expr: {{ #var:rowspan}} - {{ #var:rows}} }} }}|<th rowspan="{{ #ifeq: {{{rowspan|1}}}|1|{{#var:rows}}|{{{rowspan| {{#var:rows}} }}}{{ #vardefine:rowspan|{{ #expr: {{{rowspan|1}}} - {{#var:rows}} }} }} }}" {{ #if: {{{snap|}}}||colspan="2"}}>{{#switch: {{{link|ver}}}
| none = {{ #ifeq: {{{2|}}} | unknown || {{{2}}}}}
| ver = {{ #ifeq: {{{2|}}} | unknown ||{{Version link|{{#switch: {{#var:mode}} | release | weekly = {{{2}}} | {{#var:mode}} {{{2}}} }}|{{
#ifeq: {{#sub: {{{2}}} | 0 | 1 }} | (
| {{#sub: {{{2}}} | 1 | -1 }}
| {{{2}}}
}}
}} }}
| {{ #ifeq: {{{ilink|0}}}|1|[[{{{link}}}|{{{2|link}}}]]|[{{{link}}} {{{2|link}}}]}} }}</th>}}{{ #if: {{{snap|}}}|<th rowspan="{{#var:rows}}">{{#switch: {{{slink|ver}}}
| none = {{ #ifeq: {{{snap|}}} | unknown || {{{snap}}}}}
| ver = {{ #ifeq: {{{snap|}}} | unknown ||{{Version link|{{#switch: {{#var:mode}} | release | weekly = {{{snap}}} | {{#var:mode}} {{{snap}}} }}|{{
#ifeq: {{#sub: {{{snap}}} | 0 | 1 }} | (
| {{#sub: {{{snap}}} | 1 | -1 }}
| {{{snap}}}
}}
}} }}
| {{ #ifeq: {{{islink|0}}}|1|[[{{{slink}}}|{{{snap|slink}}}]]|[{{{slink}}} {{{snap|slink}}}]}} }}</th>}}
| <th colspan="3" {{ #ifeq: {{ #varexists:detailsbutton}} |1|| {{ #vardefine:detailsbutton|1}} class="history"}}>{{
#switch: {{#var:mode}}
| release = [[Minecraft 1.0/se|Officiella Versionen]]
| weekly = [[Upcoming features/se|Upkommande]]
| pocketa = [[Pocket Edition version history/se|Fickversionen Alpha]]
| pocketb = [[Pocket Edition development versions/se|Fickversionen Beta]]
| pocketu = [[Pocket Edition upcoming features/se|Upkommande Fickversion]]
| xbox = [[Xbox 360 Edition version history/se|Xbox 360 Version]]
| pi = [[Pi Edition version history/se|Hallon Pi (Raspberry Pi) Version]]
| unknown = Unknown
| [[{{#var:mode}}]]
}}</th></tr>
}}
}}{{
#if: {{{3|}}} | {{ #ifeq: {{ #vardefine:historysearch|1}}{{{3|}}}{{ #vardefine:historysearch|0}}|1|{{{3}}}|<td>{{{3}}}</td>}}</tr> }}{{
#if: {{{4|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{4|}}}{{ #vardefine:historysearch|0}}|1|{{{4}}}|<td>{{{4}}}</td>}}</tr> }}{{
#if: {{{5|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{5|}}}{{ #vardefine:historysearch|0}}|1|{{{5}}}|<td>{{{5}}}</td>}}</tr> }}{{
#if: {{{6|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{6|}}}{{ #vardefine:historysearch|0}}|1|{{{6}}}|<td>{{{6}}}</td>}}</tr> }}{{
#if: {{{7|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{7|}}}{{ #vardefine:historysearch|0}}|1|{{{7}}}|<td>{{{7}}}</td>}}</tr> }}{{
#if: {{{8|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{8|}}}{{ #vardefine:historysearch|0}}|1|{{{8}}}|<td>{{{8}}}</td>}}</tr> }}{{
#if: {{{9|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{9|}}}{{ #vardefine:historysearch|0}}|1|{{{9}}}|<td>{{{9}}}</td>}}</tr> }}{{
#if: {{{10|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{10|}}}{{ #vardefine:historysearch|0}}|1|{{{10}}}|<td>{{{10}}}</td>}}</tr> }}{{
#if: {{{11|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{11|}}}{{ #vardefine:historysearch|0}}|1|{{{11}}}|<td>{{{11}}}</td>}}</tr> }}{{
#if: {{{12|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{12|}}}{{ #vardefine:historysearch|0}}|1|{{{12}}}|<td>{{{12}}}</td>}}</tr> }}{{ #vardefine:history|{{ #expr: {{ #var:history}} - 1 }} }} }}</includeonly><noinclude>
{{/doc}}
[[Category:Templates]]
[[nl:Template:History]]
</noinclude>