ਫਰਮਾ:Italic/doc
ਦਿੱਖ
This is a documentation subpage for ਫਰਮਾ:Italic. It contains usage information, categories and other content that is not part of the original ਫਰਮਾ page. |
This template uses a See H:DIVSPAN for details. |
Template to swap italic and roman text within a span of text. This template can be used to change font style to italic without indicating a semantic purpose, i.e., for purely decorative reasons. Contrast this usage with the two straight apostrophes (''like this''
), which indicate a technical term or alternative mood, and the {{em text}} template, which indicates an emphasis.
Note that using two straight apostrophes and {{em text}} within this template changes the font style back to upright.
Usage
[ਸੋਧੋ]Wiki text | Output |
---|---|
{{italic|This text will be typeset using italic font. However, {{em text|emphasized}} or ''idiomatic'' text will be typeset in upright font.}} | This text will be typeset using italic font. However, emphasized or idiomatic text will be typeset in upright font. |
See also
[ਸੋਧੋ]- {{italic block}} the
div
version of this template, which can contain multiple paragraphs - {{normal}} remove italics in an otherwise italic span or block
- {{em text}}, for emphasized text, which is usually italicized in web browsers
- {{cite}}, for titles of creative works