Diferencia entre revisiones de «Plantilla:Verlink»

De WikiMinecraft
Saltar a: navegación, buscar
(Página creada con «<includeonly>{{ #if: {{ #pos: {{ lc: {{{1}}} }} | pocket }}{{ #pos: {{ lc: {{{1}}} }} | pe }} <!-- Android and iOS Pocket Edition --> | Pocket Edition version histor...»)
 
(Página redirigida a Plantilla:Version link)
 
Línea 1: Línea 1:
<includeonly>[[{{
+
#REDIRECT [[Template:Version link]]
  #if: {{ #pos: {{ lc: {{{1}}} }} | pocket }}{{ #pos: {{ lc: {{{1}}} }} | pe }}  <!-- Android and iOS Pocket Edition -->
 
  | Pocket Edition version history#{{
 
    #if: {{ #pos: {{{1}}} | ) }}              <!-- If there's brackets, a date is assumed and is used as the anchor instead of a version number -->
 
    | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
 
    | A{{ #explode: {{{1}}} | | -1 }}
 
  }}
 
  | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | xbox }} <!-- Xbox 360 Edition -->
 
    | Xbox 360 Edition version history#{{
 
      #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
 
      | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
 
      | {{ #explode: {{{1}}} | | -1 }}
 
    }}
 
    | Version history{{
 
      #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
 
      | /{{ #explode: {{{1}}} | | 0 }}#{{
 
        #switch: {{ lc: {{ #explode: {{ #sub: {{{1}}} | {{ #pos: {{{1}}} | ( }} }} | | 1 }} }} <!-- Seecret updates -->
 
        | friday  = SF{{ #sub: {{ #explode: {{{1}}} | | -1 }} | 0 | -1 }}
 
        | saturday = SS{{ #sub: {{ #explode: {{{1}}} | | -1 }} | 0 | -1 }}
 
        | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
 
      }}
 
      | {{                                      <!-- Otherwise, find special prefixes -->
 
        #if: {{ #pos: {{{1}}} | Preview }}{{ #pos: {{{1}}} | Prerelease }}{{ #pos: {{{1}}} | Pre-release }}{{ #pos: {{{1}}} | pre }}{{ #pos: {{ lc: {{{1}}} }} | rc }}{{ #ifeq: {{ #sub: {{{1}}} | 2 | 1 }} | w | 1 }}  <!-- Pre-releases, release candidates, snapshots, previews -->
 
        | /Development versions#{{
 
        #if: {{ #pos: {{{1}}} | pre }}
 
          | B{{ #explode: {{{1}}} | | -1 }}
 
          | {{{1}}}
 
        }}
 
        | {{
 
          #if: {{ #pos: {{{1}}} | Pre }}{{ #pos: {{ lc: {{{1}}} }} | test }}  <!-- The first few versions of Minecraft -->
 
          | /Classic#{{ #sub: {{{1}}} | 8 | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | test }} | -14 }} }}
 
          | {{
 
            #if: {{ #explode: {{{1}}} | | 1 }}
 
            | /{{ #replace: {{{1}}} | | # }}    <!-- Otherwise if it has a space, replace it with a # -->
 
            | &#35;{{{1}}}                      <!-- Otherwise, just use the whole string -->
 
          }}
 
        }}
 
      }}
 
    }}
 
  }}
 
}}|{{
 
  #if: {{{2|}}}
 
  | {{{2}}}
 
  | {{{1}}}
 
}}]]</includeonly><noinclude>
 
{{/doc}}
 
 
 
[[Category:Templates]]</noinclude>
 

Revisión actual del 22:53 11 abr 2014