Difference between revisions of "Template:Cita libro"
(←Redirected page to Template:Cite book) |
imported>Tom.Reding m (Category:CS1 errors: empty unknown parameters: remove; no mainspace transclusions) |
||
| (45 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
| − | # | + | <noinclude><!--cita_libro |
| + | -=========================================== | ||
| + | - Cita_libro: For Spanish/Italian cite book | ||
| + | -=========================================== | ||
| + | -- (see NOTES below) | ||
| + | --></noinclude>{{SAFESUBST:<noinclude/>#if:{{{{{subst|subst:}}}ns:0}} | ||
| + | | <!-- | ||
| + | =============================== Live format | ||
| + | -->{{cite book | ||
| + | | url={{{url|}}}{{{URL|}}} | ||
| + | |url-status={{{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|}}}{{{last1|}}}{{{apellido|}}}{{{apellido1|}}}{{{apellidos|}}}{{{apellidos1|}}}{{{último|}}}{{{último1|}}}{{{cognome|}}}{{{cognome1|}}} | ||
| + | | first={{{first|}}}{{{first1|}}}{{{nombre|}}}{{{nombre1|}}}{{{nome|}}}{{{primero|}}}{{{primero1|}}}{{{name1|}}} | ||
| + | | authorlink={{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}} | ||
| + | | others={{{others|{{{other|{{{altri|}}}|}}}|}}} | ||
| + | | 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|}}}|}}}|}}}{{{p|}}} | ||
| + | | pages={{{pages|{{{páginas|{{{pagine|}}}|}}}|}}}{{{pp|}}} | ||
| + | | date={{safesubst:<noinclude />#if: {{{month|{{{mes|{{{mese|}}}|}}}|}}} |{{safesubst:<noinclude />#invoke:month translator|month_xlate|{{{month|{{{mes|{{{mese|}}}|}}}|}}}}} {{{year|}}}{{{año|}}}{{{anno|}}}<!--endif month/mes/mese + year--> | ||
| + | |{{safesubst:<noinclude />#if: {{{data|{{{date|{{{fecha|}}}|}}}|}}} |{{safesubst:<noinclude />#invoke:month translator|month_xlate|{{{data|{{{date|{{{fecha|}}}|}}}|}}}}} }}<!--endif date/fecha-->}} | ||
| + | | origyear={{{origyear|{{{añooriginal|{{{annooriginale|{{{orig-year|}}}|}}}|}}}|}}} | ||
| + | | year={{safesubst:<noinclude />#if:{{{mes|}}}{{{mese|}}} | ||
| + | |<noinclude>(omit year)</noinclude> | ||
| + | |{{{year|{{{año|{{{anno|}}}|}}}|}}} | ||
| + | }} | ||
| + | | access-date={{safesubst:<noinclude />#if: {{{accessdate|{{{fechaacceso|{{{accesso|{{{dataaccesso|}}}|}}}|}}}|}}}|{{safesubst:<noinclude />#invoke:month translator|month_xlate|{{{accessdate|{{{fechaacceso|{{{accesso|{{{dataaccesso|}}}|}}}|}}}|}}}}}| | ||
| + | {{safesubst:<noinclude />#if: {{{añoacceso|}}}{{{annoaccesso|}}} | ||
| + | |  {{{añoacceso|}}}{{{annoaccesso|}}} }} | ||
| + | | {{safesubst:<noinclude />#if: {{{añoacceso|}}}{{{annoaccesso|}}} | ||
| + | | {{{añoacceso|}}}{{{annoaccesso|}}} }} | ||
| + | }}<!--endif accessdate/fechaacceso--> | ||
| + | | language={{safesubst:<noinclude />#switch: {{{language|{{{idioma|{{{lingua|{{{Language}}}|}}}|}}}|}}} | ||
| + | | inglés = en | ||
| + | | español = es | ||
| + | | italiano = it | ||
| + | | #default = {{{language|}}} {{{idioma|}}} {{{lingua|}}} {{{Language|}}} | ||
| + | }}<!--end switch--> | ||
| + | | doi={{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}} | ||
| + | | ref={{{cid|}}} | ||
| + | | archive-url={{{archiveurl|{{{archive-url|{{{urlarchivo|{{{urlarchivio|<!-- | ||
| + | -->}}}|}}}|}}}|}}} | ||
| + | | archive-date={{safesubst:<noinclude />#if:{{{archivedate|{{{fechaarchivo|{{{dataarchivio|}}}|}}}|}}}|{{safesubst:<noinclude />#invoke:month translator|month_xlate|{{{archivedate|{{{fechaarchivo|{{{dataarchivio|}}}|}}}|}}}}}}} | ||
| + | | quote={{{quote|{{{cita|{{{citazione|}}}|}}}|}}} | ||
| + | | postscript={{{postscript|{{{puntofinale|}}}|}}} | ||
| + | <!----------------------- More parameters--> | ||
| + | | last2={{{last2|{{{apellido2|{{{apellidos2|{{{ultimo2|{{{cognome2|}}}|}}}|}}}|}}}|}}} | ||
| + | | first2={{{first2|{{{nombre2|{{{primero2|{{{nome2|}}}|}}}|}}}|}}} | ||
| + | | authorlink2={{{authorlink2|{{{enlaceautor2|{{{wkautore2|<!-- | ||
| + | -->}}}|}}}|}}} | ||
| + | | last3={{{last3|{{{apellido3|{{{apellidos3|{{{ultimo3|{{{cognome3|}}}|}}}|}}}|}}}|}}} | ||
| + | | first3={{{first3|{{{nombre3|{{{primero3|{{{nome3|}}}|}}}|}}}|}}} | ||
| + | | authorlink3={{{authorlink3|{{{enlaceautor3|{{{wkautore3|<!-- | ||
| + | -->}}}|}}}|}}} | ||
| + | | issn={{{issn|}}}{{{ISSN|}}} | ||
| + | | isbn={{{isbn|}}}{{{ISBN|}}} | ||
| + | | lccn={{{lccn|}}}{{{LCCN|}}} | ||
| + | | oclc={{{oclc|}}}{{{OCLC|}}} | ||
| + | | pmc ={{{pmc|}}}{{{PMC|}}} | ||
| + | | pmid={{{pmid|}}}{{{PMID|}}} | ||
| + | | id={{{id|}}}{{{ID|}}} {{safesubst:<noinclude />#if:{{{sbn|}}}{{{SBN|}}} | ||
| + | | {{{sbn|}}}{{{SBN|}}} }} | ||
| + | | editor-last={{{editor-last|{{{editor1-last|}}}|}}} | ||
| + | | editor-first={{{editor-first|{{{editor1-first|}}}|}}} | ||
| + | | website={{{website|{{{sito|}}}|}}} | ||
| + | | magazine={{{magazine|{{{periodico|{{{pubblicazione|}}}|}}}|}}} | ||
| + | }}<!--end {cite book} | ||
| + | =============================== Subst format | ||
| + | -- (see NOTE N4 below) | ||
| + | --> | ||
| + | | {{cite book {{SAFESUBST:<noinclude/>#if:{{{title|{{{titulo|{{{título|{{{titolo|}}}|}}}|}}}|}}}{{{Title|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}title={{{title|{{{titulo|{{{título|{{{titolo|}}}|}}}|}}}|}}}{{{Title|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{trans_title|{{{trad_titulo|{{{titolotradotto|}}}}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}trans-title={{{trans_title|{{{trad_titulo|{{{titolotradotto|}}}}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{url|}}}{{{URL|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}url={{{url|}}}{{{URL|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{chapter|{{{capitolo|{{{contribution|{{{contributo|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}chapter={{{chapter|{{{capitolo|{{{contribution|{{{contributo|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{chapterurl|{{{urlcapitolo|{{{urlcontributo|{{{url_capitolo|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}chapterurl={{{chapterurl|{{{urlcapitolo|{{{urlcontributo|{{{url_capitolo|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{last|}}}{{{last1|}}}{{{apellido|}}}{{{apellido1|}}}{{{apellidos|}}}{{{último|}}}{{{último1|}}}{{{cognome|}}}{{{cognome1|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}last={{{last|}}}{{{last1|}}}{{{apellido|}}}{{{apellido1|}}}{{{apellidos|}}}{{{apellidos1|}}}{{{último|}}}{{{último1|}}}{{{cognome|}}}{{{cognome1|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{first|}}}{{{first1|}}}{{{nombre|}}}{{{nombre1|}}}{{{nome|}}}{{{primero|}}}{{{primero1|}}}{{{name1|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}first={{{first|}}}{{{first1|}}}{{{nombre|}}}{{{nombre1|}}}{{{nome|}}}{{{primero|}}}{{{primero1|}}}{{{name1|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{last2|{{{apellido2|{{{apellidos2|{{{último2|{{{cognome2|}}}|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}last2={{{last2|{{{apellido2|{{{apellidos2|{{{último2|{{{cognome2|}}}|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{first2|{{{nombre2|{{{nome2|{{{primero2|{{{name2|}}}|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}first2={{{first2|{{{nombre2|{{{nome2|{{{primero2|{{{name2|}}}|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{last3|{{{apellido3|{{{apellidos3|{{{último3|{{{cognome3|}}}|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}last3={{{last3|{{{apellido3|{{{apellidos3|{{{último3|{{{cognome3|}}}|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{first3|{{{nombre3|{{{nome3|{{{primero3|{{{name3|}}}|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}first3={{{first3|{{{nombre3|{{{nome3|{{{primero3|{{{name3|}}}|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{author|{{{autor|{{{autore|{{{name|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}author={{{author|{{{autor|{{{autore|{{{name|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}authorlink={{{authorlink|{{{enlaceautor|{{{wkautore|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{author2|{{{autor2|{{{autore2|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}author2={{{author2|{{{autor2|{{{autore2|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{authorlink2|{{{enlaceautor2|{{{wkautore2|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}authorlink2={{{authorlink2|{{{enlaceautor2|{{{wkautore2|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}coauthors={{{coauthors|{{{coautores|{{{coautori|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{work|{{{obra|{{{opera|{{{Work|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}work={{{work|{{{obra|{{{opera|{{{Work|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{journal|{{{publicación|{{{giornale|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}journal={{{journal|{{{publicación|{{{giornale|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{publisher|{{{editorial|{{{curatore|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}publisher={{{publisher|{{{editorial|{{{curatore|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{location|{{{place|{{{ubicación|{{{città|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}location={{{location|{{{place|{{{ubicación|{{{città|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{agency|{{{editore|}}}|}}} | ||
| + | | {{SAFESUBST:<noinclude/>!}}agency={{{agency|{{{editore|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{website|{{{sito|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}website={{{website|{{{sito|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{magazine|{{{periodico|{{{pubblicazione|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}magazine={{{magazine|{{{periodico|{{{pubblicazione|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{edition|}}}{{{edizione|}}}{{{ed|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}edition={{{edition|}}}{{{edizione|}}}{{{ed|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{volume|}}}{{{vol|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}volume={{{volume|}}}{{{vol|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{issue|}}}{{{number|}}}{{{numero|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}issue={{{issue|}}}{{{number|}}}{{{numero|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{series|}}}{{{seria|}}}{{{serie|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}series={{{series|}}}{{{seria|}}}{{{serie|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{page|{{{página|{{{pagina|}}}|}}}|}}}{{{p|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}page={{{page|{{{página|{{{pagina|}}}|}}}|}}}{{{p|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{pages|{{{páginas|{{{pagine|}}}|}}}|}}}{{{pp|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}pages={{{pages|{{{páginas|{{{pagine|}}}|}}}|}}}{{{pp|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{language|}}}{{{idioma|}}}{{{lingua|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}language={{SAFESUBST:<noinclude/>#switch: {{{language|}}}{{{idioma|}}}{{{lingua|}}} | ||
| + | | inglés = en | ||
| + | | español = es | ||
| + | | italiano = it | ||
| + | |#default = {{{language|}}}{{{idioma|}}}{{{lingua|}}} | ||
| + | }} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{format|{{{formato|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}format={{{format|{{{formato|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{archive-url|}}}{{{archiveurl|}}}{{{urlarchivo|}}}{{{urlarchivio|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}archive-url={{{archive-url|}}}{{{archiveurl|}}}{{{urlarchivo|}}}{{{urlarchivio|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{archivedate|}}}{{{dataarchivio|}}}{{{fechaarchivo|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}archive-date={{safesubst:<noinclude/>#invoke:month translator|month_xlate|{{{archivedate|{{{fechaarchivo|{{{dataarchivio|}}}|}}}|}}}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}url-status={{{deadurl|{{{enlaceroto|{{{urlmorto|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{data|}}}{{{fecha|}}}{{{date|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}date={{safesubst:<noinclude/>#invoke:month translator|month_xlate|{{{data|{{{fecha|{{{date|}}}|}}}|}}}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{year|{{{año|{{{anno|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}year={{{year|{{{año|{{{anno|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{month|{{{mes|{{{mese|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}month={{{month|{{{mes|{{{mese|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{origyear|{{{añooriginal|{{{annooriginale|{{{orig-year|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}origyear={{{origyear|{{{añooriginal|{{{annooriginale|{{{orig-year|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{accessdate|{{{fechaacceso|{{{accesso|{{{dataaccesso|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}access-date={{safesubst:<noinclude/>#invoke:month translator|month_xlate|{{{accessdate|{{{fechaacceso|{{{accesso|{{{dataaccesso|}}}|}}}|}}}|}}}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{subscription|{{{suscripción|{{{richiestasottoscrizione|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}subscription={{{subscription|{{{suscripción|{{{richiestasottoscrizione|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{others|{{{other|{{{altri|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}others={{{others|{{{other|{{{altri|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{editor|{{{editors|{{{curatore|{{{curatori|}}}|}}}|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}editor={{{editor|{{{editors|{{{curatore|{{{curatori|}}}|}}}|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{editor-last|{{{editor1-last|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}editor-last={{{editor-last|{{{editor1-last|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{editor-first|{{{editor1-first|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}editor-first={{{editor-first|{{{editor1-first|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{isbn|{{{ISBN|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}isbn={{{isbn|{{{ISBN|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{issn|}}}{{{ISSN|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}issn={{{issn|}}}{{{ISSN|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{lccn|}}}{{{LCCN|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}lccn={{{lccn|}}}{{{LCCN|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}doi={{{doi|{{{DOI|}}}|}}} {{{etiquetadoi|{{{doilabel|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{pmid|{{{PMID|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}pmid={{{pmid|{{{PMID|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{oclc|{{{OCLC|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}oclc={{{oclc|{{{OCLC|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{id|}}}{{{ID|}}}{{{sbn|}}}{{{SBN|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}id={{{id|{{{ID|}}}|}}} | ||
| + | {{SAFESUBST:<noinclude/>#if:{{{sbn|}}}{{{SBN|}}} | ||
| + | |{{SAFESUBST:<noinclude/>}} {{{sbn|}}}{{{SBN|}}} | ||
| + | }} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{quote|}}}{{{cita|{{{citazione|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}quote={{{quote|}}}{{{cita|{{{citazione|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{postscript|{{{puntofinale|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}postscript={{{postscript|{{{puntofinale|}}}|}}} | ||
| + | }}{{SAFESUBST:<noinclude/>#if:{{{ref|{{{cid|}}}|}}} | ||
| + | |{{SAFESUBST:<noinclude/>!}}ref={{{ref|{{{cid|}}}|}}} | ||
| + | }}<noinclude><!--endif {ref} | ||
| + | --></noinclude>}}<noinclude><!--end {cite book}--></noinclude> | ||
| + | }}<noinclude><!--endif not subst | ||
| + | -------------------------------------------- | ||
| + | --NOTES: | ||
| + | -- | ||
| + | -- Note A1: This template formats a wp:CS1 | ||
| + | -- cite from any mix of Spanish/Italian -- or English parameter names with date | ||
| + | -- month names translated into English. | ||
| + | -- See: [:it:Template:Cita_libro], or | ||
| + | -- [:es:Plantilla:Cita_web]. | ||
| + | -- | ||
| + | -- Note D2: Any dates are translated from | ||
| + | -- Spanish or Italian format by using | ||
| + | -- rapid Module:String function | ||
| + | -- "replace()" as 12x nested +12 deep | ||
| + | -- for the 12 month names. It is very | ||
| + | -- common for {cita_web} cites to use | ||
| + | -- Spanish months, and so the date | ||
| + | -- translation is worth the overhead. | ||
| + | -- Also, blank dates skip translation | ||
| + | -- (as faster). Any English months in | ||
| + | -- dates will pass unfiltered. | ||
| + | -- | ||
| + | -- Note L3: The main Lua script is named | ||
| + | -- "Module:Citation/CS1" plus others | ||
| + | -- (Module:Citation/CS1/Configuration, | ||
| + | -- etc.), but this template uses | ||
| + | -- {cite_book} to access Lua. | ||
| + | -- | ||
| + | -- Note N4: The subst'ed markup {cite_book} | ||
| + | -- contains no spaces between the | ||
| + | -- parameters, and "<nowiki/>" tags | ||
| + | -- are not used because they would be | ||
| + | -- stored in the [[COinS]] metadata | ||
| + | -- generated by {cite_book}. | ||
| + | -- | ||
| + | -------------------------------------------- | ||
| + | -21Mar2017 New as Spanish/Italian book cite. | ||
| + | -21Mar2017 Put HISTORY to log major changes. | ||
| + | -21Mar2017 Put NOTES comments to explain template operation. | ||
| + | -21Mar2017 Translated Spanish/Italian dates/months to English. | ||
| + | -21Mar2017 Filters language/idioma "español" or "italiano". | ||
| + | -21Mar2017 Italian "pubblicazione=" (work=) & "anno=" (year). | ||
| + | -21Mar2017 Italian "id=" (id=) & put "cid=" as "ref=" | ||
| + | -21Mar2017 Expanded for [[wp:subst]] to put {cite_book} markup. | ||
| + | -21Mar2017 Added "primero=" & "último=" for last/first. | ||
| + | -21Mar2017 Added "other/others=" & "altri=" for other contributors. | ||
| + | -21Mar2017 Added "publicación=" & "giornale=" as "journal=". | ||
| + | -21Mar2017 Added "edizione=" & "ed=" as "edition=". | ||
| + | -21Mar2017 Added "curatore=" & "curatori=" as "editors=". | ||
| + | -22Mar2017 Fix "OrigYear" as "origyear=". | ||
| + | -22Mar2017 Translate date in subst mode. | ||
| + | -24Mar2017 For subst, noinclude'd comments. | ||
| + | -24Mar2017 For subst, de-nest {date|{fecha}} | ||
| + | -25Mar2017 Use subst #Invoke:String|str_find | ||
| + | -25Mar2017 For subst omit newline in #ifexpr | ||
| + | -25Mar2017 For subst omit #ifexpr & str_find | ||
| + | -25Mar2017 For subst, translate accessdate. | ||
| + | -20Apr2017 Fix for "nombre1=" as "first=". | ||
| + | -20Apr2017 Fix for "primero1=" as "first=". | ||
| + | -20Apr2017 Fix for "first1=" as "first=". | ||
| + | -20Apr2017 Fix for "apellido1=" as "last=". | ||
| + | -20Apr2017 Fix for "apellidos1=" as "last=". | ||
| + | -20Apr2017 Fix for "cognome1=" as "last=". | ||
| + | -20Apr2017 Fix for "last1=" as "last=". | ||
| + | -23Apr2017 Allow "idioma=inglés" as "en". | ||
| + | -23Apr2017 Translated "fechaarchivo=" date. | ||
| + | -23Apr2017 Translated "dataarchivio=" date. | ||
| + | -05May2017 Add Italian "p=" for "page=". | ||
| + | -05May2017 Add Italian "pp=" for "pages=". | ||
| + | -05May2017 Put month {mes} as "date=...+yr" | ||
| + | -05May2017 Put month {mese} as "date=...+yr" | ||
| + | -05May2017 If month {mes}/{mese} year=blank | ||
| + | -05May2017 Added lccn, LCCN, oclc, OCLC. | ||
| + | -05May2017 Added pmc, PMC, pmid, PMID. | ||
| + | -05May2017 Added Italian sbn/SBN as "id=..." | ||
| + | --> | ||
| + | {{documentation|content= | ||
| + | |||
| + | {{Cs1 wrapper|base=Cite book}} | ||
| + | {{Subst only|auto=yes}} | ||
| + | |||
| + | The '''[[Template:Cita_libro]]''' handles Spanish-language (or Italian) parameters for {{tl|cite_book}}, as in the [[Italian Wikipedia]] template [[:it:Template:Cita_libro]], with Italian "titolo=" for title. Until March 2017, {cita_libro} would issue a red-error message for each unrecognized Spanish parameter as "{{color|#CC0000|Unknown parameter <code>|xx{{{=|}}}</code> ignored...}}" and so {cita_libro} 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 100-125 per second, and usage should be limited to about 400 {cita_libro} per page, depending on performance needs. | ||
| + | |||
| + | The template can be [[wp:subst]]'ed in the form <nowiki>{{subst:cita_libro|...}}</nowiki> to generate the equivalent markup as "<nowiki>{{cite book|...}}</nowiki>" but not inside [[wp:reftag]]s <ref>...</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 <!-- | ||
| + | --> style="text-align:center; text-size:100%" | ||
| + | ! colspan=3 {{!}} {{ns|9}} List of parameters | ||
| + | {{!}}- | ||
| + | ! Italian !! Spanish !! English | ||
| + | {{!}}- | ||
| + | {{!}} titolo {{!!}} título {{!!}} title | ||
| + | {{!}}- | ||
| + | {{!}} autore<br>autore2<br>autore3 {{!!}} autor<br>autor2<br>autor3 {{!!}} author<br>author2<br>author3 | ||
| + | {{!}}- | ||
| + | {{!}} wkautore<br>wkautore2<br>wkautore3 {{!!}} enlaceautor<br>enlaceautor2<br>enlaceautor3 {{!!}} authorlink<br>authorlink2<br>authorlink3 | ||
| + | {{!}}- | ||
| + | {{!}} cognome<br>cognome1 <br>cognome2 <br>cognome3 {{!!}} apellidos / apellido <br>apellidos1 / apellido1<br>apellidos2 / apellido2<br>apellidos3 / apellido3 {{!!}} last<br>last1<br>last2<br>last3 | ||
| + | {{!}}- | ||
| + | {{!}} nome {{!!}} nombre / primero {{!!}} first | ||
| + | {{!}}- | ||
| + | {{!}} nome1<br>nome2<br>nome3 {{!!}}nombre1 / primero1<br>nombre2 / primero2<br>nombre3 / primero3 {{!!}} first1<br>first2<br>first3 | ||
| + | {{!}}- | ||
| + | {{!}} 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 | ||
| + | {{!}}- | ||
| + | {{!}} annooriginale {{!!}} añooriginal {{!!}} origyear | ||
| + | {{!}}- | ||
| + | {{!}} 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 {{!!}} página {{!!}} page | ||
| + | {{!}}- | ||
| + | {{!}} pagine / pp {{!!}} páginas {{!!}} pages | ||
| + | {{!}}- | ||
| + | {{!}}richiestasottoscrizione{{!!}} suscripción {{!!}} subscription {{ns}} | ||
| + | {{!}}- | ||
| + | {{!}} url {{!!}} url {{!!}} url | ||
| + | {{!}}- | ||
| + | {{!}} urlarchivio {{!!}} urlarchivo {{!!}} archiveurl | ||
| + | {{!}}- | ||
| + | {{!}} dataarchivio {{!!}} fechaarchivo {{!!}} archivedate | ||
| + | {{!}}- | ||
| + | {{!}} urlmorto {{!!}} enlaceroto {{!!}} url-status | ||
| + | {{!}}- | ||
| + | {{!}} 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_libro}. | ||
| + | :* <nowiki>{{cita libro |título= Título |autor=Juan Doe |fecha= 1 de octubre de 2017}}</nowiki><!-- | ||
| + | --><br>—> {{cita libro |demo=1|título= Título |autor=Juan Doe |fecha= 1 de octubre de 2017}} | ||
| + | :* <nowiki>{{cita libro |autore=Gianni Doe |titolo=Notizia italiano |url=http://x.com |data=7 maggio 2012 |lingua=italiano}}</nowiki><!-- | ||
| + | --><br>→ {{cita libro |demo=1|autore=Gianni Doe |titolo=Notizia italiano |url=http://x.com |data=7 maggio 2012 |lingua=italiano}} | ||
| + | |||
| + | :* <nowiki>{{cita libro |url=http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014 |accesso= 28 ottobre 2016}}</nowiki><!-- | ||
| + | --><br>→ {{cita libro |demo=1|url=http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014 |accesso= 28 ottobre 2016}}<!-- | ||
| + | --> (example from "[[Laibach (band)]]") | ||
| + | :* <nowiki>{{cita libro |cognome= Ugas |nome= Giovanni |titolo= L'alba dei nuraghi |anno= 2005 |editore= Fabula Editore |città= Cagliari |ISBN= 978-88-89661-00-0 |cid= Ugas}}</nowiki><!-- | ||
| + | --><br>→ {{cita libro |demo=1|cognome= Ugas |nome= Giovanni |titolo= L'alba dei nuraghi |anno= 2005 |editore= Fabula Editore |città= Cagliari |ISBN= 978-88-89661-00-0 |cid= Ugas}}<!-- | ||
| + | --> (example from "[[Corsi people|Corsi]]") | ||
| + | |||
| + | == 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 <!-- | ||
| + | --> 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 {{!!}} septiembre {{!!}} September | ||
| + | {{!}}- | ||
| + | {{!}} ottobre {{!!}} octubre {{!!}} October | ||
| + | {{!}}- | ||
| + | {{!}} novembre {{!!}} noviembre {{!!}} November | ||
| + | {{!}}- | ||
| + | {{!}} dicembre {{!!}} diciembre {{!!}} December | ||
| + | {{!}}- | ||
| + | {{!}}} | ||
| + | |||
| + | == Performance considerations == | ||
| + | The Template:Cita_libro runs 100-125 per second, but users should translate to {{tl|cite book}}, as time permits. The translations of {cita_libro} would typically require expertise in Italian (or Spanish), plus knowledge of the [[Italian Wikipedia]] [[:it:Template:Cita_libro]] or the [[Spanish Wikipedia]] ''plantilla'', plus knowledge of parameters of the enwiki [[Template:Cite_book]]. The parameter list, above, can be used to assist translation of parameter names. | ||
| + | |||
| + | Care should be taken to correctly hand-translate cite data into English; otherwise, the auto-translation of parameters is likely to be more accurate, as well as instantaneous (and without causing [[wp:edit_conflict]]s while other users are expanding the article). | ||
| + | |||
| + | == See also == | ||
| + | * [[Template:Cite web]] – the equivalent template of {{tl|cita web}} | ||
| + | {{Non-English citation templates}} | ||
| + | }} | ||
| + | |||
| + | </noinclude> | ||
Latest revision as of 15:11, 20 November 2020
El Título.
| This template is a Citation Style 1 wrapper template based on {{Cite book}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
| This template should always be substituted (i.e., use {{subst:Cita libro}}). Any accidental transclusions will be automatically substituted by a bot. |
The Template:Cita_libro handles Spanish-language (or Italian) parameters for {{cite_book}}, as in the Italian Wikipedia template it:Template:Cita_libro, with Italian "titolo=" for title. Until March 2017, {cita_libro} would issue a red-error message for each unrecognized Spanish parameter as "Unknown parameter |xx ignored..." and so {cita_libro} 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 100-125 per second, and usage should be limited to about 400 {cita_libro} per page, depending on performance needs.
The template can be wp:subst'ed in the form {{subst:cita_libro|...}} to generate the equivalent markup as "{{cite book|...}}" 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.
Template:Ns List of parameters Italian Spanish English titolo título title autore
autore2
autore3autor
autor2
autor3author
author2
author3wkautore
wkautore2
wkautore3enlaceautor
enlaceautor2
enlaceautor3authorlink
authorlink2
authorlink3cognome
cognome1
cognome2
cognome3apellidos / apellido
apellidos1 / apellido1
apellidos2 / apellido2
apellidos3 / apellido3last
last1
last2
last3nome nombre / primero first nome1
nome2
nome3nombre1 / primero1
nombre2 / primero2
nombre3 / primero3first1
first2
first3coautori 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 annooriginale añooriginal origyear 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 página page pagine / pp páginas pages richiestasottoscrizione suscripción subscription Template:Ns url url url urlarchivio urlarchivo archiveurl dataarchivio fechaarchivo archivedate urlmorto enlaceroto url-status 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_libro}.
- {{cita libro |título= Título |autor=Juan Doe |fecha= 1 de octubre de 2017}}
—> Juan Doe (1 October 2017). Título. - {{cita libro |autore=Gianni Doe |titolo=Notizia italiano |url=http://x.com |data=7 maggio 2012 |lingua=italiano}}
→ Gianni Doe (7 May 2012). Notizia italiano (in Italian).
- {{cita libro |título= Título |autor=Juan Doe |fecha= 1 de octubre de 2017}}
- {{cita libro |url=http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014 |accesso= 28 ottobre 2016}}
→ [missing title]. radiomusik.it. 9 January 2014. Retrieved 28 October 2016. (example from "Laibach (band)") - {{cita libro |cognome= Ugas |nome= Giovanni |titolo= L'alba dei nuraghi |anno= 2005 |editore= Fabula Editore |città= Cagliari |ISBN= 978-88-89661-00-0 |cid= Ugas}}
→ Ugas, Giovanni (2005). L'alba dei nuraghi. Cagliari: Fabula Editore. ISBN 978-88-89661-00-0. (example from "Corsi")
- {{cita libro |url=http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014 |accesso= 28 ottobre 2016}}
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_libro runs 100-125 per second, but users should translate to {{cite book}}, as time permits. The translations of {cita_libro} would typically require expertise in Italian (or Spanish), plus knowledge of the Italian Wikipedia it:Template:Cita_libro or the Spanish Wikipedia plantilla, plus knowledge of parameters of the enwiki Template:Cite_book. The parameter list, above, can be used to assist translation of parameter names.
Care should be taken to correctly hand-translate cite data into English; otherwise, the auto-translation of parameters is likely to be more accurate, as well as instantaneous (and without causing wp:edit_conflicts while other users are expanding the article).
See also
- Template:Cite web – the equivalent template of {{cita web}}
Template:Non-English citation templates
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |