Jump to content

Template:Symb/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template shows its first anonymous parameter in a large sans-serif font in a right-aligned box with light blue background. It’s intended for letters and other characters or graphic symbols. It’s also relatively safe to provide a standard image link instead.

If no value is specified for the first parameter it defaults to the page title as supplied by the {{PAGENAME}} MediaWiki “magic word”:

Symb/doc

If a second anonymous parameter is provided and its content is equal to serifs, the contents of the first parameter will be repeated on a second line in a serif font:


The above examples would normally float in a right-aligned box, but were changed to be inline for more clarity as to what goes with what. This was achieved by setting css parameter to float:initial;display:inline-block.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Symb in articles based on its TemplateData.

TemplateData for Symb

Character example rendered in a large font size

Template parameters

ParameterDescriptionTypeStatus
symbol1

The symbol(s) to display

Default
Title of the page
Stringoptional
Font style2

Switch, only possible value: ‘serifs’

Default
sans-serifs
Stringoptional
Extra CSScss

Extra CSS, can be used, for example, to change alignment

Default
Stringoptional

See also

[edit]
  • template:char, creates an inline, uncolored faint box around a symbol, for use when a symbol needs to be 'isolated' for analysis because it itself is the topic.
  • template:infobox symbol, shows the symbol much as this template does but in addition provides a framework for further information.
  • Use–mention distinction – a foundational concept of analytic philosophy, according to which it is necessary to make a distinction between using a word (or a phrase or a symbol), and mentioning it.