Template:Unicode/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(dne)
(Undid revision 370923533 by Plastikspork (talk))
Line 2: Line 2:


==Usage==
==Usage==
{{Interwikitmp-grp|V=D|cat=MSIE font fix templates|Unicode2}}
{{code|<nowiki>{{unicode|&amp;#x22CA;}}</nowiki>}} and {{code|<nowiki>{{unicode|&amp;#x22C9;}}</nowiki>}} give {{unicode|&#x22CA;}} and {{unicode|&#x22C9;}}.
{{code|<nowiki>{{unicode|&amp;#x22CA;}}</nowiki>}} and {{code|<nowiki>{{unicode|&amp;#x22C9;}}</nowiki>}} give {{unicode|&#x22CA;}} and {{unicode|&#x22C9;}}.
<!-- What is this???: (DePiep May 2010)-->
<!-- What is this???: (DePiep May 2010)-->
Line 9: Line 10:
<noinclude>
<noinclude>
;Ver: Update to late P2, P3 call forms. [[User:Fabartus|<B><font color="blue">Fra</font></B>]]<font color="green">[[User talk:Fabartus|nkB]]</font> 15:38, 10 February 2007 (UTC)
;Ver: Update to late P2, P3 call forms. [[User:Fabartus|<B><font color="blue">Fra</font></B>]]<font color="green">[[User talk:Fabartus|nkB]]</font> 15:38, 10 February 2007 (UTC)
{{Interwikitmp-grp|V=D|cat=MSIE font fix templates|Unicode2}}
</noinclude>
</noinclude>



Revision as of 04:30, 30 June 2010


Usage

Template:Interwikitmp-grp

​{{unicode|&amp;#x22CA;}}​

and

​{{unicode|&amp;#x22C9;}}​

give and .

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.

Template:Tiw containing:

Ver
Update to late P2, P3 call forms. FrankB 15:38, 10 February 2007 (UTC)


Purpose

This 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:

Guts of template

<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

{{unicode|&#x22CA;}} and {{unicode|&#x22C9;}} give and .

See also