Template talk:Whitespace (Unicode)
Appearance
![]() | Writing systems Template‑class | ||||||
|
Reference syntax help needed
As you can see, I'm getting errors with the named reference "ws"; after reading Help:List-defined references, I'm still not sure what I'm doing wrong. Any experts about? -- Beland (talk) 06:02, 12 October 2014 (UTC)
- Checking: weird. When I copy full template code, with the /doc, in my User:DePiep/sandbox2 (Userspace), the red texts do not show. The refs show orderly. (However, that clean show does not look like 'as intended', we'd expect reference "a." and "b." only right).
- Could it be that, when we change that presentation into a more 'intended' one, the red error might be gone too? (btw, I'm going offline and one can edit as preferred, don't wait for me). -DePiep (talk) 10:13, 12 October 2014 (UTC)
Huon managed to at least fix the error. He wrote the following on my personal talk page. -- Beland (talk) 18:20, 22 October 2014 (UTC)
- I have no idea why, but changing the order of the references within the {{reflist}} template helped. Personally I'd say the better solution would be to take apart the group of list-defined nested references and instead use less interlaced components. Huon (talk) 17:31, 21 October 2014 (UTC)
Suggestion of coloring the whitespace demos
- I feel that the "within ][" column doesn't help us much enough to see the actual width of a whitespace character. How about giving all demos "background-color" attribute? something like this:
Unicode character property "WSpace=Y" Code point Name Decimal within "][" Wrap-
pable?in IDN? Script Block General
categoryNotes U+00A0 no-break space 160 ] [ No No Common Latin-1
SupplementSeparator, space
Non-breaking space: identical to.... U+1680 ogham space mark 5760 ] [ Yes Yes Ogham Ogham Separator,
spaceUsed for interword separation in....
- here's the code:
<span style="color:navy;background-color:yellow"><span style="background-color:blue"><nowiki>]</nowiki></span>anyspace<span style="color:navy;background-color:blue"><nowiki>[</nowiki></span></span>
We can give them a new column if we need to keep the colorless demos. Wbxshiori (talk) 12:42, 5 June 2017 (UTC)