Template:Ucname
| This template uses Lua: |
Usage
[edit]This template returns the Unicode canonical name of a character, given its number. For example,
- {{ucname|00ae}}
returns
- Registered sign
The name can be turned into a wikilink by using the |nlink= parameter. Using a blank nlink will create a link that points to the name of the character, otherwise the link will be pointing to the contents of the nlink parameter.
For example,
- {{ucname|005e|nlink=}}
returns
while
{{ucname|005e|nlink=Caret}}Not currently working as planned.
The number is hexadecimal. (The decimal code for a character will not be recognised as such and be treated as the hexadecimal code for some other character). Leading zeros or lowercase form are not required (e.g., 00ae and AE are treated identically) but are used here for clarity.
See also
[edit]for more a comprehensive response.