Template:Cita libro

<!--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 " " 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=..." -->