Difference between revisions of "Template:Cita web/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
m (Sort key;)
 
Line 1: Line 1:
<noinclude><!--
+
#REDIRECT [[Template:Cite web/sandbox]]
-============================================================
 
-  Cita_web - Switch Spanish/Italian cite web to English
 
-============================================================
 
--                        (see NOTES below)
 
--></noinclude>{{{{{|safesubst:}}}#if:{{{{{subst|subst:}}}ns:0}}
 
| <!--
 
============================================ Live format
 
-->{{cite web
 
| url={{{url|}}}{{{URL|}}}
 
| urltrad={{{urltrad|}}}
 
| deadurl={{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}}
 
| title={{{title|{{{título|{{{titolo|<!--
 
    --><noinclude>El Título</noinclude><includeonly><!--
 
    -->[missing title]</includeonly>}}}|}}}|}}}
 
| trans_title={{{trans_title|{{{trad_titulo|{{{titolotradotto|}}}}}}|}}}
 
| author={{{author|{{{autor|{{{autore|{{{name|<!--
 
    -->}}}|}}}|}}}|}}}
 
| author2={{{author2|{{{autor2|{{{autore2|}}}|}}}|}}}
 
| last={{{last|{{{apellido|{{{apellidos|{{{último|{{{cognome<!--
 
  -->|}}}|}}}|}}}|}}}|}}}
 
| first={{{first|{{{nombre|{{{nome|{{{primero|{{{name1<!--
 
  -->|}}}|}}}|}}}|}}}|}}}
 
| authorlink={{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}}
 
| coauthors={{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}}
 
| others={{{others|{{{other|{{{altri|}}}|}}}|}}}
 
| subscription={{{subscription|{{{suscripción<!--
 
  -->|{{{richiestasottoscrizione|}}}|}}}|}}}
 
| format={{{format|{{{formato|}}}|}}}
 
| type={{{type|{{{tipo|}}}|}}}
 
| work={{{work|{{{obra|{{{Work|{{{opera|}}}|}}}|}}}|}}}
 
| journal={{{journal|{{{publicación|{{{giornale|}}}|}}}|}}}
 
| editor={{{editor|{{{editors|}}}|}}}
 
| publisher={{{publisher|{{{editorial|{{{editore|}}}|}}}|}}}
 
| agency={{{agency|{{{agencie|}}}|}}}
 
| location={{{location|{{{place|{{{ubicación|{{{città|}}}|}}}|}}}|}}}
 
| chapter={{{chapter|{{{contribution|{{{capitolo|{{{contributo<!--
 
  -->|}}}|}}}|}}}|}}}
 
| chapterurl={{{chapterurl|{{{urlcapitolo|{{{urlcontributo<!--
 
  -->|{{{url_capitolo|}}}|}}}|}}}|}}}
 
| edition={{{edition|{{{edition|{{{edizione|}}}|}}}|}}}
 
| volume={{{volume|{{{vol|{{{volume|}}}|}}}|}}}
 
| issue={{{issue|{{{numero|{{{numero|}}}|}}}|}}}
 
| series={{{series|{{{seria|{{{serie|}}}|}}}|}}}
 
| page={{{page|{{{página|{{{pagina|}}}|}}}|}}}
 
| pages={{{pages|{{{páginas|{{{pagine|}}}|}}}|}}}
 
| date={{#if: {{{date|{{{fecha|}}}|}}}
 
  |{{#ifexpr: {{str find <!--look for "de " -->
 
      |{{{date|{{{fecha|}}}|}}}|de }} < 1
 
    |{{<!--translate month names-->
 
    #invoke:String|replace|{{
 
    #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
              #invoke:String|replace|{{
 
              #invoke:String
 
                |replace|{{{date|{{{fecha}}}|}}}<!--
 
                          -->|enero|January}}<!--
 
                        -->|febrero|February}}<!--
 
                      -->|marzo|March}}<!--
 
                    -->|abril|April}}<!--
 
                  -->|mayo|May}}<!--
 
                -->|junio|June}}<!--
 
              -->|julio|July}}<!--
 
            -->|agosto|August}}<!--
 
          -->|septiembre|September}}<!--
 
        -->|octubre|October}}<!--
 
      -->|noviembre|November}}<!--
 
    -->|diciembre|December}}
 
    |{{<!--translate whole dates-->
 
    #invoke:String|replace|{{
 
    #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
              #invoke:String|replace|{{
 
              #invoke:String
 
                |replace|{{{date|{{{fecha}}}|}}}<!--
 
                          -->|de enero de|January}}<!--
 
                        -->|de febrero de|February}}<!--
 
                      -->|de marzo de|March}}<!--
 
                    -->|de abril de|April}}<!--
 
                  -->|de mayo de|May}}<!--
 
                -->|de junio de|June}}<!--
 
              -->|de julio de|July}}<!--
 
            -->|de agosto de|August}}<!--
 
          -->|de septiembre de|September}}<!--
 
        -->|de octubre de|October}}<!--
 
      -->|de noviembre de|November}}<!--
 
    -->|de diciembre de|December}}
 
    }}<!--endifexpr find "de "-->
 
  }}<!--endif date/fecha-->{{
 
  #if: {{{data|}}}
 
  |{{#invoke:String|replace|{{
 
    #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
              #invoke:String|replace|{{
 
              #invoke:String
 
                |replace|{{{data}}}<!--
 
                          -->|gennaio|January}}<!--
 
                        -->|febbraio|February}}<!--
 
                      -->|marzo|March}}<!--
 
                    -->|aprile|April}}<!--
 
                  -->|maggio|May}}<!--
 
                -->|giugno|June}}<!--
 
              -->|luglio|July}}<!--
 
            -->|agosto|August}}<!--
 
          -->|settembre|September}}<!--
 
        -->|ottobre|October}}<!--
 
      -->|novembre|November}}<!--
 
    -->|dicembre|December}}
 
  }}<!--endif data-->
 
| OrigYear={{{OrigYear|{{{añooriginal|{{{annooriginale|}}}|}}}|}}}
 
| year={{{year|{{{año|{{{anno|}}}|}}}|}}}
 
| month={{#if: {{{month|{{{mes|{{{mese|}}}|}}}|}}} |{{
 
  #if: {{{titolo|}}}{{{mese|}}}
 
  |{{#invoke:String|replace|{{
 
    #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
              #invoke:String|replace|{{
 
              #invoke:String
 
                |replace|{{{month|{{{mese|}}}|}}}<!--
 
                          -->|gennaio|January}}<!--
 
                        -->|febbraio|February}}<!--
 
                      -->|marzo|March}}<!--
 
                    -->|aprile|April}}<!--
 
                  -->|maggio|May}}<!--
 
                -->|giugno|June}}<!--
 
              -->|luglio|July}}<!--
 
            -->|agosto|August}}<!--
 
          -->|settembre|September}}<!--
 
        -->|ottobre|October}}<!--
 
      -->|novembre|November}}<!--
 
    -->|dicembre|December}}
 
  |<!--else-->{{
 
  #invoke:String|replace|{{
 
    #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
              #invoke:String|replace|{{
 
              #invoke:String
 
                |replace|{{{month|{{{mes}}}|}}}<!--
 
                          -->|enero|January}}<!--
 
                        -->|febrero|February}}<!--
 
                      -->|marzo|March}}<!--
 
                    -->|abril|April}}<!--
 
                  -->|mayo|May}}<!--
 
                -->|junio|June}}<!--
 
              -->|julio|July}}<!--
 
            -->|agosto|August}}<!--
 
          -->|septiembre|September}}<!--
 
        -->|octubre|October}}<!--
 
      -->|noviembre|November}}<!--
 
    -->|diciembre|December}}
 
    }}<!--endif-else titolo-->
 
  }}<!--endif month/mes-->
 
| accessdate={{#if: {{{accessdate|{{{fechaacceso|}}}|}}}
 
  |{{#invoke:String|replace|{{
 
    #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
              #invoke:String|replace|{{
 
              #invoke:String|replace|<!--
 
          -->{{{accessdate|{{{fechaacceso}}}|}}}<!--
 
                          -->|de enero de|January}}<!--
 
                        -->|de febrero de|February}}<!--
 
                      -->|de marzo de|March}}<!--
 
                    -->|de abril de|April}}<!--
 
                  -->|de mayo de|May}}<!--
 
                -->|de junio de|June}}<!--
 
              -->|de julio de|July}}<!--
 
            -->|de agosto de|August}}<!--
 
          -->|de septiembre de|September}}<!--
 
        -->|de octubre de|October}}<!--
 
      -->|de noviembre de|November}}<!--
 
    -->|de diciembre de|December}}{{
 
  #if: {{{accesso|}}}{{{dataaccesso|}}}
 
  |{{#invoke:String|replace|{{
 
    #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
      #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
        #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
          #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
            #invoke:String|replace|{{
 
              #invoke:String|replace|{{
 
              #invoke:String
 
              |replace|{{{accesso|}}}{{{dataaccesso|}}}<!--
 
                          -->|gennaio|January}}<!--
 
                        -->|febbraio|February}}<!--
 
                      -->|marzo|March}}<!--
 
                    -->|aprile|April}}<!--
 
                  -->|maggio|May}}<!--
 
                -->|giugno|June}}<!--
 
              -->|luglio|July}}<!--
 
            -->|agosto|August}}<!--
 
          -->|settembre|September}}<!--
 
        -->|ottobre|October}}<!--
 
      -->|novembre|November}}<!--
 
    -->|dicembre|December}}
 
  }}<!--endif accesso-->{{
 
    #if: {{{añoacceso|}}}{{{annoaccesso|}}}
 
    | &#32;{{{añoacceso|}}}{{{annoaccesso|}}} }}
 
  | {{#if: {{{añoacceso|}}}{{{annoaccesso|}}}
 
    | {{{añoacceso|}}}{{{annoaccesso|}}} }}
 
  }}<!--endif accessdate/fechaacceso-->
 
| language={{
 
  #switch: {{{language|{{{idioma|{{{lingua|{{{Language}}}|}}}|}}}|}}}
 
  | español = Spanish
 
  | italiano = Italian
 
  | #default = {{{language|{{{idioma|{{{lingua|{{{Language|<!--
 
    -->}}}|}}}|}}}|}}}
 
  }}<!--end switch-->
 
| doi={{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}}
 
| id={{{id|{{{ID|{{{cid|}}}|}}}|}}}
 
| archiveurl={{{archiveurl|{{{archive url|{{{urlarchivo|{{{urlarchivio|<!--
 
    -->}}}|}}}|}}}|}}}
 
| archivedate={{{archivedate|{{{fechaarchivo|{{{dataarchivio|<!--
 
    -->}}}|}}}|}}}
 
  | quote={{{quote|{{{cita|{{{citazione|}}}|}}}|}}}
 
  | postscript={{{postscript|{{{puntofinale|}}}|}}}
 
<!--------------------------------- More parameters -->
 
  | last2={{{last2|{{{apellido2|{{{ultimo2|{{{cognome2|}}}|}}}|}}}|}}}
 
  | first2={{{first2|{{{nombre2|{{{primero2|{{{nome2|}}}|}}}|}}}|}}}
 
  | authorlink2={{{authorlink2|{{{enlaceautor2|{{{wkautore2|<!--
 
    -->}}}|}}}|}}}
 
  | issn={{{issn|{{{ISSN|}}}|}}}
 
  | isbn={{{isbn|{{{ISBN|}}}|}}}
 
  | editor-last={{{editor-last|{{{editor1-last|}}}|}}}
 
  | editor-first={{{editor-first|{{{editor1-first|}}}|}}}
 
  | website={{{website|{{{sito|}}}|}}}
 
  | magazine={{{magazine|{{{periodico|{{{pubblicazione|}}}|}}}|}}}
 
  }}<!--end {cite_web}
 
========================================== Subst format
 
--              (see NOTE N4 below)
 
-->
 
| {{cite web{{{{{|safesubst:}}}#if:{{{title|{{{titulo|{{{título|{{{titolo|}}}|}}}|}}}|}}}{{{Title|}}}
 
  |{{{{{|safesubst:}}}!}}title={{{title|{{{titulo|{{{título|{{{titolo|}}}|}}}|}}}|}}}{{{Title|}}}
 
}}{{{{{|safesubst:}}}#if:{{{trans_title|{{{trad_titulo|{{{titolotradotto|}}}}}}|}}}
 
  |{{{{{|safesubst:}}}!}}trans_title={{{trans_title|{{{trad_titulo|{{{titolotradotto|}}}}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{url|}}}{{{URL|}}}
 
  |{{{{{|safesubst:}}}!}}url={{{url|}}}{{{URL|}}}
 
}}{{{{{|safesubst:}}}#if:{{{chapter|{{{capitolo|{{{contribution|{{{contributo|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}chapter={{{chapter|{{{capitolo|{{{contribution|{{{contributo|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{chapterurl|{{{urlcapitolo|{{{urlcontributo|{{{url_capitolo|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}chapterurl={{{chapterurl|{{{urlcapitolo|{{{urlcontributo|{{{url_capitolo|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{last|{{{apellido|{{{apellidos|{{{último|{{{cognome|}}}|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}last={{{last|{{{apellido|{{{apellidos|{{{último|{{{cognome|}}}|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{first|{{{nombre|{{{nome|{{{primero|{{{name1|}}}|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}first={{{first|{{{nombre|{{{nome|{{{primero|{{{name1|}}}|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{last2|{{{apellido2|{{{apellidos2|{{{último2|{{{cognome2|}}}|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}last2={{{last2|{{{apellido2|{{{apellidos2|{{{último2|{{{cognome2|}}}|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{first2|{{{nombre2|{{{nome2|{{{primero2|{{{name2|}}}|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}first2={{{first2|{{{nombre2|{{{nome2|{{{primero2|{{{name2|}}}|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{author|{{{autor|{{{autore|{{{name|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}author={{{author|{{{autor|{{{autore|{{{name|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}authorlink={{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{author2|{{{autor2|{{{autore2|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}author2={{{author2|{{{autor2|{{{autore2|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{authorlink2|{{{enlaceautor2|{{{wkautore2|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}authorlink2={{{authorlink2|{{{enlaceautor2|{{{wkautore2|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}coauthors={{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{editor|{{{editors|{{{curatori|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}editor={{{editor|{{{editors|{{{curatori|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{work|{{{obra|{{{opera|{{{Work|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}work={{{work|{{{obra|{{{opera|{{{Work|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{journal|{{{publicación|{{{giornale|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}journal={{{journal|{{{publicación|{{{giornale|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{publisher|{{{editorial|{{{curatore|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}publisher={{{publisher|{{{editorial|{{{curatore|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{location|{{{place|{{{ubicación|{{{città|}}}|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}location={{{location|{{{place|{{{ubicación|{{{città|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{agency|{{{editore|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}agency={{{agency|{{{editore|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{website|{{{sito|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}website={{{website|{{{sito|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{magazine|{{{periodico|{{{pubblicazione|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}magazine={{{magazine|{{{periodico|{{{pubblicazione|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{edition|}}}{{{edizione|}}}{{{ed|}}}
 
  |{{{{{|safesubst:}}}!}}edition={{{edition|}}}{{{edizione|}}}{{{ed|}}}
 
}}{{{{{|safesubst:}}}#if:{{{volume|}}}{{{vol|}}}
 
  |{{{{{|safesubst:}}}!}}volume={{{volume|}}}{{{vol|}}}
 
}}{{{{{|safesubst:}}}#if:{{{issue|}}}{{{number|}}}{{{numero|}}}
 
  |{{{{{|safesubst:}}}!}}issue={{{issue|}}}{{{number|}}}{{{numero|}}}
 
}}{{{{{|safesubst:}}}#if:{{{series|}}}{{{seria|}}}{{{serie|}}}
 
  |{{{{{|safesubst:}}}!}}series={{{series|}}}{{{seria|}}}{{{serie|}}}
 
}}{{{{{|safesubst:}}}#if:{{{page|{{{página|{{{pagina|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}page={{{page|{{{página|{{{pagina|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{pages|{{{páginas|{{{pagine|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}pages={{{pages|{{{páginas|{{{pagine|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{language|{{{idioma|{{{lingua|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}language={{{language|{{{idioma|{{{lingua|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{format|{{{formato|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}format={{{format|{{{formato|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{archive_url|}}}{{{archiveurl|}}}{{{urlarchivo|}}}{{{urlarchivio|}}}
 
  |{{{{{|safesubst:}}}!}}archiveurl={{{archive_url|}}}{{{archiveurl|}}}{{{urlarchivo|}}}{{{urlarchivio|}}}
 
}}{{{{{|safesubst:}}}#if:{{{archivedate|}}}{{{dataarchivio|}}}{{{fechaarchivo|}}}
 
  |{{{{{|safesubst:}}}!}}archivedate={{{archivedate|}}}{{{dataarchivio|}}}{{{fechaarchivo|}}}
 
}}{{{{{|safesubst:}}}#if:{{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}deadurl={{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{date|{{{fecha|{{{data|}}}|}}}|}}}
 
|{{{{{|safesubst:}}}!}}date={{{date|{{{fecha|{{{data|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{year|{{{año|{{{anno|}}}|}}}|}}}
 
|{{{{{|safesubst:}}}!}}year={{{year|{{{año|{{{anno|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{month|{{{mes|{{{mese|}}}|}}}|}}}
 
|{{{{{|safesubst:}}}!}}month={{{month|{{{mes|{{{mese|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{OrigYear|{{{añooriginal|{{{annooriginale|}}}|}}}|}}}
 
|{{{{{|safesubst:}}}!}}OrigYear={{{OrigYear|{{{añooriginal|{{{annooriginale|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{accessdate|{{{fechaacceso|{{{accesso|{{{dataaccesso|}}}|}}}|}}}|}}}
 
|{{{{{|safesubst:}}}!}}accessdate={{{accessdate|{{{fechaacceso|{{{accesso|{{{dataaccesso|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{subscription|{{{suscripción|{{{richiestasottoscrizione|}}}|}}}|}}}
 
|{{{{{|safesubst:}}}!}}subscription={{{subscription|{{{suscripción|{{{richiestasottoscrizione|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{others|{{{other|{{{altri|}}}|}}}|}}}
 
|{{{{{|safesubst:}}}!}}others={{{others|{{{other|{{{altri|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{editor|{{{editors|{{{curatore|{{{curatori|}}}|}}}|}}}|}}}
 
|{{{{{|safesubst:}}}!}}editors={{{editor|{{{editors|{{{curatore|{{{curatori|}}}|}}}|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{editor-last|{{{editor1-last|}}}|}}}
 
|{{{{{|safesubst:}}}!}}editor-last={{{editor-last|{{{editor1-last|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{editor-first|{{{editor1-first|}}}|}}}
 
|{{{{{|safesubst:}}}!}}editor-first={{{editor-first|{{{editor1-first|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{isbn|{{{ISBN|}}}|}}}
 
|{{{{{|safesubst:}}}!}}isbn={{{isbn|{{{ISBN|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{issn|{{{ISSN|}}}|}}}
 
|{{{{{|safesubst:}}}!}}issn={{{issn|{{{ISSN|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}}
 
|{{{{{|safesubst:}}}!}}doi={{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{pmid|{{{PMID|}}}|}}}
 
|{{{{{|safesubst:}}}!}}pmid={{{pmid|{{{PMID|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{oclc|{{{OCLC|}}}|}}}
 
|{{{{{|safesubst:}}}!}}oclc={{{oclc|{{{OCLC|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{id|{{{ID|}}}|}}}
 
|{{{{{|safesubst:}}}!}}id={{{id|{{{ID|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{quote|}}}{{{cita|{{{citazione|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}quote={{{quote|}}}{{{cita|{{{citazione|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{postscript|{{{puntofinale|}}}|}}}
 
  |{{{{{|safesubst:}}}!}}postscript={{{postscript|{{{puntofinale|}}}|}}}
 
}}{{{{{|safesubst:}}}#if:{{{ref|{{{cid|}}}|}}}
 
|{{{{{|safesubst:}}}!}}ref={{{ref|{{{cid|}}}|}}}
 
}}<noinclude><!--endif {ref}
 
--></noinclude>}}<noinclude><!--end {cite_web}--></noinclude>
 
}}<noinclude><!--endif not subst
 
------------------------------------------------------------
 
--NOTES:
 
--
 
-- Note A1: This template formats a wp:CS1 citation from any
 
--      combination of Spanish/Italian or English parameter
 
--      names, with date month names translated into English.
 
--      See: [:it:Template:Cita_news], [:es:Plantilla:Cita_web].
 
--
 
-- Note D2: Any dates are translated from Spanish or Italian
 
--      using the rapid Module:String function replace() 12x
 
--      nested +12 deep for the 12 month names. It is very
 
--      common for {cita_web} cites to use Spanish months,
 
--      and so the translation is worth the overhead. Also
 
--      any blank dates skip the translation (as faster).
 
--      Any English months in dates will pass unfiltered.
 
--
 
-- Note L3: The main Lua script is Module:Citation/CS1, plus
 
--      others (Module:Citation/CS1/Configuration, etc.), but
 
--      this template uses {cite_web} to access Lua.
 
--
 
-- Note N4: The subst'ed markup as {cite_web} contains no
 
--      spaces between parameters, and "<nowiki/>" tags
 
--      are not used because they would be stored in the
 
--      [[COinS]] metadata generated by {cite_web}.
 
--
 
------------------------------------------------------------
 
-19Apr2014 Changed redirect to handle Spanish parameters.
 
-19Apr2014 Put HISTORY comments to log major changes.
 
-20Apr2014 Put NOTES comments to explain template operation.
 
-20Apr2014 Translated Spanish dates/month names to English.
 
-20Apr2014 Use {cite_web} as #invoke cannot alter parameters.
 
-21Apr2014 Changed Spanish date format to "de_<month>_de".
 
-21Apr2014 Filters language/idioma "español" or "italiano".
 
-06May2014 Expanded to handle Italian parameters/dates.
 
-06May2014 Autotranslate Spanish dates for month or full date.
 
-15May2014 Expanded for wp:subst to put {cite_web} markup.
 
-16May2014 Added "primero=" & "último=" for last/first.
 
-16May2014 Added "publicación=" & "giornale=" as "journal=".
 
-16May2014 Added "edizione=" & "ed=" as "edition=".
 
-16May2014 Added "curatore=" & "curatori=" as "editors=".
 
-16May2014 Added "etiquetadoi=" & "doilabel=" with "doi=".
 
-18May2014 Added "richiestasottoscrizione=" as subscription.
 
-->
 
{{documentation|content=
 
The '''[[Template:Cita_web]]''' handles Spanish-language (or Italian) parameters for {{tl|cite web}}, as in the [[Spanish Wikipedia]] template [[:es:Plantilla:Cita_web]], or with Italian "titolo=" for title. As of April 2013, {cite_web} would issue a red-error message for each unrecognized Spanish or Italian parameter as "{{color|#CC0000|Unknown parameter <code>&#124;xx{{{=|}}}</code> ignored...}}" and so {cita_web} here simply switches any Spanish/Italian parameter into the English equivalent,
 
and translates any date/month names into English,
 
until those cites can be hand-translated into English where needed.
 
 
 
Due to translation of dates/months, the runtime speed of the template is about 20-25 per second, and usage should be limited to about 150 {cita_web} per page, depending on performance needs.
 
 
 
The template can be [[wp:subst]]'ed in the form <nowiki>{{subst:cita_web|...}}</nowiki> to generate the equivalent markup as "<nowiki>{{cite&nbsp;web|...}}</nowiki>" but not inside [[wp:reftag]]s &lt;ref>...&lt;/ref> which must be removed before subst'ing and then restored during another edit to a page.
 
 
 
== List of parameter names ==
 
The major parameter keywords are listed below.
 
:{{{!}} class=wikitable cellspacing=2 <!--
 
        --> style="text-align:center; text-size:100%"
 
! colspan=3 {{!}} {{ns|9}}List of parameters
 
{{!}}-
 
! Italian !! Spanish !! English
 
{{!}}-
 
{{!}} titolo {{!!}} título {{!!}} title
 
{{!}}-
 
{{!}} autore {{!!}} autor {{!!}} author
 
{{!}}-
 
{{!}} wkautore {{!!}} enlaceautor {{!!}} authorlink
 
{{!}}-
 
{{!}} cognome {{!!}} apellido / último {{!!}} last
 
{{!}}-
 
{{!}} nome {{!!}} nombre / primero {{!!}} first
 
{{!}}-
 
{{!}} coautori {{!!}} coautores {{!!}} coauthors
 
{{!}}-
 
{{!}} opera {{!!}} obra {{!!}} work
 
{{!}}-
 
{{!}} giornale {{!!}} publicación {{!!}} journal
 
{{!}}-
 
{{!}} pubblicazione {{!!}} periodico {{!!}} magazine
 
{{!}}-
 
{{!}} editore {{!!}} --- {{!!}} agency
 
{{!}}-
 
{{!}} curatore {{!!}} editorial {{!!}} publisher
 
{{!}}-
 
{{!}} città {{!!}} ubicación {{!!}} location
 
{{!}}-
 
{{!}} editori {{!!}} --- {{!!}} editors
 
{{!}}-
 
{{!}} data {{!!}} fecha {{!!}} date
 
{{!}}-
 
{{!}} accesso / dataaccesso {{!!}} fechaacceso {{!!}} accessdate
 
{{!}}-
 
{{!}} anno {{!!}} año {{!!}} year
 
{{!}}-
 
{{!}} mese {{!!}} mes {{!!}} month
 
{{!}}-
 
{{!}} formato {{!!}} formato {{!!}} format
 
{{!}}-
 
{{!}} tipo {{!!}} --- {{!!}} type
 
{{!}}-
 
{{!}} volume / vol {{!!}} volume {{!!}} volume
 
{{!}}-
 
{{!}} serie {{!!}} seria {{!!}} series
 
{{!}}-
 
{{!}} edizione / ed {{!!}} --- {{!!}} edition
 
{{!}}-
 
{{!}} numero {{!!}} numero {{!!}} issue
 
{{!}}-
 
{{!}} lingua {{!!}} idioma {{!!}} language
 
{{!}}-
 
{{!}} id {{!!}} id {{!!}} id
 
{{!}}-
 
{{!}} cid {{!!}} --- {{!!}} ref
 
{{!}}-
 
{{!}} pagina {{!!}} página {{!!}} page
 
{{!}}-
 
{{!}} pagine {{!!}} páginas {{!!}} pages
 
{{!}}-
 
{{!}}richiestasottoscrizione{{!!}} suscripción {{!!}} subscription {{ns}}
 
{{!}}-
 
{{!}} url {{!!}} url {{!!}} url
 
{{!}}-
 
{{!}} urlarchivio {{!!}} urlarchivo {{!!}} archiveurl
 
{{!}}-
 
{{!}} dataarchivio {{!!}} fechaarchivo {{!!}} archivedate
 
{{!}}-
 
{{!}} urlmorto {{!!}} enlaceroto {{!!}} deadurl
 
{{!}}-
 
{{!}} doi {{!!}} doi {{!!}} doi
 
{{!}}-
 
{{!}} --- {{!!}} etiquetadoi /<br>doilabel {{!!}} ---
 
{{!}}-
 
{{!}} citazione {{!!}} cita {{!!}} quote
 
{{!}}}
 
The various Italian parameters are listed on the [[Italian Wikipedia]] in [[Lua script]] [[:it:Modulo:Citazione/Configurazione]] from June 2013.
 
 
 
== Examples ==
 
Below are some examples using {cita_web}.
 
 
 
:* <nowiki>{{cita web/sandbox |autore=Gianni Doe |titolo=Notizia italiano |url=http://x.com |data=7 maggio 2012 |lingua=italiano}}</nowiki><!--
 
  --><br>&rarr; {{cita web/sandbox |autore=Gianni Doe |titolo=Notizia italiano |url=http://x.com |data=7 maggio 2012 |lingua=italiano}}
 
 
 
:* <nowiki>{{cita web/sandbox |url=http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014}}</nowiki><!--
 
  --><br>&rarr; {{cita web/sandbox |url=http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014}}<!--
 
  --> (example from "[[Laibach&nbsp;(band)]]")
 
:* <nowiki>{{cita web/sandbox |url=http://www.sanremonews.it/2013/02/17/leggi-notizia/argomenti/festival-di-sanremo/articolo/sanremo-2013-la-classifica-finale-la-giuria-di-qualita-era-per-elio-malika-e-gualazzi.html#.USqNklf-lyJ |titolo=Sanremo 2013: la classifica finale, la giuria di qualità era per Elio, Malika e Gualazzi|editorial=sanremonews.it|name=Stefano Michero|date=17 February 2013}}</nowiki><!--
 
  --><br>&rarr; {{cita web/sandbox |url=http://www.sanremonews.it/2013/02/17/leggi-notizia/argomenti/festival-di-sanremo/articolo/sanremo-2013-la-classifica-finale-la-giuria-di-qualita-era-per-elio-malika-e-gualazzi.html#.USqNklf-lyJ|title=Sanremo 2013: la classifica finale, la giuria di qualità era per Elio, Malika e Gualazzi|editorial=sanremonews.it|name=Stefano Michero|date=17 February 2013}}
 
 
 
== List of month names ==
 
Below is a table of month names. Note how Spanish dates use the form "7 de <month> de 2014" with words "''de''" (of) around the month name.
 
:{{{!}} class=wikitable cellspacing=2 <!--
 
        --> style="text-align:center; text-size:82%"
 
! colspan=3 {{!}} List of month names
 
{{!}}-
 
! Italian !! Spanish !! English
 
{{!}}-
 
{{!}} gennaio {{!!}} enero {{!!}} January
 
{{!}}-
 
{{!}} febbraio {{!!}} febrero {{!!}} February
 
{{!}}-
 
{{!}} marzo  {{!!}} marzo {{!!}} March
 
{{!}}-
 
{{!}} aprile  {{!!}} abril {{!!}} April
 
{{!}}-
 
{{!}} maggio  {{!!}} mayo {{!!}} May
 
{{!}}-
 
{{!}} giugno  {{!!}} junio {{!!}} June
 
{{!}}-
 
{{!}} luglio  {{!!}} julio {{!!}} July
 
{{!}}-
 
{{!}} agosto  {{!!}} agosto {{!!}} August
 
{{!}}-
 
{{!}} settembre &nbsp; {{!!}} septiembre &nbsp;{{!!}} September
 
{{!}}-
 
{{!}} ottobre {{!!}} octubre {{!!}} October
 
{{!}}-
 
{{!}} novembre {{!!}} noviembre {{!!}} November
 
{{!}}-
 
{{!}} dicembre {{!!}} diciembre {{!!}} December
 
{{!}}-
 
{{!}}}
 
== Performance considerations ==
 
The Template:Cita_web runs 20-25 per second, but users should translate to {{tl|cite web}}, as time permits. The translations of {cita_web} would typically require expertise in Italian (or Spanish), plus knowlege of the [[Italian Wikipedia]] cites or [[Spanish Wikipedia]] ''plantilla'' (template), plus knowlege of parameters of the enwiki [[Template:Cite_web]]. The parameter list and months, listed above, can be used to assist translation of parameter names and dates.
 
 
 
Care should be taken to correctly hand-translate cite data into English; otherwise, the auto-translation of parameters is likely to be more accurate.
 
 
 
== See also ==
 
* [[Template:Cita_news]] – the equivalent template of {{tl|cite news}}
 
 
 
}}
 
 
 
[[Category:Citation Style 1 meta-templates|W]]
 
</noinclude>
 

Latest revision as of 14:00, 10 February 2018