Page MenuHomePhabricator

CX2: Tripled templates + bdi tags
Open, MediumPublic

Description

Hi. I've seen several times articles translated with CX2 containing tripled templates, combined with bdi tags...

Example on frwiki : Carnegie Mansion (which also shows an example of doubled ISBN cf. T217585)

* {{Ouvrage|prénom1=Michael C.|nom1=Kathrens|lien auteur1=|titre=Great Houses of New York, 1880–1930|passage=113|lieu=New York|éditeur=Acanthus Press|année=2005|pages totales=|isbn=978-0-926494-34-3|lire en ligne=|consulté le=|coauteurs=}} <bdi> {{Ouvrage|prénom1=Michael C.|nom1=Kathrens|lien auteur1=|titre=Great Houses of New York, 1880–1930|passage=113|lieu=New York|éditeur=Acanthus Press|année=2005|pages totales=|isbn=978-0-926494-34-3|lire en ligne=|consulté le=|coauteurs=}} </bdi> {{Ouvrage|prénom1=Michael C.|nom1=Kathrens|lien auteur1=|titre=Great Houses of New York, 1880–1930|passage=113|lieu=New York|éditeur=Acanthus Press|année=2005|pages totales=|isbn=978-0-926494-34-3|lire en ligne=|consulté le=|coauteurs=}}

Minimal test case: https://en.wikipedia.org/wiki/User:CXTests/T253501
(Make sure to translate to French and publish to personal draft!)

Event Timeline

A bit more detail. I get this:

{{Ouvrage|prénom1=Michael C.|nom1=Kathrens|titre=Great Houses of New York, 1880–1930|passage=113|lieu=New York|éditeur=Acanthus Press|année=2005|isbn=978-0-926494-34-3}}<bdi><cite class="citation book cs1" data-ve-ignore="true" id="CITEREFKathrens2005">[[Spécial:LivreSources/978-0-926494-34-3|978-0-926494-34-3]]</cite></bdi>

I'd expect to get just this:

{{Ouvrage|prénom1=Michael C.|nom1=Kathrens|titre=Great Houses of New York, 1880–1930|passage=113|lieu=New York|éditeur=Acanthus Press|année=2005|isbn=978-0-926494-34-3}}

The English source has {{Cite book}}:

{{Cite book |title= Great Houses of New York, 1880–1930|last= Kathrens|first= Michael C.|year=2005 |publisher=Acanthus Press |location=New York |isbn= 978-0-926494-34-3|page=113 }}

{{Ouvrage}} is that template's French counterpart, connected through Wikidata.

All the parameters used in English are mapped to French: they either have the same name, or an alias in TemplateData:

  • title : titre
  • last : nom1
  • first : prénom1
  • year : année
  • publisher : éditeur
  • location : lieu
  • isbn : isbn
  • page : passage

I don't know if it's relevant, but the following also appear in TemplateData's maps field:

  • "title": "titre"
  • "publisher": "éditeur"
  • "ISBN": [ "isbn", "isbn2", "isbn3" ]

Minimal test case: https://en.wikipedia.org/wiki/User:CXTests/T253501

Make sure to translate to French and publish to personal draft!