User:Mathglot/sandbox/Templates/Legifrance/CT
Appearance
https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000037380123
Documentation
Return a Légifrance url for an item in the Code du travail, given the id number of the law, decree, etc.
Usage
{{CT|id}}
Parameters
There is one required positional parameter:
|1=
, the id of the loi (L1142-7), décret (D2122-6), and so on. Required.- Should begin with
L
,D
, orR
followed by the numeric identifier, which may contain hyphens.
- Should begin with
Examples
- {{User:Mathglot/sandbox/Templates/Legifrance/CT|L1142-7}} → https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000037380123
- {{User:Mathglot/sandbox/Templates/Legifrance/CT|D2122-6}} → https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000019729857
- {{User:Mathglot/sandbox/Templates/Legifrance/CT|L5429-2}} → https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000037388341
- {{User:Mathglot/sandbox/Templates/Legifrance/CT|L5429-3}} → https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006903932 (Note: abrogated)
- {{User:Mathglot/sandbox/Templates/Legifrance/CT|R7343-16}} → https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000044630194