This is a documentation subpage for Template:Poem. It may contain usage information, categories and other content that is not part of the original template page. |
This template should always be substituted (i.e., use
This template, often abbreviated as {{}}, is used to provide stylized formatting to template displays without actually using the template itself. The code generated will be displayed inline. For a multi-line output, see {{tj}}. ParametersWith the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.
Unnamed (Positional)This template can take any number of unnamed parameters as parameters accompanying the template link (or name); see Examples below. Examples
See alsoGeneral-purpose formatting
Other formatting templates
With utility links
|
This template invokes the <poem>
MediaWiki extension in order to render line breaks properly. See also {{Break lines}} for doing the same without the <poem>
MediaWiki extension.
Usage
Adds the <poem>
markup to a piece of text.
Markup | Renders as |
---|---|
{{subst:poem| In Xanadu did Kubla Khan A stately pleasure-dome decree: Where Alph, the sacred river, ran Through caverns measureless to man Down to a sunless sea. So twice five miles of fertile ground With walls and towers were girdled round: And there were gardens bright with sinuous rills, Where blossomed many an incense-bearing tree; And here were forests ancient as the hills, Enfolding sunny spots of greenery. }} |
<poem> In Xanadu did Kubla Khan A stately pleasure-dome decree: Where Alph, the sacred river, ran Through caverns measureless to man Down to a sunless sea. So twice five miles of fertile ground With walls and towers were girdled round: And there were gardens bright with sinuous rills, Where blossomed many an incense-bearing tree; And here were forests ancient as the hills, Enfolding sunny spots of greenery. </poem> |
See also