Template:Unicode/doc

Template:TOCright Contents

1 Usage 2 Purpose 3 Internals 4 See also

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. &#123;) or hexadecimal (e.g. &#xA9;). Examples:

Template:Code --> ⋊ Template:Code --> ⋊ Template:Code --> ⋊ (this may look trivial, but could be helpful in some browsers)

or

Template:Code --> ⋉ Template:Code --> ⋉ Template:Code --> ⋉

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.

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. For various non-Latin scripts, use if possible, or  otherwise.

Internals

The source for the template is:

and class="Unicode" is defined in MediaWiki:Common.js as follows:

.Unicode { font-family: "Arial Unicode MS", "Lucida Sans Unicode"; }

You can override this with your own Unicode class definition in your personal stylesheet (e.g. User:username/common.css). See also

– to produce symbols from the International Phonetic Alphabet – generic romanization – Scripts in Unicode navigation box to format an Unicode character description

Template:Unicode templatesar:قالب:يونيكود be-x-old:Шаблён:Юнікод bg:Шаблон:Уникод de:Vorlage:Unicode dsb:Pśedłoga:Unicode es:Plantilla:Unicode eo:Ŝablono:Unicode ko:틀:Unicode hsb:Předłoha:Unicode hr:Predložak:Unicode it:Template:Unicode ja:Template:Unicode mk:Шаблон:Уникод nl:Sjabloon:Unicode pl:Szablon:Unicode pnt:Πρότυπον:Unicode pt:Predefinição:Unicode ro:Format:Unicode ru:Шаблон:Unicode sq:Stampa:Unicode simple:Template:Unicode fi:Malline:Unicode vi:Tiêu bản:Unicode zh:Template:Unicode