User:Wikid77/Template:Cita web

{{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  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 &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. ! colspan=3 | List of parameters ! Italian !! Spanish !! English The various Italian parameters are listed on the Italian Wikipedia in Lua script it:Modulo:Citazione/Configurazione from June 2013.
 * {| class=wikitable cellspacing=2 style="text-align:center; text-size:100%"
 * 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
 * url url  url
 * urlarchivio urlarchivo  archiveurl
 * dataarchivio fechaarchivo  archivedate
 * urlmorto enlaceroto  deadurl
 * doi doi  doi
 * --- etiquetadoi / doilabel  ---
 * citazione cita  quote
 * }
 * 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
 * url url  url
 * urlarchivio urlarchivo  archiveurl
 * dataarchivio fechaarchivo  archivedate
 * urlmorto enlaceroto  deadurl
 * doi doi  doi
 * --- etiquetadoi / doilabel  ---
 * citazione cita  quote
 * }
 * richiestasottoscrizione suscripción subscription
 * url url  url
 * urlarchivio urlarchivo  archiveurl
 * dataarchivio fechaarchivo  archivedate
 * urlmorto enlaceroto  deadurl
 * doi doi  doi
 * --- etiquetadoi / doilabel  ---
 * citazione cita  quote
 * }
 * urlmorto enlaceroto  deadurl
 * doi doi  doi
 * --- etiquetadoi / doilabel  ---
 * citazione cita  quote
 * }
 * citazione cita  quote
 * }
 * }

Examples
Below are some examples using {cita_web}.


 * &rarr;


 * &rarr; (example from "Laibach (band)")
 * &rarr;

List of month names
Below is a table of month names. Note how Spanish dates use the form "7 de de 2014" with words "de" (of) around the month name. ! colspan=3 | List of month names ! Italian !! Spanish !! English
 * {| class=wikitable cellspacing=2 style="text-align:center; text-size:82%"
 * 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
 * }
 * luglio  julio  July
 * agosto  agosto  August
 * settembre   septiembre   September
 * ottobre octubre  October
 * novembre noviembre  November
 * dicembre diciembre  December
 * }
 * novembre noviembre  November
 * dicembre diciembre  December
 * }
 * 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.