Fyrimynd:Zwj/doc
Hetta er ein dokumentatión undirsíða til Fyrimynd:Zwj. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
The template {{zwj}} inserts the code
‍
, producing a U+200D zero-width joiner (HTML ‍
· ‍
) in the rendered wiki-page. This invisibly 'sews together' two words as if they were a single word, preventing their separation at line breaks. It acts as a {{no-break space}}
except is immaterial and does not display on the page.
Nýtsla
[rætta wikitekst]This template can be used, for example, to prevent text to wrap as in:
- something that needs a citation
Fyrimynd:Fake citation needed
Inserting {{zwj}}
between the text and the tag produces instead:
- something that needs a citationFyrimynd:Fake citation needed
Søga
[rætta wikitekst]This template used to employ code of the older "Zero-width non-breaking space" that is now outdated, as of Unicode 3.2. Though Unicode suggests a Word Joiner instead, zero-width joiner does practically the same thing and better matches the already-existing {{zwnj}}. An alternative is to simply use the HTML code
‍
in wikimarkup.
Sí eisini
[rætta wikitekst]- {{Zwnj}} (zero-width non-joiner, allows two pieces of text to wrap when they otherwise wouldn't)
- {{Spaces}} (no-break spaces)
- {{Nbhyph}} (no-break hyphen)
- {{Shy}} (soft hyphen)