Difference between revisions of "Template:Char"
imported>Spitzak (→top: Removed the serif selector as it seems to have been a primery complaint. Also this makes it much easier for editor to do their own font selection.) |
imported>Nardog (class="nounderlines") |
||
| Line 1: | Line 1: | ||
| − | {{Template for discussion/dated|action=|page=Char|link=Wikipedia:Templates for discussion/Log/2020 July 6#Template:Char|type=disabled|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}<includeonly><span style="border: 1px solid #ddd; background-color: #fdfdfd; padding: 1px 1px;">{{{1}}}</span></includeonly><noinclude>{{documentation}}</noinclude> | + | {{Template for discussion/dated|action=|page=Char|link=Wikipedia:Templates for discussion/Log/2020 July 6#Template:Char|type=disabled|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}<includeonly><span class="nounderlines" style="border: 1px solid #ddd; background-color: #fdfdfd; padding: 1px 1px;">{{{1}}}</span></includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 22:15, 6 July 2020
Template:Template for discussion/dated
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.
After much discussion it was decided that it is preferable to use nothing around the character, or template:angbr. This template should only be used when it is necessary to clearly show what part of a glyph is surrounding whitespace, for very tiny glyphs, for when angle brackets are confusing (such as when the character is itself a bracket). This template is considered preferable to using template:code or template:key or quotation marks or any brackets other than angle brackets.
Usage
{{char|x}} → Template:Template for discussion/datedx
This purposely does not change the font, though it removes underscores if the contents are linked. It is recommended that any desired font markup be put inside the template so that if it changed to print surrounding characters instead of a box the markup will not apply to those surrounding characters.
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⟩
| The above documentation is transcluded from Template:Char/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |