Template:Cita news/doc
This is a documentation subpage for Template:Cita news. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite news}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template should always be substituted (i.e., use {{subst:Cita news}} ). Any accidental transclusions will be automatically substituted by a bot. |
The Template:Cita_news handles Spanish-language (or Italian) parameters for {{cite news}}, as in the Italian Wikipedia template it:Template:Cita_news, with Italian "titolo=" for title. As of June 2013, {cite_news} would issue a red-error message for each unrecognized Spanish parameter as "Unknown parameter |xx
ignored..." and so {cita_news} 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_news} per page, depending on performance needs.
The template can be wp:subst'ed in the form {{subst:cita_news|...}} to generate the equivalent markup as "{{cite news|...}}" but not inside wp:reftags <ref>...</ref> which must be removed before subst'ing and then restored during another edit to a page.
List of parameter names
[edit]The major parameter keywords are listed below.
Italian | Spanish | English |
---|---|---|
titolo | título | title |
autore autore2 autore3 autore4 |
autor autor2 autor3 autor4 |
author author2 author3 author4 |
wkautore wkautore2 wkautore3 wkautore4 |
enlaceautor enlaceautor2 enlaceautor3 enlaceautor4 |
authorlink authorlink2 authorlink3 authorlink4 |
cognome cognome2 cognome3 |
apellidos / apellido apellidos1 / apellido1 apellidos2 / apellido2 apellidos3 / apellido3 |
last last1 last2 last3 |
nome | nombre / primero | first |
nome1 nome2 nome3 |
nombre1 / primero1 nombre2 / primero2 nombre3/ primero3 |
first1 first2 first3 |
coautori | coautores | coauthors |
opera | obra | work |
sito | sitioweb | website |
giornale | publicación | journal |
rivista pubblicazione |
periodico | magazine |
--- | agencia | agency |
editore | editorial | publisher |
città | ubicación | location |
editori curatore curatori |
--- | 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 | página | page |
pagine / pp | páginas | pages |
richiestasottoscrizione | suscripción | subscription |
url | url | url |
urlarchivio | urlarchivo | archiveurl |
dataarchivio | fechaarchivo | archivedate |
urlmorto | enlaceroto | url-status |
doi | doi | doi |
--- | etiquetadoi / doilabel |
--- |
LCCN | lccn | LCCN |
OCLC | oclc | OCLC |
PMC | pmc | PMC |
PMID | pmid | PMID |
citazione | cita | quote |
abstract | puntofinale | postscript |
The various Italian parameters are listed on the Italian Wikipedia in Lua script it:Modulo:Citazione/Configurazione from June 2013.
Examples
[edit]Below are some examples using {cita_news}.
- {{cita news |autore=Gianni Doe |titolo= Notizia italiano |url=http://x.com |sitioweb= x.com |data=7 maggio 2012 |lingua= italiano}}
→ Gianni Doe (7 May 2012). "Notizia italiano". x.com (in Italian).
- {{cita news |autore=Gianni Doe |titolo= Notizia italiano |url=http://x.com |sitioweb= x.com |data=7 maggio 2012 |lingua= italiano}}
- {{cita news |url= http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |editore=radiomusik.it |data=9 gennaio 2014}}
→ . 9 January 2014 http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/.{{cite news}}
: Missing or empty|title=
(help) (example from "Laibach (band)") - {{cita news |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}}
→ Stefano Michero (17 February 2013). "Sanremo 2013: la classifica finale, la giuria di qualità era per Elio, Malika e Gualazzi". sanremonews.it.
- {{cita news |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
[edit]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.
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
[edit]The Template:Cita_news runs 40-50 per second, but users should translate to {{cite news}}, as time permits. The translations of {cita_news} would typically require expertise in Italian (or Spanish), plus knowledge of the Italian Wikipedia it:Template:Cita_news or the Spanish Wikipedia plantilla, plus knowledge of parameters of the enwiki Template:Cite_news. 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 the user is writing the article).
See also
[edit]- Template:Cite web – the equivalent template of {{cita web}}