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 2620:101:f000:780:51fa:a1c6:5d90:9992 (talk) at 21:03, 18 June 2019 (Forcing arrows to stay as text instead of emoji: 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 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+1680 ogham space mark 5760 ][ Yes Yes Ogham Ogham Separator,
space
Used 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)[reply]

Forcing arrows to stay as text instead of emoji

On my browser, the ◀︎ ▶︎ symbols render as emojis (i.e. ◀️ ▶️) in the following table (only for zero width joiner for whatever reason). This can be fixed with variant selectors, but they may be copy-pasted with the space if someone tries to copy it directly from the article. Are there other ways of fixing this?

Code point  Name  Decimal  within ◀▶   Wrap-
  pable
in IDN  Script   Block  General
 category
 Notes 
U+200D zero width joiner 8205 ◀‍▶ Yes Yes ? General
Punctuation
Other,
Format
ZWJ, zero-width joiner. When placed between two characters that would otherwise not be connected, a ZWJ causes them to be printed in their connected forms. HTML/XML named entity: &zwj;
U+200D zero width joiner 8205 ◀︎‍▶︎ Yes Yes ? General
Punctuation
Other,
Format
ZWJ, zero-width joiner. When placed between two characters that would otherwise not be connected, a ZWJ causes them to be printed in their connected forms. HTML/XML named entity: &zwj;