Difference between revisions of "Template:Char"

From blackwiki
Jump to navigation Jump to search
imported>Pppery
(Nor is this. I see no reason this template merits special treatment, unlike nearly all other transcluded templates listed at TfD)
imported>Þjarkur
(Reverted to revision 966306748 by Nardog: Absolutely not possible in this case, completely ruines hundreds of articles and makes them incomprehensible. I will personally send notifications on each talk page where this template is used instead if that is requested. (TW))
Line 1: Line 1:
{{Template for discussion/dated|action=|page=Char|link=Wikipedia:Templates for discussion/Log/2020 July 6#Template:Char|type=inline|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}<includeonly><span style="border: 1px solid #ddd; background-color: #fdfdfd; padding: 1px 1px; font-family: serif;">{{{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 style="border: 1px solid #ddd; background-color: #fdfdfd; padding: 1px 1px; font-family: serif;">{{{1}}}</span></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 15:56, 6 July 2020

Template:Template for discussion/dated

Template documentation[view] [edit] [history] [purge]

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⟩