Template:Italic block/sandbox
This is the template sandbox page for Template:Italic block. See also the companion subpage for test cases. |
This template uses TemplateStyles: |
This template uses block elements, e.g. See H:DIVSPAN for details. |
Normally body text is written using roman (or upright) font, while text with special meaning, such as emphasis or technical terms, is indicated using italics. However, sometimes authors choose to swap this convention for decorative purpose. This is the case for text inside this template. The split templates {{italic block/s}} and {{italic block/e}} are available for spanning page breaks.
Usage
[edit]Single parameter
[edit]Wiki text | Output |
---|---|
{{italic block|This text will be typeset using italic font. However, {{em text|emphasized}} or ''idiomatic'' text will be typeset in upright font. Multiple paragraphs can be put inside this template.}} | This text will be typeset using italic font. However, emphasized or idiomatic text will be typeset in upright font. Multiple paragraphs can be put inside this template. |
Start and end templates
[edit]Wiki text | Output |
---|---|
{{italic block/s}} This text will be typeset using italic font. However, {{em text|emphasized}} or ''idiomatic'' text will be typeset in upright font. Multiple paragraphs can be put inside this template. {{italic block/e}} |
This text will be typeset using italic font. However, emphasized or idiomatic text will be typeset in upright font. Multiple paragraphs can be put inside this template. |
See also
[edit]- {{italic}} for span version
- {{bold block}} for bold text
- {{normal}} to override the styling of a piece of text back to the "default" without indicating semantic purpose