Template:Legifrance/derive-url/doc

Generates the full url for Template:Legifrance based on the 'base' value. Some of these paths no longer work since the 2020 'modernization' of the Legifrance website.

Usage
Notes:
 * Passing an invalid base value returns the home page url: ' https://www.legifrance.gouv.fr '. An 'invalid' value means one that is not listed in the table of Légifrance databases.
 * The template cannot detect an invalid value of the number param. These values may change whenever new legislation is passed; an invalid number will generate an external link which, when clicked, will display an error page at the Légifrance website.

Parameters
There are two required positional parameter:

1=

1 a base code, as specified in the table at Legifrance databases and 'base' values. Examples:, , ,.

2 article number or id; e.g.,, , ,.

Examples
1=