Template talk:Sfn Legifrance

(Redirected from Template talk:Sfn Legifrance/sandbox)
Latest comment: 1 year ago by Mathglot in topic Proposed upgrade to default text value

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