Template:Cita libro/doc

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 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 ... to generate the equivalent markup as " " 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. 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}.
 * &mdash;>
 * &rarr;


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

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 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_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).