Template:Unicode character link

From Terraria Wiki
Jump to navigation Jump to search
Important.svg
CAUTION: Terraria Wiki code is complex!!!
If you want to use this code on another wiki, wiki.gg staff are not able to assist you.
Please consider picking a different wiki to adapt code from, or making your own templates!
Remember that content on a wiki is more important than fancy formatting.
Template-info.svg Documentation The documentation below is transcluded from Template:Unicode character link/doc. (edit | history)

Displays the code point and name of a Unicode character (not the character itself) in a standardized way, along with a link to an info page about the character at symbl.cc.

Usage

{{ unicode character link | <hexadecimal code point> | <character name> (optional) | nl/nolink = y/yes }}

First unnamed parameter

Code point of the character, in hexadecimal four-digit format and without the U+ prefix, e.g. 0030.

Second unnamed parameter

Name of the Unicode character, will be stylized in all-uppercase in a smaller font size.

nl or nolink

Suppresses the link and only applies the formatting.

Examples

Code Result
{{unicode character link|2192}} U+2192
{{unicode character link|2192|rightwards arrow}} U+2192 RIGHTWARDS ARROW
{{unicode character link|2192|nl=y}} U+2192
{{unicode character link|2192|rightwards arrow|nl=y}} U+2192 RIGHTWARDS ARROW