Template:Yesitalic/doc
This is a documentation subpage for Template:Yesitalic. It may contain usage information, categories and other content that is not part of the original template page. |
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 uses TemplateStyles: |
This template (the opposite of {{noitalic}}
) forcibly italicizes the input, regardless of any surrounding italics markup (normally, if you have ''...''
markup and put something else italic inside it, the internal italics are reversed, which can be either intentional or undesirable, depending on the context).
This template is generally intended for use inside other templates, not in running text in an article.
Usage
[edit]{{yesitalic|text-string}}
To display the text (text-string) in an italic font style no matter what, such as a context in which the default font style is already set italic and using more italics would flip the style (as with including any of various italicizing templates inside infobox parameters that pre-italicize).
This template should not be used for, say, a book title mentioned in another book title, where the de-italicization of the embedded title is intentional and is the standard approach.
See also
[edit]