Difference between revisions of "Template:Cita web/sandbox"
imported>Wikid77 (added "trans_title="; expanded with section for wp:subst to put {cite_web} markup.) |
imported>Wikid77 (added "primero=" & "último=" for last/first; added publicación/giornale as "journal=", "edizione" as edition, "curatore" as editors, "mese" as month, "etiquetadoi=" & "doilabel=" with "doi=" etc.) |
||
| Line 8: | Line 8: | ||
============================================ Live format | ============================================ Live format | ||
-->{{cite web | -->{{cite web | ||
| − | | url={{{url|}}} | + | | url={{{url|}}}{{{URL|}}} |
| urltrad={{{urltrad|}}} | | urltrad={{{urltrad|}}} | ||
| deadurl={{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}} | | deadurl={{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}} | ||
| Line 14: | Line 14: | ||
--><noinclude>El Título</noinclude><includeonly><!-- | --><noinclude>El Título</noinclude><includeonly><!-- | ||
-->[missing title]</includeonly>}}}|}}}|}}} | -->[missing title]</includeonly>}}}|}}}|}}} | ||
| − | | trans_title={{{trans_title|{{{trad_titulo|}}}|}}} | + | | trans_title={{{trans_title|{{{trad_titulo|{{{titolotradotto|}}}}}}|}}} |
| author={{{author|{{{autor|{{{autore|{{{name|<!-- | | author={{{author|{{{autor|{{{autore|{{{name|<!-- | ||
-->}}}|}}}|}}}|}}} | -->}}}|}}}|}}}|}}} | ||
| author2={{{author2|{{{autor2|{{{autore2|}}}|}}}|}}} | | author2={{{author2|{{{autor2|{{{autore2|}}}|}}}|}}} | ||
| − | | last={{{last|{{{apellido|{{{cognome|}}}|}}}|}}} | + | | last={{{last|{{{apellido|{{{apellidos|{{{último|{{{cognome<!-- |
| − | | first={{{first|{{{nombre|{{{nome|}}}|}}}|}}} | + | -->|}}}|}}}|}}}|}}}|}}} |
| + | | first={{{first|{{{nombre|{{{nome|{{{primero|{{{name1<!-- | ||
| + | -->|}}}|}}}|}}}|}}}|}}} | ||
| authorlink={{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}} | | authorlink={{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}} | ||
| coauthors={{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}} | | coauthors={{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}} | ||
| Line 25: | Line 27: | ||
| subscription={{{subscription|{{{suscripción|}}}|}}} | | subscription={{{subscription|{{{suscripción|}}}|}}} | ||
| format={{{format|{{{formato|}}}|}}} | | format={{{format|{{{formato|}}}|}}} | ||
| − | | work={{{work|{{{obra|{{{Work|{{{ | + | | type={{{type|{{{tipo|}}}|}}} |
| − | + | | work={{{work|{{{obra|{{{Work|{{{opera|}}}|}}}|}}}|}}} | |
| + | | journal={{{journal|{{{publicación|{{{giornale|}}}|}}}|}}} | ||
| editor={{{editor|{{{editors|}}}|}}} | | editor={{{editor|{{{editors|}}}|}}} | ||
| − | | publisher={{{publisher|{{{editorial|{{{ | + | | publisher={{{publisher|{{{editorial|{{{editore|}}}|}}}|}}} |
| agency={{{agency|{{{editore|}}}|}}} | | agency={{{agency|{{{editore|}}}|}}} | ||
| − | | location={{{location|{{{place|{{{ubicación|}}}|}}}|}}} | + | | 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|}}}|}}}|}}} | | page={{{page|{{{página|{{{pagina|}}}|}}}|}}} | ||
| pages={{{pages|{{{páginas|{{{pagine|}}}|}}}|}}} | | pages={{{pages|{{{páginas|{{{pagine|}}}|}}}|}}} | ||
| Line 117: | Line 128: | ||
-->|dicembre|December}} | -->|dicembre|December}} | ||
}}<!--endif data--> | }}<!--endif data--> | ||
| + | | OrigYear={{{OrigYear|{{{añooriginal|{{{annooriginale|}}}|}}}|}}} | ||
| year={{{year|{{{año|{{{anno|}}}|}}}|}}} | | year={{{year|{{{año|{{{anno|}}}|}}}|}}} | ||
| − | | month={{#if: {{{month|{{{mes|}}}|}}} | + | | 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|{{ | ||
| + | #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|{{ | ||
| Line 144: | Line 183: | ||
-->|noviembre|November}}<!-- | -->|noviembre|November}}<!-- | ||
-->|diciembre|December}} | -->|diciembre|December}} | ||
| + | }}<!--endif-else titolo--> | ||
}}<!--endif month/mes--> | }}<!--endif month/mes--> | ||
| accessdate={{#if: {{{accessdate|{{{fechaacceso|}}}|}}} | | accessdate={{#if: {{{accessdate|{{{fechaacceso|}}}|}}} | ||
| Line 171: | Line 211: | ||
-->|de noviembre de|November}}<!-- | -->|de noviembre de|November}}<!-- | ||
-->|de diciembre de|December}}{{ | -->|de diciembre de|December}}{{ | ||
| − | #if: {{{accesso|}}} | + | #if: {{{accesso|}}}{{{dataaccesso|}}} |
|{{#invoke:String|replace|{{ | |{{#invoke:String|replace|{{ | ||
#invoke:String|replace|{{ | #invoke:String|replace|{{ | ||
| Line 184: | Line 224: | ||
#invoke:String|replace|{{ | #invoke:String|replace|{{ | ||
#invoke:String | #invoke:String | ||
| − | + | |replace|{{{accesso|}}}{{{dataaccesso|}}}<!-- | |
-->|gennaio|January}}<!-- | -->|gennaio|January}}<!-- | ||
-->|febbraio|February}}<!-- | -->|febbraio|February}}<!-- | ||
| Line 198: | Line 238: | ||
-->|dicembre|December}} | -->|dicembre|December}} | ||
}}<!--endif accesso-->{{ | }}<!--endif accesso-->{{ | ||
| − | #if: {{{añoacceso|}}}| {{{añoacceso}}} }} | + | #if: {{{añoacceso|}}}{{{annoaccesso|}}} |
| − | | {{#if: {{{añoacceso|}}}|{{{añoacceso}}} }} | + | |  {{{añoacceso|}}}{{{annoaccesso|}}} }} |
| + | | {{#if: {{{añoacceso|}}}{{{annoaccesso|}}} | ||
| + | | {{{añoacceso|}}}{{{annoaccesso|}}} }} | ||
}}<!--endif accessdate/fechaacceso--> | }}<!--endif accessdate/fechaacceso--> | ||
| language={{ | | language={{ | ||
| Line 208: | Line 250: | ||
-->}}}|}}}|}}}|}}} | -->}}}|}}}|}}}|}}} | ||
}}<!--end switch--> | }}<!--end switch--> | ||
| − | | doi={{{doi|{{{DOI|}}}|}}} | + | | doi={{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}} |
| id={{{id|{{{ID|{{{cid|}}}|}}}|}}} | | id={{{id|{{{ID|{{{cid|}}}|}}}|}}} | ||
| archiveurl={{{archiveurl|{{{archive url|{{{urlarchivo|{{{urlarchivio|<!-- | | archiveurl={{{archiveurl|{{{archive url|{{{urlarchivo|{{{urlarchivio|<!-- | ||
| Line 215: | Line 257: | ||
-->}}}|}}}|}}} | -->}}}|}}}|}}} | ||
| quote={{{quote|{{{cita|{{{citazione|}}}|}}}|}}} | | quote={{{quote|{{{cita|{{{citazione|}}}|}}}|}}} | ||
| + | | postscript={{{postscript|{{{puntofinale|}}}|}}} | ||
<!--------------------------------- More parameters --> | <!--------------------------------- More parameters --> | ||
| − | | last2={{{last2|{{{apellido2|{{{cognome2|}}}|}}}|}}} | + | | last2={{{last2|{{{apellido2|{{{ultimo2|{{{cognome2|}}}|}}}|}}}|}}} |
| − | | first2={{{first2|{{{nombre2|{{{nome2|}}}|}}}|}}} | + | | first2={{{first2|{{{nombre2|{{{primero2|{{{nome2|}}}|}}}|}}}|}}} |
| authorlink2={{{authorlink2|{{{enlaceautor2|{{{wkautore2|<!-- | | authorlink2={{{authorlink2|{{{enlaceautor2|{{{wkautore2|<!-- | ||
-->}}}|}}}|}}} | -->}}}|}}}|}}} | ||
| − | |||
| issn={{{issn|{{{ISSN|}}}|}}} | | issn={{{issn|{{{ISSN|}}}|}}} | ||
| isbn={{{isbn|{{{ISBN|}}}|}}} | | isbn={{{isbn|{{{ISBN|}}}|}}} | ||
| − | |||
| editor-last={{{editor-last|{{{editor1-last|}}}|}}} | | editor-last={{{editor-last|{{{editor1-last|}}}|}}} | ||
| editor-first={{{editor-first|{{{editor1-first|}}}|}}} | | editor-first={{{editor-first|{{{editor1-first|}}}|}}} | ||
| website={{{website|{{{sito|}}}|}}} | | website={{{website|{{{sito|}}}|}}} | ||
| − | | magazine={{{magazine|}}} | + | | magazine={{{magazine|{{{periodico|{{{pubblicazione|}}}|}}}|}}} |
}}<!--end {cite_web} | }}<!--end {cite_web} | ||
========================================== Susbst format | ========================================== Susbst format | ||
| Line 234: | Line 275: | ||
| {{cite web{{{{{|safesubst:}}}#if:{{{title|{{{titulo|{{{título|{{{titolo|}}}|}}}|}}}|}}}{{{Title|}}} | | {{cite web{{{{{|safesubst:}}}#if:{{{title|{{{titulo|{{{título|{{{titolo|}}}|}}}|}}}|}}}{{{Title|}}} | ||
|{{{{{|safesubst:}}}!}}title={{{title|{{{titulo|{{{título|{{{titolo|}}}|}}}|}}}|}}}{{{Title|}}} | |{{{{{|safesubst:}}}!}}title={{{title|{{{titulo|{{{título|{{{titolo|}}}|}}}|}}}|}}}{{{Title|}}} | ||
| − | }}{{{{{|safesubst:}}}#if:{{{trans_title|{{{trad_titulo|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{trans_title|{{{trad_titulo|{{{titolotradotto|}}}}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}trans_title={{{trans_title|{{{trad_titulo|}}}|}}} | + | |{{{{{|safesubst:}}}!}}trans_title={{{trans_title|{{{trad_titulo|{{{titolotradotto|}}}}}}|}}} |
| − | }}{{{{{|safesubst:}}}#if:{{{url|}}} | + | }}{{{{{|safesubst:}}}#if:{{{url|}}}{{{URL|}}} |
| − | |{{{{{|safesubst:}}}!}}url={{{url}}} | + | |{{{{{|safesubst:}}}!}}url={{{url|}}}{{{URL|}}} |
| − | }}{{{{{|safesubst:}}}#if:{{{last|{{{apellido|{{{cognome|}}}|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{chapter|{{{capitolo|{{{contribution|{{{contributo|}}}|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}last={{{last|{{{apellido|{{{cognome|}}}|}}}|}}} | + | |{{{{{|safesubst:}}}!}}chapter={{{chapter|{{{capitolo|{{{contribution|{{{contributo|}}}|}}}|}}}|}}} |
| − | }}{{{{{|safesubst:}}}#if:{{{first|{{{nombre|{{{nome|}}}|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{chapterurl|{{{urlcapitolo|{{{urlcontributo|{{{url_capitolo|}}}|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}first={{{first|{{{nombre|{{{nome|}}}|}}}|}}} | + | |{{{{{|safesubst:}}}!}}chapterurl={{{chapterurl|{{{urlcapitolo|{{{urlcontributo|{{{url_capitolo|}}}|}}}|}}}|}}} |
| − | }}{{{{{|safesubst:}}}#if:{{{last2|{{{apellido2|{{{cognome2|}}}|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{last|{{{apellido|{{{apellidos|{{{último|{{{cognome|}}}|}}}|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}last2={{{last2|{{{apellido2|{{{cognome2|}}}|}}}|}}} | + | |{{{{{|safesubst:}}}!}}last={{{last|{{{apellido|{{{apellidos|{{{último|{{{cognome|}}}|}}}|}}}|}}}|}}} |
| − | }}{{{{{|safesubst:}}}#if:{{{first2|{{{nombre2|{{{nome2|}}}|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{first|{{{nombre|{{{nome|{{{primero|{{{name1|}}}|}}}|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}first2={{{first2|{{{nombre2|{{{nome2|}}}|}}}|}}} | + | |{{{{{|safesubst:}}}!}}first={{{first|{{{nombre|{{{nome|{{{primero|{{{name1|}}}|}}}|}}}|}}}|}}} |
| − | }}{{{{{|safesubst:}}}#if:{{{author|{{{autor|{{{autore|}}}|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{last2|{{{apellido2|{{{apellidos2|{{{último2|{{{cognome2|}}}|}}}|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}author={{{author|{{{autor|{{{autore|}}}|}}}|}}} | + | |{{{{{|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:}}}#if:{{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}authorlink={{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}} | |{{{{{|safesubst:}}}!}}authorlink={{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}} | ||
| Line 256: | Line 301: | ||
}}{{{{{|safesubst:}}}#if:{{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}coauthors={{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}} | |{{{{{|safesubst:}}}!}}coauthors={{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}} | ||
| − | }}{{{{{|safesubst:}}}#if:{{{work|{{{obra|{{{ | + | }}{{{{{|safesubst:}}}#if:{{{editor|{{{editors|{{{curatori|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}work={{{work|{{{obra|{{{ | + | |{{{{{|safesubst:}}}!}}editor={{{editor|{{{editors|{{{curatori|}}}|}}}|}}} |
| − | }}{{{{{|safesubst:}}}#if:{{{journal|{{{ | + | }}{{{{{|safesubst:}}}#if:{{{work|{{{obra|{{{opera|{{{Work|}}}|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}journal={{{journal|{{{ | + | |{{{{{|safesubst:}}}!}}work={{{work|{{{obra|{{{opera|{{{Work|}}}|}}}|}}}|}}} |
| + | }}{{{{{|safesubst:}}}#if:{{{journal|{{{publicación|{{{giornale|}}}|}}}|}}} | ||
| + | |{{{{{|safesubst:}}}!}}journal={{{journal|{{{publicación|{{{giornale|}}}|}}}|}}} | ||
}}{{{{{|safesubst:}}}#if:{{{publisher|{{{editorial|{{{curatore|}}}|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{publisher|{{{editorial|{{{curatore|}}}|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}publisher={{{publisher|{{{editorial|{{{curatore|}}}|}}}|}}} | |{{{{{|safesubst:}}}!}}publisher={{{publisher|{{{editorial|{{{curatore|}}}|}}}|}}} | ||
| − | }}{{{{{|safesubst:}}}#if:{{{location|{{{place|{{{ubicación|}}}|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{location|{{{place|{{{ubicación|{{{città|}}}|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}location={{{location|{{{place|{{{ubicación|}}}|}}}|}}} | + | |{{{{{|safesubst:}}}!}}location={{{location|{{{place|{{{ubicación|{{{città|}}}|}}}|}}}|}}} |
}}{{{{{|safesubst:}}}#if:{{{agency|{{{editore|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{agency|{{{editore|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}agency={{{agency|{{{editore|}}}|}}} | |{{{{{|safesubst:}}}!}}agency={{{agency|{{{editore|}}}|}}} | ||
| − | }}{{{{{|safesubst:}}}#if:{{{volume|}}}{{{ | + | }}{{{{{|safesubst:}}}#if:{{{website|{{{sito|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}volume={{{volume|}}}{{{ | + | |{{{{{|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:}}}#if:{{{issue|}}}{{{number|}}}{{{numero|}}} | ||
|{{{{{|safesubst:}}}!}}issue={{{issue|}}}{{{number|}}}{{{numero|}}} | |{{{{{|safesubst:}}}!}}issue={{{issue|}}}{{{number|}}}{{{numero|}}} | ||
| − | }}{{{{{|safesubst:}}}#if:{{{series|}}}{{{seria|}}} | + | }}{{{{{|safesubst:}}}#if:{{{series|}}}{{{seria|}}}{{{serie|}}} |
| − | |{{{{{|safesubst:}}}!}}series={{{series|}}}{{{seria|}}} | + | |{{{{{|safesubst:}}}!}}series={{{series|}}}{{{seria|}}}{{{serie|}}} |
}}{{{{{|safesubst:}}}#if:{{{page|{{{página|{{{pagina|}}}|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{page|{{{página|{{{pagina|}}}|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}page={{{page|{{{página|{{{pagina|}}}|}}}|}}} | |{{{{{|safesubst:}}}!}}page={{{page|{{{página|{{{pagina|}}}|}}}|}}} | ||
| Line 286: | Line 339: | ||
}}{{{{{|safesubst:}}}#if:{{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}deadurl={{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}} | |{{{{{|safesubst:}}}!}}deadurl={{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}} | ||
| − | |||
| − | |||
}}{{{{{|safesubst:}}}#if:{{{date|{{{fecha|{{{data|}}}|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{date|{{{fecha|{{{data|}}}|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}date={{{date|{{{fecha|{{{data|}}}|}}}|}}} | |{{{{{|safesubst:}}}!}}date={{{date|{{{fecha|{{{data|}}}|}}}|}}} | ||
}}{{{{{|safesubst:}}}#if:{{{year|{{{año|{{{anno|}}}|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{year|{{{año|{{{anno|}}}|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}year={{{year|{{{año|{{{anno|}}}|}}}|}}} | |{{{{{|safesubst:}}}!}}year={{{year|{{{año|{{{anno|}}}|}}}|}}} | ||
| − | }}{{{{{|safesubst:}}}#if:{{{month|{{{mes|{{{ | + | }}{{{{{|safesubst:}}}#if:{{{month|{{{mes|{{{mese|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}month={{{month|{{{mes|{{{ | + | |{{{{{|safesubst:}}}!}}month={{{month|{{{mes|{{{mese|}}}|}}}|}}} |
| − | }}{{{{{|safesubst:}}}#if:{{{accessdate|{{{fechaacceso|{{{accesso|}}}|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{OrigYear|{{{añooriginal|{{{annooriginale|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}accessdate={{{accessdate|{{{fechaacceso|{{{accesso|}}}|}}}|}}} | + | |{{{{{|safesubst:}}}!}}OrigYear={{{OrigYear|{{{añooriginal|{{{annooriginale|}}}|}}}|}}} |
| + | }}{{{{{|safesubst:}}}#if:{{{accessdate|{{{fechaacceso|{{{accesso|{{{dataaccesso|}}}|}}}|}}}|}}} | ||
| + | |{{{{{|safesubst:}}}!}}accessdate={{{accessdate|{{{fechaacceso|{{{accesso|{{{dataaccesso|}}}|}}}|}}}|}}} | ||
}}{{{{{|safesubst:}}}#if:{{{subscription|{{{suscripción|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{subscription|{{{suscripción|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}subscription={{{subscription|{{{suscripción|}}}|}}} | |{{{{{|safesubst:}}}!}}subscription={{{subscription|{{{suscripción|}}}|}}} | ||
}}{{{{{|safesubst:}}}#if:{{{others|{{{other|{{{altri|}}}|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{others|{{{other|{{{altri|}}}|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}others={{{others|{{{other|{{{altri|}}}|}}}|}}} | |{{{{{|safesubst:}}}!}}others={{{others|{{{other|{{{altri|}}}|}}}|}}} | ||
| − | }}{{{{{|safesubst:}}}#if:{{{ | + | }}{{{{{|safesubst:}}}#if:{{{editor|{{{editors|{{{curatore|{{{curatori|}}}|}}}|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}} | + | |{{{{{|safesubst:}}}!}}editors={{{editor|{{{editors|{{{curatore|{{{curatori|}}}|}}}|}}}|}}} |
}}{{{{{|safesubst:}}}#if:{{{editor-last|{{{editor1-last|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{editor-last|{{{editor1-last|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}editor-last={{{editor-last|{{{editor1-last|}}}|}}} | |{{{{{|safesubst:}}}!}}editor-last={{{editor-last|{{{editor1-last|}}}|}}} | ||
| Line 310: | Line 363: | ||
}}{{{{{|safesubst:}}}#if:{{{issn|{{{ISSN|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{issn|{{{ISSN|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}issn={{{issn|{{{ISSN|}}}|}}} | |{{{{{|safesubst:}}}!}}issn={{{issn|{{{ISSN|}}}|}}} | ||
| − | }}{{{{{|safesubst:}}}#if:{{{doi|{{{DOI|}}}|}}} | + | }}{{{{{|safesubst:}}}#if:{{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}} |
| − | |{{{{{|safesubst:}}}!}}doi={{{doi|{{{DOI|}}}|}}} | + | |{{{{{|safesubst:}}}!}}doi={{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}} |
}}{{{{{|safesubst:}}}#if:{{{pmid|{{{PMID|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{pmid|{{{PMID|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}pmid={{{pmid|{{{PMID|}}}|}}} | |{{{{{|safesubst:}}}!}}pmid={{{pmid|{{{PMID|}}}|}}} | ||
| Line 318: | Line 371: | ||
}}{{{{{|safesubst:}}}#if:{{{id|{{{ID|}}}|}}} | }}{{{{{|safesubst:}}}#if:{{{id|{{{ID|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}id={{{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:}}}#if:{{{ref|{{{cid|}}}|}}} | ||
|{{{{{|safesubst:}}}!}}ref={{{ref|{{{cid|}}}|}}} | |{{{{{|safesubst:}}}!}}ref={{{ref|{{{cid|}}}|}}} | ||
| Line 359: | Line 416: | ||
-06May2014 Autotranslate Spanish dates for month or full date. | -06May2014 Autotranslate Spanish dates for month or full date. | ||
-15May2014 Expanded for wp:subst to put {cite_web} markup. | -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=". | ||
--> | --> | ||
{{documentation|content= | {{documentation|content= | ||
| Line 371: | Line 433: | ||
== List of parameter names == | == List of parameter names == | ||
The major parameter keywords are listed below. | The major parameter keywords are listed below. | ||
| − | :{{{!}} class=wikitable cellspacing= | + | :{{{!}} class=wikitable cellspacing=2 <!-- |
| + | --> style="text-align:center; text-size:100%" | ||
! colspan=3 {{!}} List of parameters | ! colspan=3 {{!}} List of parameters | ||
{{!}}- | {{!}}- | ||
| Line 381: | Line 444: | ||
{{!}}- | {{!}}- | ||
{{!}} wkautore {{!!}} enlaceautor {{!!}} authorlink | {{!}} wkautore {{!!}} enlaceautor {{!!}} authorlink | ||
| + | {{!}}- | ||
| + | {{!}} cognome {{!!}} apellido / último {{!!}} last | ||
| + | {{!}}- | ||
| + | {{!}} nome {{!!}} nombre / primero {{!!}} first | ||
{{!}}- | {{!}}- | ||
{{!}} coautori {{!!}} coautores {{!!}} coauthors | {{!}} coautori {{!!}} coautores {{!!}} coauthors | ||
{{!}}- | {{!}}- | ||
| − | {{!}} | + | {{!}} opera {{!!}} obra {{!!}} work |
| + | {{!}}- | ||
| + | {{!}} giornale {{!!}} publicación {{!!}} journal | ||
| + | {{!}}- | ||
| + | {{!}} pubblicazione {{!!}} periodico {{!!}} magazine | ||
{{!}}- | {{!}}- | ||
{{!}} editore {{!!}} --- {{!!}} agency | {{!}} editore {{!!}} --- {{!!}} agency | ||
{{!}}- | {{!}}- | ||
{{!}} curatore {{!!}} editorial {{!!}} publisher | {{!}} curatore {{!!}} editorial {{!!}} publisher | ||
| + | {{!}}- | ||
| + | {{!}} città {{!!}} ubicación {{!!}} location | ||
| + | {{!}}- | ||
| + | {{!}} editori {{!!}} --- {{!!}} editors | ||
{{!}}- | {{!}}- | ||
{{!}} data {{!!}} fecha {{!!}} date | {{!}} data {{!!}} fecha {{!!}} date | ||
| Line 395: | Line 470: | ||
{{!}}- | {{!}}- | ||
{{!}} anno {{!!}} año {{!!}} year | {{!}} anno {{!!}} año {{!!}} year | ||
| + | {{!}}- | ||
| + | {{!}} mese {{!!}} mes {{!!}} month | ||
{{!}}- | {{!}}- | ||
{{!}} formato {{!!}} formato {{!!}} format | {{!}} formato {{!!}} formato {{!!}} format | ||
| + | {{!}}- | ||
| + | {{!}} tipo {{!!}} --- {{!!}} type | ||
| + | {{!}}- | ||
| + | {{!}} volume / vol {{!!}} volume {{!!}} volume | ||
| + | {{!}}- | ||
| + | {{!}} serie {{!!}} seria {{!!}} series | ||
| + | {{!}}- | ||
| + | {{!}} edizione / ed {{!!}} --- {{!!}} edition | ||
| + | {{!}}- | ||
| + | {{!}} numero {{!!}} numero {{!!}} issue | ||
{{!}}- | {{!}}- | ||
{{!}} lingua {{!!}} idioma {{!!}} language | {{!}} lingua {{!!}} idioma {{!!}} language | ||
| Line 403: | Line 490: | ||
{{!}}- | {{!}}- | ||
{{!}} cid {{!!}} --- {{!!}} ref | {{!}} cid {{!!}} --- {{!!}} ref | ||
| + | {{!}}- | ||
| + | {{!}} pagina {{!!}} página {{!!}} page | ||
{{!}}- | {{!}}- | ||
{{!}} pagine {{!!}} páginas {{!!}} pages | {{!}} pagine {{!!}} páginas {{!!}} pages | ||
| Line 413: | Line 502: | ||
{{!}}- | {{!}}- | ||
{{!}} urlmorto {{!!}} enlaceroto {{!!}} deadurl | {{!}} urlmorto {{!!}} enlaceroto {{!!}} deadurl | ||
| + | {{!}}- | ||
| + | {{!}} doi {{!!}} doi {{!!}} doi | ||
| + | {{!}}- | ||
| + | {{!}} --- {{!!}} etiquetadoi /<br>doilabel {{!!}} --- | ||
{{!}}- | {{!}}- | ||
{{!}} citazione {{!!}} cita {{!!}} quote | {{!}} citazione {{!!}} cita {{!!}} quote | ||
| Line 432: | Line 525: | ||
== List of month names == | == 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. | 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= | + | :{{{!}} class=wikitable cellspacing=2 <!-- |
--> style="text-align:center; text-size:82%" | --> style="text-align:center; text-size:82%" | ||
! colspan=3 {{!}} List of month names | ! colspan=3 {{!}} List of month names | ||
Revision as of 15:49, 16 May 2014
"El Título". Missing or empty |url= (help)
| This is the template sandbox page for Template:Cita web (diff). |
The Template:Cita_web handles Spanish-language (or Italian) parameters for {{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 "Unknown parameter |xx 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 {{subst:cita_web|...}} to generate the equivalent markup as "{{cite web|...}}" but not inside wp:reftags <ref>...</ref> which must be removed before subst'ing and then restored during another edit to a page.
Contents
List of parameter names
The major parameter keywords are listed below.
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 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 url url url urlarchivio urlarchivo archiveurl dataarchivio fechaarchivo archivedate urlmorto enlaceroto deadurl doi doi doi --- etiquetadoi /
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}.
- {{cita web |autore=Gianni Doe |titolo=Notizia italiano |url=http://x.com |data=7 maggio 2012 |lingua=italiano}}
→ http://x.com. Unknown parameter|autore=ignored (|author=suggested) (help); Unknown parameter|lingua=ignored (|language=suggested) (help); Unknown parameter|data=ignored (|date=suggested) (help); Unknown parameter|titolo=ignored (|title=suggested) (help); Missing or empty|title=(help)
- {{cita web |autore=Gianni Doe |titolo=Notizia italiano |url=http://x.com |data=7 maggio 2012 |lingua=italiano}}
- {{cita web |url=http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014}}
→ http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/. Unknown parameter|data=ignored (|date=suggested) (help); Unknown parameter|editore=ignored (help); Missing or empty|title=(help) (example from "Laibach (band)") - {{cita web |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}}
→ "Sanremo 2013: la classifica finale, la giuria di qualità era per Elio, Malika e Gualazzi". 17 February 2013. Unknown parameter|name=ignored (help); Unknown parameter|editorial=ignored (|publisher=suggested) (help)
- {{cita web |url=http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014}}
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.
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 septiembre 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 {{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 {{cite news}}
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |