• Home
  • Random
  • Log in
  • Settings
  • About Project Herzl
  • Disclaimers
Project Herzl

Template:Legifrance/L-prefix

  • Language
  • Watch
  • View source
< Template:Legifrance
Template documentation

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
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://wiki.projectherzl.com/wiki/Template:Legifrance/L-prefix?oldid=3637"
Last edited on 16 May 2023, at 13:02
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

      This page is not available in other languages.

      Project Herzl
      • This page was last edited on 16 May 2023, at 13:02.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) unless otherwise noted.
      • Privacy policy
      • About Project Herzl
      • Disclaimers
      • Desktop