Template:Legifrance/L-prefix
Appearance
Supplies an initial character 'L' to a string if it begins with a numeric; otherwise, returns the string.
Usage
{{Legifrance/L-prefix|string}}
Parameters
There is one positional parameter.
|1=
– string to examine
Examples
- {{Legifrance/L-prefix|1142-7}} → L1142-7
- {{Legifrance/L-prefix|D122-1}} → D122-1
- {{Legifrance/L-prefix|L122-1}} → L122-1
- {{Legifrance/L-prefix|122-1}} → L122-1