Szablon:Version link: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
[wersja nieprzejrzana][wersja przejrzana]
Zryty (dyskusja | edycje)
Nie podano opisu zmian
d Zabezpieczył „Szablon:Version link”: Ważny szablon ([edytowanie=Zezwól na edycję tylko redaktorom] (na czas nieokreślony) [przenoszenie=Zezwól na edycję tylko redaktorom] (na czas nieokreślony))
 
(Nie pokazano 14 wersji utworzonych przez 7 użytkowników)
Linia 1: Linia 1:
<includeonly>[[{{
<includeonly>[[{{
   #if: {{ #pos: {{ lc: {{{1}}} }} | pocket }}{{ #pos: {{ lc: {{{1}}} }} | pe }}  <!-- Android and iOS Pocket Edition -->
   #if: {{ #pos: {{ lc: {{{1}}} }} | pocket }} <!-- Android and iOS Pocket Edition -->
   | Historia wersji/Pocket Edition#{{
   | Pocket Edition/Historia wersji#{{
     #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 }} | ) }}
Linia 13: Linia 13:
     }}
     }}
       | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | pi }} <!-- Pi -->
       | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | pi }} <!-- Pi -->
         | Historia wersji/Pi_Edition_version_history#{{
         | Historia wersji/Pi_Edition#{{
           #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
           #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
           | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
           | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
           | {{ #explode: {{{1}}} | | -1 }}
           | {{ #explode: {{{1}}} | | -1 }}
         }}
         }}
        | Historia wersji{{
          | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | education }} <!-- Education -->
          #if: {{ #pos: {{{1}}} | ) }}             <!-- Brackets -->
           | Historia wersji/Education_Edition#{{
           | /{{ #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 }} | ) }}
            | {{ #explode: {{{1}}} | | -1 }}
           }}
           }}
          | {{                                      <!-- Otherwise, find special prefixes -->
            | Historia wersji{{
            #if: {{ #pos: {{{1}}} | Preview }}{{ #pos: {{{1}}} | Prerelease }}{{ #pos: {{{1}}} | pre }}{{ #pos: {{ lc: {{{1}}} }} | rc }}{{ #ifeq: {{ #sub: {{{1}}} | 2 | 1 }} | w | 1 }}  <!-- Pre-releases, release candidates, snapshots, previews -->
              #if: {{ #pos: {{{1}}} | ) }}              <!-- Brackets -->
            | /Nieoficjalne wersje#{{
              | /{{ #explode: {{{1}}} | | 0 }}#{{
            #if: {{ #pos: {{{1}}} | pre }}
                #switch: {{ lc: {{ #explode: {{ #sub: {{{1}}} | {{ #pos: {{{1}}} | ( }} }} | | 1 }} }} <!-- Seecret updates -->
              | B{{ #explode: {{{1}}} | | -1 }}
                | friday  = SF{{ #sub: {{ #explode: {{{1}}} | | -1 }} | 0 | -1 }}
              | {{{1}}}
                | saturday = SS{{ #sub: {{ #explode: {{{1}}} | | -1 }} | 0 | -1 }}
            }}
                | {{ #replace: {{ #explode: {{{1}}} | ( | 1 }} | ) }}
            | {{
              }}
              #if: {{ #pos: {{{1}}} | Pre }}{{ #pos: {{ lc: {{{1}}} }} | test }}  <!-- The first few versions of Minecraft -->
              | {{                                      <!-- Otherwise, find special prefixes -->
              | /Classic#{{ #sub: {{{1}}} | 8 | {{ #if: {{ #pos: {{ lc: {{{1}}} }} | test }} | -14 }} }}
                #if: {{ #pos: {{{1}}} | Preview }}{{ #pos: {{{1}}} | Prerelease }}{{ #pos: {{{1}}} | Pre-Release}}{{ #pos: {{{1}}} | pre }}{{ #pos: {{{1}}} | Eksperymentalny }}{{ #pos: {{{1}}} | Experimental }}{{ #pos: {{ lc: {{{1}}} }} | rc }}{{ #ifeq: {{ #sub: {{{1}}} | 2 | 1 }} | w | 1 }}  <!-- Pre-releases, release candidates, snapshots, previews -->
              | {{
                | /Nieoficjalne wersje#{{
                #if: {{ #explode: {{{1}}} | | 1 }}
                #if: {{ #pos: {{{1}}} | pre }}
                | /{{ #replace: {{{1}}} | | # }}    <!-- Otherwise if it has a space, replace it with a # -->
                  | B{{ #explode: {{{1}}} | | -1 }}
                | &#35;{{{1}}}                      <!-- Otherwise, just use the whole string -->
                  | {{{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 -->
                  }}
                }}
               }}
               }}
            }}
          }}
         }}
         }}
      }}
     }}
     }}
   }}
   }}
Linia 51: Linia 58:
   | {{{1}}}
   | {{{1}}}
}}]]</includeonly><noinclude>
}}]]</includeonly><noinclude>
{{/doc}}
{{Dokumentacja}}


[[Kategoria:Szablony]]</noinclude>
[[Kategoria:Szablony]]</noinclude>

Aktualna wersja na dzień 18:24, 24 lip 2025

[ podgląd | edytuj | historia | odśwież ]Dokumentacja

Ten szablon służy do łatwego linkowania do poprawnej strony historia wersji, razem z zakotwiczeniem przy odpowiedniej wersji.

Użycie

Szablon powinien akceptować wszystkie standardowe numery wersji Minecrafta. Można używać także formatu z datami (w nawiasach), które będą użyte zamiast numeru wersji w zakotwiczeniu (szczególnie przydatne dla wczesnych wersji Minerafta, gdzie kilka wersji miało ten sam numer).

Przykłady

{{verlink|12w05a}}

12w05a


{{verlink|1.1}}

1.1


{{verlink|Indev (4 lutego 2010)}}

Indev (4 lutego 2010)


{{verlink|Beta 1.9|These are not the versions you are looking for}}

These are not the versions you are looking for


{{verlink|Beta 1.9pre6}}

Beta 1.9pre6


{{verlink|Alpha 1.2.2 (10 listopada 2010)}}

Alpha 1.2.2 (10 listopada 2010)


{{verlink|Classic 0.26 SURVIVAL TEST}}

Classic 0.26 SURVIVAL TEST


{{verlink|Classic 0.26 SURVIVAL TEST (22 października 2009)}}

Classic 0.26 SURVIVAL TEST (22 października 2009)


{{verlink|Pocket Edition Alpha 0.2.0}}

Pocket Edition Alpha 0.2.0


{{verlink|Pocket Edition Alpha 0.2.0 (17 lutego 2012)}}

Pocket Edition Alpha 0.2.0 (17 lutego 2012)


{{verlink|PE Alpha 0.2.0}}

PE Alpha 0.2.0


{{verlink|Indev (Seecret Friday Update 1)}}

Infdev (Seecret Friday Update 1)


{{verlink|Alpha (Seecret Saturday 10)}}

Alpha (Seecret Saturday 10)