Template:Noitalic/doc

From SynCell
Jump to navigation Jump to search

{{#invoke:Message box|mbox}} {{#invoke:Message box|ombox}} {{#invoke:High-use|main|1=|2=|info=|demo=|form=|expiry=|system=}} {{#invoke:Shortcut|main|template=yes}} {{#invoke:Uses TemplateStyles|main}}

This template (the opposite of {{#Invoke:Template link general|main|code=on}}) forcibly de-italicizes the input, regardless of any surrounding italics markup.

This template is generally intended for use inside other templates, not in running text in an article.

Usage

  • {{#Invoke:Template link general|main|code=on}}

To display text (text-string) in normal ("roman") font style within a context where the default font style is italic, e.g. header cells in certain infoboxes.

TemplateData

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

TemplateData for Noitalic

{{#invoke:Check for unknown parameters|check

|unknown= |template=Template:TemplateData header |1 |nolink |noheader

|preview=

Unknown parameter '_VALUE_' in Template:TemplateData header.

}} <templatedata> { "params": { "1": { "label": "Input text", "required": true, "type": "string" } }, "description": "Suppresses italics by wrapping it in a span with the class \"noitalic\".", "format": "inline" } </templatedata>

See also