Template:Noitalic/doc: Difference between revisions
imported>SWinxy ({{Template shortcut}}; misc) |
(No difference)
|
Latest revision as of 14:42, 12 August 2023
{{#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
TemplateData for Noitalic
{{#invoke:Check for unknown parameters|check
|unknown= |template=Template:TemplateData header |1 |nolink |noheader
|preview=
}} <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