Difference between revisions of "Template:Char/doc"

From blackwiki
Jump to navigation Jump to search
imported>Spitzak
imported>Nardog
(underlines will no longer appear)
Line 6: Line 6:
 
== Usage ==
 
== Usage ==
 
<nowiki>{{char|x}}</nowiki> → {{char|x}}
 
<nowiki>{{char|x}}</nowiki> → {{char|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<br />
 
:<nowiki>{{char|[[x]]}}</nowiki> → {{char|[[x]]}}, <br />
 
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==
 
==See also==

Revision as of 22:16, 6 July 2020

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

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⟩