User:Mathglot/sandbox/Templates/CCOM

https://www.legifrance.gouv.fr/codes/ {{documentation|content= Return a Légifrance url for an item in the Code du commerce, given the id number of the law, decree, etc.

Parameters
There are two positional parameters:


 * 1, the id of the loi (L123-1), décret (D122-1), and so on. Required.
 * Should begin with, , or followed by the numeric identifier, which may contain hyphens, e.g.,.
 * 2, optional type, which may be 'art' (for article) or 'sect' (for section). Default: 'art'. Returns a "section"-style url if sect, providing the requested item in context.

Examples
}}