Difference between revisions of "Template:Char/doc"
Jump to navigation
Jump to search
imported>John Maynard Friedman (Embedded links deprecated) |
imported>Þjarkur (As I've removed the serif) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| − | For showing examples of typographic | + | For showing examples of typographic characters, 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. |
| − | |||
| − | |||
== Usage == | == Usage == | ||
<nowiki>{{char|x}}</nowiki> → {{char|x}} | <nowiki>{{char|x}}</nowiki> → {{char|x}} | ||
| Line 13: | Line 11: | ||
==See also== | ==See also== | ||
| − | * | + | * {{tl|code}} – sets the highlighted text in monospaced sans-serif, thus {{code|x}} |
| − | * | + | * {{tl|angbr}} – identifies the character as a [[grapheme]] by setting it between chevrons, thus {{angbr|x}} |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 22:47, 14 June 2020
| 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 characters, 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.
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
- {{code}} – sets the highlighted text in monospaced sans-serif, thus
x - {{angbr}} – identifies the character as a grapheme by setting it between chevrons, thus ⟨x⟩