Template:Reflib/testcases

From English Wikipedia @ Freddythechick

__EXPECTUNUSEDTEMPLATE__

1. Seven refs from French criminal law
live

{{reflib|lib=FCL|Bell-2008|Brouillet-2013|Cairns-McKeon-1995|Dadomo-Farran-1996|Dalloz-EMoral-2021|Elliott-2001|Hall-2010}}

  • {{#section-h:Template:Reflib/FCL | Bell-2008}}
  • {{#section-h:Template:Reflib/FCL | Brouillet-2013}}
  • {{#section-h:Template:Reflib/FCL | Cairns-McKeon-1995}}
  • {{#section-h:Template:Reflib/FCL | Dadomo-Farran-1996}}
  • {{#section-h:Template:Reflib/FCL | Dalloz-EMoral-2021}}
  • {{#section-h:Template:Reflib/FCL | Elliott-2001}}
  • {{#section-h:Template:Reflib/FCL | Hall-2010}}
sandbox

{{reflib/sandbox|lib=FCL|Jurgens-2007|Larnaude-1915|Mathias-2007|Newman-2010|Pin-2020|Sauvé-2016|Terrill-2009}}[1]

2. Five refs from Ancient seafaring
live

{{reflib|lib=Asea|Ahrweiler-1966|Anderson-1976|Bagnall-1999|Basch-2001|Campbell-1995}}

  • {{#section-h:Template:Reflib/Asea | Ahrweiler-1966}}
  • {{#section-h:Template:Reflib/Asea | Anderson-1976}}
  • {{#section-h:Template:Reflib/Asea | Bagnall-1999}}
  • {{#section-h:Template:Reflib/Asea | Basch-2001}}
  • {{#section-h:Template:Reflib/Asea | Campbell-1995}}
sandbox

{{reflib/sandbox|lib=Asea|Goldsworthy-2006|Haldon-1999|Lazenby-1996|Morrison-Gardiner-1995|Warry-2004}}[2]

3. Four refs from Vichy follows param order, not alphabetical order
live

{{reflib|lib=Vichy|Zalc-2020|Young-2013|Wright-2006|Vanderschelden-2013}}

  • {{#section-h:Template:Reflib/Vichy | Zalc-2020}}
  • {{#section-h:Template:Reflib/Vichy | Young-2013}}
  • {{#section-h:Template:Reflib/Vichy | Wright-2006}}
  • {{#section-h:Template:Reflib/Vichy | Vanderschelden-2013}}
sandbox

{{reflib/sandbox|lib=Vichy|Delpech-1979|Conan-Rousso-1998|Berger-2003|Azéma-1979}}[3]

4. Naming the same section twice generates an error
live

{{reflib|lib=Vichy|Berlière-2018|Carrier-2017|Diamond-1999|Berlière-2018}}Reflib: Param values must be unique.

sandbox – (Roux-1925 should not generate an error)

{{reflib/sandbox|lib=Vichy|Berlière-2018|Carrier-2017|Diamond-1999|Diamond-1999}}[4]

5. Reusing a section name already used (see 'Elliott' and 'Hall' in example #1 should generates an error
live

{{reflib|lib=FCL|Elliott-2001|Hodgson-2005|Jean-2010}}

  • {{#section-h:Template:Reflib/FCL | Elliott-2001}}
  • {{#section-h:Template:Reflib/FCL | Hodgson-2005}}
  • {{#section-h:Template:Reflib/FCL | Jean-2010}}
sandbox

{{reflib/sandbox|lib=FCL|Hall-2010|Roux-1925|Stewart-1951}}[5]


  1. ^ Doe, John (2020). The Title. Scribners.
  2. ^ Doe, John (2020). The Title. Scribners.
  3. ^ Doe, John (2020). The Title. Scribners.
  4. ^ Doe, John (2020). The Title. Scribners.
  5. ^ Doe, John (2020). The Title. Scribners.