Template talk:Sfn Legifrance

Latest comment: 1 year ago by Mathglot in topic Proposed upgrade to default text value
WikiProject iconFrance Template‑class
WikiProject iconThis template is within the scope of WikiProject France, a collaborative effort to improve the coverage of France on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
WikiProject iconLaw Template‑class
WikiProject iconThis template is within the scope of WikiProject Law, an attempt at providing a comprehensive, standardised, pan-jurisdictional and up-to-date resource for the legal field and the subjects encompassed by it.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Not handling url/text edit

Not currently handling url/text; correct action is to not require base/number params (1 & 2) if |url= is present. If |text= is present, use that, otherwise if url, base, and number, build the text anchor from that. Mathglot (talk) 22:32, 25 January 2023 (UTC) 'Reply

Proposed upgrade to default text value edit

Param |text= currently defaults to 'base art. number', but that's really only correct when it's actually an article. If it's preceded by 'L' (or 'L.'), or 'R' (or 'R.') we could set the default token to loi etc. Mathglot (talk) 22:32, 25 January 2023 (UTC)Reply

The main issue already solved in {{Legifrance}}, which now uses a comma. Which isn't to say this idea couldn't be adopted there. Mathglot (talk) 23:04, 25 February 2023 (UTC)Reply

Proposed upgrade to display of base value edit

Instead of CPP or CCOM, display 'Criminal procedure code' or 'Commercial code', and so on. Mathglot (talk) 22:58, 25 January 2023 (UTC)Reply

Use {{Legifrance/base-decode}}. Mathglot (talk) 23:01, 25 February 2023 (UTC)Reply