Template:Legifrance/testcases

L prefix defaulting for certain base codes
Test adding 'L' prefix for certain codes for which articles always start with a letter, and never a numeric.

Article numbers often have a prefix letter, such as 'L' (for loi), 'D' (décret), 'R' (regulation), and sometimes 'A' (arrêt). For certain codes, such as the Civil Code, the Penal Code, or the Code of Criminal Procedure, there is no prefix, and the article number is strictly numeric. For those codes that use the L/D/R prefix such as the Labor code, the Education Code, and the Administrative Code, the most common of the three is 'L', and as a convenience to the template user, if they forget to include the prefix and pass a numeric argument to a code that requires it, the 'L' prefix is added. This is currently implemented for base codes CT (Code du travail), CPEN (Code pénitentiaire), and CTRANSP (Code des transports).