Cambios

Saltar a: navegación, buscar

Plantilla:History

1290 bytes añadidos, 23:02 8 abr 2014
m
1 revisión
<includeonly>{{ #ifeq: {{ #var:historysearch}}|1|1|{{ #ifeq: {{ #varexists:historyhead}} |1|{{ #ifeq: {{ #var:historydetailhead|0}} |1||{{ #ifeq: {{ #var:history|0}}|1| <table class="wikitablecollapsible collapsed" style="margin:0"><tr><th colspan="3">Details</th></tr> {{ #vardefine:historyheadhistorydetailhead|1}} }}}}| <table class="wikitable"> {{ #ifeqvardefine: {{ #varexists:historyhistoryhead|1}} }} |1| {{ #vardefine:history|{{ #expr: {{ #var:history|0}} + 1 }}}} | {{ #vardefine:history|1}} }}{{#vardefine:nomode|}}{{
#vardefine:rows|{{#len: 1{{
#if: {{{11|}}} | 1 }}{{
#if: {{{12|}}} | 1 }} }} }}{{
 
#ifexpr: {{#var:history}} > 1
| <th rowspan="{{#var:rows}}">{{{1}}}</th><td>{{{2}}}</td>{{
#if: {{{3|}}} | </tr><tr><td>{{{3}}}</td> }}{{
#if: {{{4|}}} | </tr><tr><td>{{{4}}}</td> }}{{
#if: {{{5|}}} | </tr><tr><td>{{{5}}}</td> }}{{
#if: {{{6|}}} | </tr><tr><td>{{{6}}}</td> }}{{
#if: {{{7|}}} | </tr><tr><td>{{{7}}}</td> }}{{
#if: {{{8|}}} | </tr><tr><td>{{{8}}}</td> }}{{
#if: {{{9|}}} | </tr><tr><td>{{{9}}}</td> }}{{
#if: {{{10|}}} | </tr><tr><td>{{{10}}}</td> }}{{
#if: {{{11|}}} | </tr><tr><td>{{{11}}}</td> }}{{
#if: {{{12|}}} | </tr><tr><td>{{{12}}}</td> }}
|{{
#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
| inf
| infdev = {{#vardefine:mode|Infdev}}
| a | alpha = {{#vardefine:mode|Alpha}} | b | beta = {{#vardefine:mode|Beta}}
| r
| f
| official
| official release = {{#vardefine:mode|release}}
| u | upcoming = {{#vardefine:mode|weekly}}
| unknown = {{#vardefine:mode|unknown}}
| pocket 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}} {{#vardefine:nomode|1}}
| d
| details = {{#vardefine:mode|details}} {{#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: {{{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 = [[Historial de versionesMinecraft 1.0|Official release]] | weekly = [[Futuras característicasUpcoming features|Upcoming]]
| pocketa = [[Pocket Edition version history#Alpha|Pocket Edition Alpha]]
| pocketb = [[Pocket Edition development versions|Pocket Edition Beta]]
| pocketu = [[Pocket Edition upcoming features|Upcoming Pocket Edition]]
| xbox = [[Xbox 360 Edition version history|Xbox 360 Edition]]
| pi = [[Pi Edition version history|Pi Edition]]
| unknown = Unknown
| [[{{#var:mode}}]]
}}
}}{{
#if: {{{3|}}} | {{ #ifeq: {{ #vardefine:historysearch|1}}{{{3|}}}{{ #vardefine:historysearch|0}}|1|{{{3}}}|<td colspan="2">{{{3}}}</td>}}</tr> }}{{#if: {{{4|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{4|}}}{{ #vardefine:historysearch|0}}|1|{{{4}}}|<td colspan="2">{{{4}}}</td>}}</tr> }}{{#if: {{{5|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{5|}}}{{ #vardefine:historysearch|0}}|1|{{{5}}}|<td colspan="2">{{{5}}}</td>}}</tr> }}{{#if: {{{6|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{6|}}}{{ #vardefine:historysearch|0}}|1|{{{6}}}|<td colspan="2">{{{6}}}</td>}}</tr> }}{{#if: {{{7|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{7|}}}{{ #vardefine:historysearch|0}}|1|{{{7}}}|<td colspan="2">{{{7}}}</td>}}</tr> }}{{#if: {{{8|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{8|}}}{{ #vardefine:historysearch|0}}|1|{{{8}}}|<td colspan="2">{{{8}}}</td>}}</tr> }}{{#if: {{{9|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{9|}}}{{ #vardefine:historysearch|0}}|1|{{{9}}}|<td colspan="2">{{{9}}}</td>}}</tr> }}{{#if: {{{10|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{10|}}}{{ #vardefine:historysearch|0}}|1|{{{10}}}|<td colspan="2">{{{10}}}</td>}}</tr> }}{{#if: {{{11|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{11|}}}{{ #vardefine:historysearch|0}}|1|{{{11}}}|<td colspan="2">{{{11}}}</td>}}</tr> }}{{#if: {{{12|}}} | <tr>{{ #ifeq: {{ #vardefine:historysearch|1}}{{{12|}}}{{ #vardefine:historysearch|0}}|1|{{{12}}}|<td colspan="2">{{{12}}}</td>}}</tr> }} }}{{ #vardefine:history|{{ #expr: {{ #var:history}} - 1 }}}}}}</includeonly><noinclude>
{{/doc}}
[[CategoríaCategory:PlantillasTemplates]][[nl:Template:History]]
</noinclude>
552
ediciones

Menú de navegación