Template:Versioni compatibili: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
m (rimozione categorie nascoste generate dagli esempi (modificata solo parte <noinclude>, e solo nel sorgente) - parte 1/2)
m (rimozione categorie nascoste generate dagli esempi (modificata solo parte <noinclude>, e solo nel sorgente) - parte 2/3)
Riga 64: Riga 64:
=== Parametri ===
=== Parametri ===


{{
#if: {{Codename|Oldstable}} | {{
  #switch: {{
      #if:  | {{{5}}} | {{
        #if:  | {{{4}}} | {{
            #if:  | {{{3}}} | {{
              #if: {{Codename|Stable}} | {{Codename|Stable}} | {{Codename|Oldstable}}
            }}
        }}
      }}
  }} | Woody | Sarge | Etch | Lenny | Squeeze | Testing_{{#expr: {{CURRENTYEAR}} + 1}} | Unstable_{{#expr: {{CURRENTYEAR}} + 1}} | Testing_{{CURRENTYEAR}} | Unstable_{{CURRENTYEAR}} | Testing_{{#expr: {{CURRENTYEAR}} - 1}} | Unstable_{{#expr: {{CURRENTYEAR}} - 1}} | Testing_{{#expr: {{CURRENTYEAR}} - 2}} | Unstable_{{#expr: {{CURRENTYEAR}} - 2}} | Testing_{{#expr: {{CURRENTYEAR}} - 3}} | Unstable_{{#expr: {{CURRENTYEAR}} - 3}} =
  | Testing_{{#expr: {{CURRENTYEAR}} - 4}} | Unstable_{{#expr: {{CURRENTYEAR}} - 4}} | Testing_{{#expr: {{CURRENTYEAR}} - 5}} | Unstable_{{#expr: {{CURRENTYEAR}} - 5}} = {{
      #ifeq: {{Codename|Oldstable}} | ONLY |  | {{Guida da controllare|AUTO}}
  }}
  | {{
      #switch: {{Codename|Stable}} | {{Codename|Oldstable}} | {{Codename|Stable}} |  |  |  =
      | {{
        #switch: {{Codename|Oldstable}} | {{Codename|Oldstable}} | {{Codename|Stable}} |  |  |  =
        | {{
            #switch: {{Codename|Oldoldstable}} | {{Codename|Oldstable}} | {{Codename|Stable}} |  |  |  = {{
              #ifeq: {{Codename|Oldstable}} | ONLY |  | {{Guida da controllare|AUTO}}
            }} | {{
              #ifeq: {{Codename|Oldstable}} | ONLY |  | {{Guida da controllare|AUTO|NOCATEGORY}}
            }} [[Categoria:Guide abbandonate]]
        }}
      }}
  }}
}} |
}}
{|style="float:right; clear:both; width:23%; min-width:133px; margin:0 0 10px 8px; padding-bottom:5px; border-radius:0.5em; border:1px solid #4e88d0; background-color:#f8fbfd; font-variant:small-caps; text-align:center;"
{|style="float:right; clear:both; width:23%; min-width:133px; margin:0 0 10px 8px; padding-bottom:5px; border-radius:0.5em; border:1px solid #4e88d0; background-color:#f8fbfd; font-variant:small-caps; text-align:center;"
|[[Image:Debian-swirl.png|33px|link=]] '''Versioni Compatibili''' {{
|[[Image:Debian-swirl.png|33px|link=]] '''Versioni Compatibili''' {{#ifeq: {{Codename|Oldstable}} | {{Codename|Stable}} | [[Categoria: Guide compatibili con stable]] |  }}{{
#ifeq: {{Codename|Oldstable}} | ONLY | <br />'''soltanto:''' |  }}{{
#switch: {{Codename|Oldstable}}
#if: {{Codename|Oldstable}} | {{Versioni compatibili elenco|{{Codename|Oldstable}}}}{{
| ONLY =
  #if: {{Codename|Stable}} | {{Versioni compatibili elenco|{{Codename|Stable}}}}
| Woody = <br />Debian 3.0 "Woody"
}}{{
| Sarge = <br />Debian 3.1 "Sarge"
  #if: | {{Versioni compatibili elenco|{{{3}}}}}
| Etch = <br />Debian 4 "Etch"
}}{{
| Lenny = <br />Debian 5 "Lenny"
  #if: | {{Versioni compatibili elenco|{{{4}}}}}
| Squeeze = <br />Debian 6 "Squeeze"
}}{{
| Wheezy = <br />Debian 7 "Wheezy"
  #if: | {{Versioni compatibili elenco|{{{5}}}}}
| Jessie = <br />Debian 8 "Jessie"
}}{{
| Stretch = <br />Debian 9 "Stretch"
  #if: | <br />ERRORE: Consentiti fino a 5 parametri! [[Categoria: Errori nel template Versioni compatibili]] |
| Buster = <br />Debian 10 "Buster"
}} | <br />Tutte le versioni supportate di Debian [[Categoria: Guide compatibili con tutte le versioni di Debian]] }}{{
| Testing_{{CURRENTYEAR}} | Testing_{{#expr: {{CURRENTYEAR}} - 1}} | Testing_{{#expr: {{CURRENTYEAR}} + 1}} = <br/>Debian testing "{{Codename|Testing}}" [[Categoria: Guide compatibili con testing]]
#ifeq: {{Codename|Oldstable}} | ONLY | | {{
| Testing_{{#expr: {{CURRENTYEAR}} - 2}} | Testing_{{#expr: {{CURRENTYEAR}} - 3}} | Testing_{{#expr: {{CURRENTYEAR}} - 4}} | Testing_{{#expr: {{CURRENTYEAR}} - 5}} | Testing_{{#expr: {{CURRENTYEAR}} - 6}} | Testing_{{#expr: {{CURRENTYEAR}} - 7}} | Testing_{{#expr: {{CURRENTYEAR}} - 8}} | Testing_{{#expr: {{CURRENTYEAR}} - 9}} | Testing_{{#expr: {{CURRENTYEAR}} - 10}} = <br/>Debian testing (non recente) [[Categoria: Guide compatibili con testing (non recenti)]]
  #switch: {{Codename|Oldstable}} | {{Codename|Oldstable}} | {{Codename|Stable}} | | | = {{
| Unstable_{{CURRENTYEAR}} | Unstable_{{#expr: {{CURRENTYEAR}} - 1}} | Unstable_{{#expr: {{CURRENTYEAR}} + 1}} = <br />Debian "Sid" [[Categoria: Guide compatibili con Sid]]
      #switch: {{Codename|Stable}} | {{Codename|Oldstable}} | {{Codename|Stable}} | | | =  
| Unstable_{{#expr: {{CURRENTYEAR}} - 2}} | Unstable_{{#expr: {{CURRENTYEAR}} - 3}} | Unstable_{{#expr: {{CURRENTYEAR}} - 4}} | Unstable_{{#expr: {{CURRENTYEAR}} - 5}} | Unstable_{{#expr: {{CURRENTYEAR}} - 6}} | Unstable_{{#expr: {{CURRENTYEAR}} - 7}} | Unstable_{{#expr: {{CURRENTYEAR}} - 8}} | Unstable_{{#expr: {{CURRENTYEAR}} - 9}} | Unstable_{{#expr: {{CURRENTYEAR}} - 10}} = <br/>Debian "Sid" (non recente) [[Categoria: Guide compatibili con Sid (non recenti)]]
      | <br />[[:Categoria:Guide non compatibili con stable|Verificala con {{Codename|Stable}}]] [[Categoria: Guide non compatibili con stable]] }}
| {{Codename|Testing}} | Testing = <br />ERRORE: utilizzare "Testing_{{CURRENTYEAR}}" come parametro al posto di "{{Codename|Oldstable}}"! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
}}
| Sid | Unstable = <br />ERRORE: utilizzare "Unstable_{{CURRENTYEAR}}" come parametro al posto di "{{Codename|Oldstable}}"! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
| <br />ERRORE: valore non valido ({{Codename|Oldstable}})! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
}}{{#ifeq: {{Codename|Stable}} | {{Codename|Stable}} | [[Categoria: Guide compatibili con stable]] }}{{
#switch: {{Codename|Stable}}
| ONLY =
| Woody = <br />Debian 3.0 "Woody"
| Sarge = <br />Debian 3.1 "Sarge"
| Etch = <br />Debian 4 "Etch"
| Lenny = <br />Debian 5 "Lenny"
| Squeeze = <br />Debian 6 "Squeeze"
| Wheezy = <br />Debian 7 "Wheezy"
| Jessie = <br />Debian 8 "Jessie"
| Stretch = <br />Debian 9 "Stretch"
| Buster = <br />Debian 10 "Buster"
| Testing_{{CURRENTYEAR}} | Testing_{{#expr: {{CURRENTYEAR}} - 1}} | Testing_{{#expr: {{CURRENTYEAR}} + 1}} = <br/>Debian testing "{{Codename|Testing}}" [[Categoria: Guide compatibili con testing]]
| Testing_{{#expr: {{CURRENTYEAR}} - 2}} | Testing_{{#expr: {{CURRENTYEAR}} - 3}} | Testing_{{#expr: {{CURRENTYEAR}} - 4}} | Testing_{{#expr: {{CURRENTYEAR}} - 5}} | Testing_{{#expr: {{CURRENTYEAR}} - 6}} | Testing_{{#expr: {{CURRENTYEAR}} - 7}} | Testing_{{#expr: {{CURRENTYEAR}} - 8}} | Testing_{{#expr: {{CURRENTYEAR}} - 9}} | Testing_{{#expr: {{CURRENTYEAR}} - 10}} = <br/>Debian testing (non recente) [[Categoria: Guide compatibili con testing (non recenti)]]
| Unstable_{{CURRENTYEAR}} | Unstable_{{#expr: {{CURRENTYEAR}} - 1}} | Unstable_{{#expr: {{CURRENTYEAR}} + 1}} = <br />Debian "Sid" [[Categoria: Guide compatibili con Sid]]
| Unstable_{{#expr: {{CURRENTYEAR}} - 2}} | Unstable_{{#expr: {{CURRENTYEAR}} - 3}} | Unstable_{{#expr: {{CURRENTYEAR}} - 4}} | Unstable_{{#expr: {{CURRENTYEAR}} - 5}} | Unstable_{{#expr: {{CURRENTYEAR}} - 6}} | Unstable_{{#expr: {{CURRENTYEAR}} - 7}} | Unstable_{{#expr: {{CURRENTYEAR}} - 8}} | Unstable_{{#expr: {{CURRENTYEAR}} - 9}} | Unstable_{{#expr: {{CURRENTYEAR}} - 10}} = <br/>Debian "Sid" (non recente) [[Categoria: Guide compatibili con Sid (non recenti)]]
| {{Codename|Testing}} | Testing = <br />ERRORE: utilizzare "Testing_{{CURRENTYEAR}}" come parametro al posto di "{{Codename|Stable}}"! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
| Sid | Unstable = <br />ERRORE: utilizzare "Unstable_{{CURRENTYEAR}}" come parametro al posto di "{{Codename|Stable}}"! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
| <br />ERRORE: valore non valido ({{Codename|Stable}})! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
}}
}}
|}
|}
Riga 145: Riga 136:


==== Non compatibilità ====
==== Non compatibilità ====
{{
#if: ONLY | {{
  #switch: {{
      #if:  | {{{5}}} | {{
        #if:  | {{{4}}} | {{
            #if:  | {{{3}}} | {{
              #if: {{Codename|Oldstable}} | {{Codename|Oldstable}} | ONLY
            }}
        }}
      }}
  }} | Woody | Sarge | Etch | Lenny | Squeeze | Testing_{{#expr: {{CURRENTYEAR}} + 1}} | Unstable_{{#expr: {{CURRENTYEAR}} + 1}} | Testing_{{CURRENTYEAR}} | Unstable_{{CURRENTYEAR}} | Testing_{{#expr: {{CURRENTYEAR}} - 1}} | Unstable_{{#expr: {{CURRENTYEAR}} - 1}} | Testing_{{#expr: {{CURRENTYEAR}} - 2}} | Unstable_{{#expr: {{CURRENTYEAR}} - 2}} | Testing_{{#expr: {{CURRENTYEAR}} - 3}} | Unstable_{{#expr: {{CURRENTYEAR}} - 3}} =
  | Testing_{{#expr: {{CURRENTYEAR}} - 4}} | Unstable_{{#expr: {{CURRENTYEAR}} - 4}} | Testing_{{#expr: {{CURRENTYEAR}} - 5}} | Unstable_{{#expr: {{CURRENTYEAR}} - 5}} = {{
      #ifeq: ONLY | ONLY |  | {{Guida da controllare|AUTO}}
  }}
  | {{
      #switch: {{Codename|Stable}} | ONLY | {{Codename|Oldstable}} |  |  |  =
      | {{
        #switch: {{Codename|Oldstable}} | ONLY | {{Codename|Oldstable}} |  |  |  =
        | {{
            #switch: {{Codename|Oldoldstable}} | ONLY | {{Codename|Oldstable}} |  |  |  = {{
              #ifeq: ONLY | ONLY |  | {{Guida da controllare|AUTO}}
            }} | {{
              #ifeq: ONLY | ONLY |  | {{Guida da controllare|AUTO|NOCATEGORY}}
            }} [[Categoria:Guide abbandonate]]
        }}
      }}
  }}
}} |
}}
{|style="float:right; clear:both; width:23%; min-width:133px; margin:0 0 10px 8px; padding-bottom:5px; border-radius:0.5em; border:1px solid #4e88d0; background-color:#f8fbfd; font-variant:small-caps; text-align:center;"
{|style="float:right; clear:both; width:23%; min-width:133px; margin:0 0 10px 8px; padding-bottom:5px; border-radius:0.5em; border:1px solid #4e88d0; background-color:#f8fbfd; font-variant:small-caps; text-align:center;"
|[[Image:Debian-swirl.png|33px|link=]] '''Versioni Compatibili''' {{
|[[Image:Debian-swirl.png|33px|link=]] '''Versioni Compatibili''' <br /> '''soltanto:''' {{#ifeq: {{Codename|Oldstable}} | {{Codename|Stable}} | [[Categoria: Guide compatibili con stable]] | }}{{
#ifeq: ONLY | ONLY | <br />'''soltanto:''' |  }}{{
#switch: {{Codename|Oldstable}}
#if: ONLY | {{Versioni compatibili elenco|ONLY}}{{
| ONLY =
  #if: {{Codename|Oldstable}} | {{Versioni compatibili elenco|{{Codename|Oldstable}}}}
| Woody = <br />Debian 3.0 "Woody"
}}{{
| Sarge = <br />Debian 3.1 "Sarge"
  #if: | {{Versioni compatibili elenco|{{{3}}}}}
| Etch = <br />Debian 4 "Etch"
}}{{
| Lenny = <br />Debian 5 "Lenny"
  #if: | {{Versioni compatibili elenco|{{{4}}}}}
| Squeeze = <br />Debian 6 "Squeeze"
}}{{
| Wheezy = <br />Debian 7 "Wheezy"
  #if: | {{Versioni compatibili elenco|{{{5}}}}}
| Jessie = <br />Debian 8 "Jessie"
}}{{
| Stretch = <br />Debian 9 "Stretch"
  #if: | <br />ERRORE: Consentiti fino a 5 parametri! [[Categoria: Errori nel template Versioni compatibili]] |
| Buster = <br />Debian 10 "Buster"
}} | <br />Tutte le versioni supportate di Debian [[Categoria: Guide compatibili con tutte le versioni di Debian]] }}{{
| Testing_{{CURRENTYEAR}} | Testing_{{#expr: {{CURRENTYEAR}} - 1}} | Testing_{{#expr: {{CURRENTYEAR}} + 1}} = <br/>Debian testing "{{Codename|Testing}}" [[Categoria: Guide compatibili con testing]]
#ifeq: ONLY | ONLY | | {{
| Testing_{{#expr: {{CURRENTYEAR}} - 2}} | Testing_{{#expr: {{CURRENTYEAR}} - 3}} | Testing_{{#expr: {{CURRENTYEAR}} - 4}} | Testing_{{#expr: {{CURRENTYEAR}} - 5}} | Testing_{{#expr: {{CURRENTYEAR}} - 6}} | Testing_{{#expr: {{CURRENTYEAR}} - 7}} | Testing_{{#expr: {{CURRENTYEAR}} - 8}} | Testing_{{#expr: {{CURRENTYEAR}} - 9}} | Testing_{{#expr: {{CURRENTYEAR}} - 10}} = <br/>Debian testing (non recente) [[Categoria: Guide compatibili con testing (non recenti)]]
  #switch: {{Codename|Oldstable}} | ONLY | {{Codename|Oldstable}} | |  |  = {{
| Unstable_{{CURRENTYEAR}} | Unstable_{{#expr: {{CURRENTYEAR}} - 1}} | Unstable_{{#expr: {{CURRENTYEAR}} + 1}} = <br />Debian "Sid" [[Categoria: Guide compatibili con Sid]]
      #switch: {{Codename|Stable}} | ONLY | {{Codename|Oldstable}} | | | =  
| Unstable_{{#expr: {{CURRENTYEAR}} - 2}} | Unstable_{{#expr: {{CURRENTYEAR}} - 3}} | Unstable_{{#expr: {{CURRENTYEAR}} - 4}} | Unstable_{{#expr: {{CURRENTYEAR}} - 5}} | Unstable_{{#expr: {{CURRENTYEAR}} - 6}} | Unstable_{{#expr: {{CURRENTYEAR}} - 7}} | Unstable_{{#expr: {{CURRENTYEAR}} - 8}} | Unstable_{{#expr: {{CURRENTYEAR}} - 9}} | Unstable_{{#expr: {{CURRENTYEAR}} - 10}} = <br/>Debian "Sid" (non recente) [[Categoria: Guide compatibili con Sid (non recenti)]]
      | <br />[[:Categoria:Guide non compatibili con stable|Verificala con {{Codename|Stable}}]] [[Categoria: Guide non compatibili con stable]] }}
| {{Codename|Testing}} | Testing = <br />ERRORE: utilizzare "Testing_{{CURRENTYEAR}}" come parametro al posto di "{{Codename|Oldstable}}"! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
}}
| Sid | Unstable = <br />ERRORE: utilizzare "Unstable_{{CURRENTYEAR}}" come parametro al posto di "{{Codename|Oldstable}}"! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
| <br />ERRORE: valore non valido ({{Codename|Oldstable}})! Vedi [[Template:Versioni compatibili|qui]]. [[Categoria: Errori nel template Versioni compatibili]]
}}
}}
|}
|}
Riga 208: Riga 171:


=== Nessun parametro ===
=== Nessun parametro ===
{{
#if:  | {{
  #switch: {{
      #if:  | {{{5}}} | {{
        #if:  | {{{4}}} | {{
            #if:  | {{{3}}} | {{
              #if:  | {{{2}}} | {{{1}}}
            }}
        }}
      }}
  }} | Woody | Sarge | Etch | Lenny | Squeeze | Testing_{{#expr: {{CURRENTYEAR}} + 1}} | Unstable_{{#expr: {{CURRENTYEAR}} + 1}} | Testing_{{CURRENTYEAR}} | Unstable_{{CURRENTYEAR}} | Testing_{{#expr: {{CURRENTYEAR}} - 1}} | Unstable_{{#expr: {{CURRENTYEAR}} - 1}} | Testing_{{#expr: {{CURRENTYEAR}} - 2}} | Unstable_{{#expr: {{CURRENTYEAR}} - 2}} | Testing_{{#expr: {{CURRENTYEAR}} - 3}} | Unstable_{{#expr: {{CURRENTYEAR}} - 3}} =
  | Testing_{{#expr: {{CURRENTYEAR}} - 4}} | Unstable_{{#expr: {{CURRENTYEAR}} - 4}} | Testing_{{#expr: {{CURRENTYEAR}} - 5}} | Unstable_{{#expr: {{CURRENTYEAR}} - 5}} = {{
      #ifeq:  | ONLY |  | {{Guida da controllare|AUTO}}
  }}
  | {{
      #switch: {{Codename|Stable}} |  |  |  |  |  =
      | {{
        #switch: {{Codename|Oldstable}} |  |  |  |  |  =
        | {{
            #switch: {{Codename|Oldoldstable}} |  |  |  |  |  = {{
              #ifeq:  | ONLY |  | {{Guida da controllare|AUTO}}
            }} | {{
              #ifeq:  | ONLY |  | {{Guida da controllare|AUTO|NOCATEGORY}}
            }} [[Categoria:Guide abbandonate]]
        }}
      }}
  }}
}} |
}}
{|style="float:right; clear:both; width:23%; min-width:133px; margin:0 0 10px 8px; padding-bottom:5px; border-radius:0.5em; border:1px solid #4e88d0; background-color:#f8fbfd; font-variant:small-caps; text-align:center;"
{|style="float:right; clear:both; width:23%; min-width:133px; margin:0 0 10px 8px; padding-bottom:5px; border-radius:0.5em; border:1px solid #4e88d0; background-color:#f8fbfd; font-variant:small-caps; text-align:center;"
|[[Image:Debian-swirl.png|33px|link=]] '''Versioni Compatibili''' {{
|[[Image:Debian-swirl.png|33px|link=]] '''Versioni Compatibili''' <br /> Tutte le versioni supportate di Debian
#ifeq:  | ONLY | <br />'''soltanto:''' |  }}{{
#if:  | {{Versioni compatibili elenco|{{{1}}}}}{{
  #if:  | {{Versioni compatibili elenco|{{{2}}}}}
}}{{
  #if:  | {{Versioni compatibili elenco|{{{3}}}}}
}}{{
  #if:  | {{Versioni compatibili elenco|{{{4}}}}}
}}{{
  #if:  | {{Versioni compatibili elenco|{{{5}}}}}
}}{{
  #if:  | <br />ERRORE: Consentiti fino a 5 parametri! [[Categoria: Errori nel template Versioni compatibili]] |
}} | <br />Tutte le versioni supportate di Debian [[Categoria: Guide compatibili con tutte le versioni di Debian]] }}{{
#ifeq:  | ONLY |  | {{
  #switch: {{Codename|Oldstable}} |  |  |  |  |  = {{
      #switch: {{Codename|Stable}} |  |  |  |  |  =
      | <br />[[:Categoria:Guide non compatibili con stable|Verificala con {{Codename|Stable}}]] [[Categoria: Guide non compatibili con stable]]  }}
}}
}}
|}
|}
Se non vengono aggiunti parametri, la guida è compatibile con tutte le versioni supportate di Debian.
Se non vengono aggiunti parametri, la guida è compatibile con tutte le versioni supportate di Debian.