Template:codepoint/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:codepoint. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template generates a textual reference to a Unicode codepoint. Implemented with Module:Unicode data/templates/codepoint.

Parameters

[edit]
|1= (required)
The codepoint, either given as a single character or in the notation U+xxxx.
|display=
Whether to display the referenced character. Done by default if the codepoint is assigned and represents a printable non-whitespace character.
|link=
Whether to display a link to the referenced character. Done by default if the codepoint is assigned and represents a printable character. If the character is displayed, the link will be added to the character, and otherwise to the hexadecimal notation.
|plain=1
Automatically specifies |display=0, |link=0.
|html=1
Displays a HTML entity representation.
|noname=1
Hides the character name.

Examples

[edit]

{{codepoint|U+2010}}

(U+2010 HYPHEN)

{{codepoint|U+2010|display=0}}

U+2010 HYPHEN

{{codepoint|:}}

: (U+003A COLON)