Jump to content

Template talk:Whitespace (Unicode)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wbxshiori (talk | contribs) at 12:42, 5 June 2017 (Suggestion of coloring the whitespace demos: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconWriting systems Template‑class
WikiProject iconThis template falls within the scope of WikiProject Writing systems, a WikiProject interested in improving the encyclopaedic coverage and content of articles relating to writing systems on Wikipedia. If you would like to help out, you are welcome to drop by the project page and/or leave a query at the project’s talk page.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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 the demos "background-color" attribute? something like this:
Unicode character property "WSpace=Y"
Code point  Name  Decimal  within "]["   Wrap-
  pable
 in IDN  Script   Block  General
 category
 Notes 
U+00A0 no-break space 160 ] [ No No Common Latin-1
Supplement
Separator,
space
Non-breaking space: identical to U+0020, but not a point at which a line may be broken. HTML/XML named entity:  , LaTeX: '\ '
U+1680 ogham space mark 5760 ][ Yes Yes Ogham Ogham Separator,
space
Used for interword separation in Ogham text. Normally a vertical line in vertical text or a horizontal line in horizontal text, but may also be a blank space in "stemless" fonts. Requires an Ogham font.
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)[reply]