Diferencia entre revisiones de «Plantilla:Version link»

Bth0 (discusión | contribs.)
m 1 revisión
MinedNugget (discusión | contribs.)
Sin resumen de edición
Línea 1: Línea 1:
<includeonly>[[{{
<includeonly>[[{{
   #if: {{ #pos: {{ lc: {{{1}}} }} | pocket }}{{ #pos: {{ lc: {{{1}}} }} | pe }}  <!-- Android and iOS Pocket Edition -->
   #if: {{ #pos: {{ lc: {{{1}}} }} | pocket }}{{ #pos: {{ lc: {{{1}}} }} | pe }}  <!-- Android and iOS Pocket Edition -->
   | Historial de versiones/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 -->
     #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 }} | ) }}
     | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
     | A{{ #explode: {{{1}}} | | -1 }}
     | A{{ #explode: {{{1}}} | | -1 }}
   }}
   }}
   | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | xbox }} <!-- Xbox 360 Edition -->
   | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | ps3 }} <!-- PlayStation 3 Edition -->
     | Historial de versiones/Xbox 360#{{
     | PlayStation 3 Edition version history#{{
       #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
       #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
       | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
       | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
       | {{ #explode: {{{1}}} | | -1 }}
       | {{ #explode: {{{1}}} | | -1 }}
     }}
     }}
     | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | pi }} <!-- Pi Edition -->
     | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | xbox }} <!-- Xbox 360 Edition -->
       | Historial de versiones/Pi Edition#{{
       | Xbox 360 Edition version history#{{
         #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
         #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
         | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
         | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
         | A{{ #explode: {{{1}}} | | -1 }}
         | {{ #explode: {{{1}}} | | -1 }}
       }}
       }}
       | Historial de versiones{{
       | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | pi }} <!-- Pi Edition -->
        #if: {{ #pos: {{{1}}} | ) }}             <!-- Brackets -->
         | Pi Edition version history#{{
         | /{{ #explode: {{{1}}} | | 0 }}#{{
           #if: {{ #pos: {{{1}}} | ) }}             <!-- Brackets -->
           #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 }} | ) }}
           | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
          | A{{ #explode: {{{1}}} | | -1 }}
         }}
         }}
         | {{                                      <!-- Otherwise, find special prefixes -->
         | {{ #if: {{ #switch: {{{1}}} | 1.7.4 | 1.7.5 | 1.7.6 | 1.8 = 1 }}{{ #pos: {{{1}}} | 14w }} <!-- New version pages -->
          #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 -->
          | {{{1}}}
          | /En desarrollo#{{
          | Version history{{
          #if: {{ #pos: {{{1}}} | pre }}
            #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
            | B{{ #explode: {{{1}}} | | -1 }}
            | /{{ #explode: {{{1}}} | | 0 }}#{{
            | {{{1}}}
              #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 }}
            #if: {{ #pos: {{{1}}} | Pre }}{{ #pos: {{ lc: {{{1}}} }} | test }}  <!-- The first few versions of Minecraft -->
              | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
            | /Classic#{{ #sub: {{{1}}} | 8 | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | test }} | -14 }} }}
            }}
            | {{
            | {{                                      <!-- Otherwise, find special prefixes -->
              #if: {{ #explode: {{{1}}} | | 1 }}
              #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 -->
              | /{{ #replace: {{{1}}} | | # }}    <!-- Otherwise if it has a space, replace it with a # -->
              | /Development versions#{{
              | &#35;{{{1}}}                      <!-- Otherwise, just use the whole string -->
              #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 -->
                }}
              }}
             }}
             }}
           }}
           }}
Línea 52: Línea 62:
}}]]</includeonly><noinclude>
}}]]</includeonly><noinclude>
{{/doc}}
{{/doc}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>