Mal:Char/dok

Fra Wikipedia, den frie encyklopedi

Formål[rediger kilde]

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 {{Vinkelparenteser}}. 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 {{Kode}} or {{Tastekombo}} or quotation marks or any brackets other than angle brackets.

Bruk[rediger kilde]

{{char|x}}x

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.

TemplateData[rediger kilde]

Dette er TemplateData-dokumentasjonen for malen, som brukes av VisualEditor og andre verktøy.

Char

Ingen beskrivelse.

Malparametre

ParameterBeskrivelseTypeStatus
Ingen parametre ble angitt

Eksempler[rediger kilde]

Se også[rediger kilde]

  • {{Kode}}: sets the highlighted text in monospaced sans-serif, thus x
  • {{Vinkelparenteser}}: identifies the character as a grapheme by setting it between angle brackets, thus ⟨x⟩
  • {{symb}}: shows a symbol in a very large sans-serif font, in a right-aligned box with light blue background.