You are not currently logged in. Are you accessing the unsecure (http) portal? Click here to switch to the secure portal. |
Do you have permission to re-use this image? Just because scans appear on Wiktenauer does not mean that they are free to use. Wiktenauer is a 501(c)(3) nonprofit, and many of the scans we host are only licensed for nonprofit use. In other cases, the scans have no standard license and Wiktenauer has received special permission to host them (and can't grant that permission to anyone else). The license terms appear in the Copyright and License Terms box at the bottom of the page that sent you here. When in doubt, always check with the museum or library that owns a manuscript before publishing or otherwise reusing its scans. |
Template:Unicode/doc
This is a documentation subpage for Template:Unicode. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Contents |
Usage
This template sets the font for its argument to one which is likely to support special symbols. The argument is specified using HTML character encoding, either in decimal (e.g. {) or hexadecimal (e.g. ©). Examples:
{{unicode|⋊}}
--> ⋊{{unicode|⋊}}
--> ⋊{{unicode|⋊}}
--> ⋊ (this may look trivial, but could be helpful in some browsers)
or
{{unicode|⋉}}
--> ⋉{{unicode|⋉}}
--> ⋉{{unicode|⋉}}
--> ⋉
Purpose
This template was created to allow easy switching to unicode fonts. It should only be used for characters which do not render correctly on some browsers, such as Microsoft Internet Explorer on Windows XP.
The fonts selected are designed to maximize the probability of rendering 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.
Internals
The source for the template is:
<span class="Unicode">{{{1}}}</span>
and class="Unicode" is defined in MediaWiki:Common.js as follows:
.Unicode {
font-family: "Arial Unicode MS", "Lucida Sans Unicode";
}
Note it defines this only for Windows XP.
You can override this with your own Unicode class definition in your personal stylesheet (e.g. User:username/common.css).
See also
- {{IPA}} – to produce symbols from the International Phonetic Alphabet
- {{transl}} – generic romanization
- {{script}} – Scripts in Unicode navigation box
- {{UnicodeTitle}}
- {{unichar}} to format an Unicode character description
|