Template:Char/doc
| This is a documentation subpage for Template:Char. It contains usage information, categories and other content that is not part of the original template page. |
For showing examples of typographic symbols, using a box designed to look a bit like a metal typeface. This is to replace many uses of parenthesis, quotes, etc being used to show this, for consistent style and to avoid confusion as to what glyphs are actually part of the symbol.
Generally messing with the font or size has produced unattractive results, so this leaves all formatting unchanged from the main text. Note that mono is the primary reason template:code could not be used.
Usage
{{char|x}} → x
Embedded links deprecated
The purpose of this template is to show the character as simply and as cleanly as possible. Consequently, although it is technically possible to write
- {{char|[[x]]}} → x,
this practice is deprecated because hyperlinks are generally indicated by adding an underscore to the glyph, which will mean that the image shown is no longer accurate.
See also
- Template:code: sets the highlighted text in monospaced sans-serif, thus
x - Template:angbr: identifies the character as a grapheme by setting it between angle brackets, thus ⟨x⟩