Template:codepoint/documentation
Jump to navigation
Jump to search
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)