Template:Noitalic/sandbox
Appearance
{{{1}}}
![]() | This is the template sandbox page for Template:Noitalic (diff). See also the companion subpage for test cases. |
![]() | This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see Wikipedia:COinS. |
![]() | This template is used on approximately 4,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses TemplateStyles: |
This template (the opposite of {{yesitalic}}
) 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
[edit]{{noitalic|text-string}}
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
[edit]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
Suppresses italics by wrapping it in a span with the class "noitalic".
Parameter | Description | Type | Status | |
---|---|---|---|---|
Input text | 1 | no description | String | required |