Template talk:ISO 15924 code
(Redirected from Template talk:ISO 15924 code/sandbox)
Latest comment: 3 years ago by Drmccreedy in topic Code update
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Change suggestions
edit@Drmccreedy: About {{ISO 15924 code}} I propose (see diff):
1. Remove "lc-first" enforcing: input should be formatted OK by itself. That is: "Xxxx". (Who knows what we accept when input is formatted wrong?)
- Should be OK, but needs a check for mainspace effectrs (through/in {{here}}).
- The way I read the uc/lc part is that it allows "latn", "LATN", or "lAtN" as input with the same result as "Latn". This seems friendly to editors who may not know the Xxxx convention. Not sure I'd remove that. Everything else seems fine. DRMcCreedy (talk) 21:45, 2 February 2021 (UTC)
2. Add code range option "Qaaa-Qabx", to be recognised. Same for numerical range 900-949.
3. minor: same #switch-options are on single line (no effect, more overview of code).
- That range of ISO-codes could show better, for example in {{here}}. This addition does not alter existing options (including distinct Qaaa, Qabx), so these are safe and won't change effect. After this change we can change other templates to show "Qaaa-Qabx" data all right: as a single data entry.
Tests are {{here}}. BTW, both "-" and NDASH are recognised. What do you think? -DePiep (talk) 18:34, 2 February 2021 (UTC)
Template-protected edit request on 2 February 2021
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
- Request: Please replace all {{ISO 15924 code}} with /sandbox code (diff).
- Changes are:
- (1) Put all same-#switch-hit in one line (minor change, zero effect)
- (2) Add input options Qaaa-Qabx; 900-949, having "-" hyphen or "–" ndash.
- Talks and ratio: "Add option single-line Qaaa-Qabx". See § Change suggestions. Testcases: /testcases. Ping @Drmccreedy:. DePiep (talk) 22:54, 2 February 2021 (UTC)
Code update
editDrmccreedy, could you update this template with the sandbox code please (diff)?
- Change:
- 1. Add parameter
|alpha4=
, to spread named parameter usage to prevent confusion. Existing parameter|1=
behaviour unchanged. - 3. Not changed: the list itself.
- 1. Add parameter
- -DePiep (talk) 23:54, 18 February 2021 (UTC)