Template:Cita web/sandbox

From blackwiki
< Template:Cita web
Revision as of 21:20, 12 August 2015 by imported>Trappist the monk (Sort key;)
Jump to navigation Jump to search

"El Título". Missing or empty |url= (help)

Template documentation

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.

List of parameter names

The major parameter keywords are listed below.

Template:NsList 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 Template:Ns
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/sandbox |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 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}}
    "[missing title]". radiomusik.it. 9 January 2014. (example from "Laibach (band)")
  • {{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}}
    Stefano Michero (Expression error: Unrecognized punctuation character "[".). "Sanremo 2013: la classifica finale, la giuria di qualità era per Elio, Malika e Gualazzi". sanremonews.it. Check date values in: |date= (help)

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