Template:Char

From OpenStreetMap Wiki
Jump to navigation Jump to search
[Edit] [Purge] Template-info.svg Template documentation

Inserts the character or characters represented by the given Unicode codepoints.

Usage

This template takes a variable number of arguments. Each argument is a Unicode codepoint number, which may be expressed in either decimal or hexadecimal form (such as 0x1ec5). The template converts each codepoint number into the corresponding character and concatenates the characters. This template can be used as a workaround for the bug that this MediaWiki installation truncates page content at the first surrogate pair, affecting many emoji for instance. [1]

  • {{char|0x1f3f3|0xfe0f|0x200d|0x1f308}} → 🏳️‍🌈

See also