Template:Cite web/French/doc

From blackwiki
Jump to navigation Jump to search

Cite web/French handles French-language parameters for {{cite web}}, as in the French Wikipedia template fr:Modèle:Lien web, with French |titre= for title. As of March 2017, {cite_web} would issue a red-error message for each unrecognized French parameter as "Unknown parameter |xx ignored..." and so Cite web/French here simply switches any French parameter into the English equivalent, and translates any date/month names into English.

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 Cite web/French per page, depending on performance needs.

The template can be wp:subst'ed in the form Template:Tlsc 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.

List of parameters
French Spanish English
titre título title
sous-titre
traduction titre trans-title
auteur1 autor author1
lien auteur1 enlaceautor author-link
lien auteur2 enlaceautor2 author-link2
coauteurs coautores coauthors
postnom1
postnom / nom1 / nom
apellido last
prénom1 / prénom
prenom1 / prenom
nombre / primero first
postnom2 / nom2 apellido2 last2
prénom2 / prenom2 nombre2 / primero2 first2
traducteur
traduction
translator
et al.
directeur1
illustrateur
others
auteur institutionnel editor
numéro chapitre
titre chapitre
chapter (number+title)
collection work
site website
journal publicación journal
? periodico magazine
éditeur agency
? editorial publisher
lieu ubicación location
série series
date fecha date
consulté le
consulte le
fechaacceso access-date
en ligne le publication-date
année año year
mois mes month
jour -- day
année première édition
origyear
-- orig-year
format
format livre
format électronique
formato format
nature ouvrage
description
type
volume
vol
titre volume
titre tome
volume volume
série seria series
numéro d'édition
numéro édition
edition
numéro dans collection numero issue
langue idioma language
id id id
cid ref
page página page
passage páginas pages
? suscripción subscription
url
lire en ligne
url url
urlarchivio urlarchivo archive-url
dataarchivio fechaarchivo archive-date
? enlaceroto url-status
isbn isbn
issn issn
doi doi doi
bibcode bibcode
jstor jstor
oclc oclc
pmid pmid
zbl zbl
arxiv arxiv
etiquetadoi /
doilabel
citation
commentaire
extrait
cita quote
libellé ref

The various French parameters are listed on the French Wikipedia in Lua script fr:Module:Biblio/Ouvrage from September 2013.

Examples

Below are some examples using Cite web/French.

  • {{Lien web |auteur=Jean Doe |titre=Page francais |sous-titre=Part 2 |url=http://www.x.com |date=7 mai 2012 |consulté le=5 décembre 2015 |site=Paris |passage=2-3 |langue=fr}}
    Jean Doe (7 May 2012). "Page francais : Part 2". Paris (in French). pp. 2–3. Retrieved 5 December 2015.
  • {{Lien web |titre=Resistance |url= http://www.radiomusik.it/16613/resistance-is-futile-in-anteprima-audio-il-nuovo-singolo-dei-laibach/ |éditeur=radiomusik.it |date=9 avril 2014}}
    "Resistance". radiomusik.it. 9 April 2014. (example from "Laibach (band)")
  • {{Lien web |auteur1= Author1 |auteur2= Author2 |titre= Title |collection=Book |url=http://www.x.com |format livre= PDF |publisher= ACME |lieu= London |id= x.com |date=17 juillet 2013 |consulté le= 8 avril 2017}}
    Author1; Author2 (17 July 2013). "Title" (PDF). Book. London: ACME. x.com. Retrieved 8 April 2017.

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
French Spanish English
janvier enero January
février febrero February
mars marzo March
avril abril April
mai mayo May
juin junio June
juillet julio July
août agosto August
septembre   septiembre   September
octobre octubre October
novembre noviembre November
décembre diciembre December

Performance considerations

The Template:Cite web/French runs 45-50 per second, but users should translate to {{cite web}}, as time permits. The translations of Cite web/French would typically require expertise in French, plus knowledge of the French Wikipedia cites or fr:Modèle:Lien web (template), plus knowledge 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 correct.

See also

Template:Non-English citation templates