Teamplaid:Unicode/doc
This is a documentation subpage for Teamplaid:Unicode. It contains usage information, categories and other content that is not part of the original teamplaid page. |
Usage
deasaich- This portion ported as usage from en.wikipedia talk page w:template talk:unicode
- Problems and talk discussions should be posted to that page which the programmers have watchlisted.
Teamplaid:unicode (talk, backlinks, edit) containing:
Similar templates at English sister projects [edit] | |||
---|---|---|---|
mta | Meta-wiki | Unicode/doc | |
wpd | Wikipedia | Unicode/doc | |
cms | Commons | Unicode/doc | |
wbk | Wikibooks | Unicode/doc | |
wsp | Wikispecies | Unicode/doc | |
wvy | Wikiversity | Unicode/doc |
Purpose
deasaichThis template was created to allow easy switching to unicode fonts. It should only be used in cases where characters do otherwise not render correctly on some browsers, such as Microsoft Internet Explorer.
The fonts selected are designed to maximize the probability to render uncommon Unicode characters correctly. However, different fonts cover different Unicode ranges. It is probably mostly useful for various Unicode symbols. Do not use it for the following:
- For strings in the International Phonetic Alphabet, use {{IPA}}.
- for various non-Latin scripts, use {{lang}} if possible, or {{script}} otherwise.
- for MUFI encoding (non-Unicode), use {{mufi}}.
Guts of template
deasaich<span class="Unicode">{{{1}}}</span>.
wherein class="Unicode" is defined in MediaWiki:Common.css; this class at present selects the fonts
- Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Free Sans", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode";
A personal stylesheet (/monobook.css &c, class .Unicode) may be used to enforce a "prettier" display where preferred.
Examples
deasaich{{unicode|⋊}} and {{unicode|⋉}} give ⋊ and ⋉.
See also
deasaich- {{latinx}} — favours fonts supporting all the characters in the Latin Exteneded B range (includes Old/Middle English).
- {{IPA}} — International Phonetic Alphabet.
- {{mufi}} — Forces a font which supports the MUFI characters.
- {{transl}} — generic romanization
- {{script}}