Notice: file_put_contents(): Write of 118401 bytes failed with errno=28 No space left on device in /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php on line 36
Warning: http_response_code(): Cannot set response code - headers already sent (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 17
Warning: Cannot modify header information - headers already sent by (output started at /opt/frankenphp/design.onmedianet.com/app/src/Arsae/CacheManager.php:36) in /opt/frankenphp/design.onmedianet.com/app/src/Models/Response.php on line 20 Template:Poem quote - WikipediaJump to content
A template for quoting poems, song lyrics, and other things that have frequent line breaks and other things that would generally be ignored in standard wiki formatting. Based on {{Blockquote}}; see there for further usage details.
Example
Markup
Renders as
{{Poem quote|text=<!-- or: 1= -->The sun was shining on the sea,
Shining with all his might:
He did his very best to make
The billows smooth and bright--
And this was odd, because it was
The middle of the night.
|char=Tweedledum and Tweedledee
|sign=Lewis Carroll
|source=<!-- or 4= -->''Through the Looking-Glass''|title=<!-- or: 3= -->"The Walrus and The Carpenter"
|style=<!-- standard CSS style goes here -->}}
The sun was shining on the sea,
Shining with all his might:
He did his very best to make
The billows smooth and bright--
And this was odd, because it was
The middle of the night.
— Tweedledum and Tweedledee, in Lewis Carroll, "The Walrus and The Carpenter", Through the Looking-Glass
{{Blockquote|text=<!-- or: 1= -->The sun was shining on the sea,
Shining with all his might:
He did his very best to make
The billows smooth and bright--
And this was odd, because it was
The middle of the night.
|char=Tweedledum and Tweedledee
|sign=Lewis Carroll
|source=<!-- or 4= -->''Through the Looking-Glass''|title=<!-- or: 3= -->"The Walrus and The Carpenter"
|style=<!-- standard CSS style goes here -->}}
The sun was shining on the sea,
Shining with all his might:
He did his very best to make
The billows smooth and bright--
And this was odd, because it was
The middle of the night.
— Tweedledum and Tweedledee, in Lewis Carroll, "The Walrus and The Carpenter", Through the Looking-Glass
Note that while the version above using {{Blockquote}} may appear to work in some browsers, it does not do so consistently in all of them. Use <poem>...</poem> – or a template like {{Poem quote}} that implements it – around material that requires that whitespace formatting be preserved as in the original, such as poems and interlinear glosses. Due to limitations of how MediaWiki parses wikimarkup and HTML, attempts to do this by just inserting blank lines and extra spaces will not work. This is true of all block elements.
(Technical note: Although {{Poem quote}} uses the Tag:#poem markup rather than using <poem>, it is functionally the same.)
{{Blockquote}} variant for use with poems, song lyrics, and other quotations that require the use of frequent formatting elements such as line breaks and indentation (such as <br/>); requires substitution
{{Blockquote}} variant for use with poems, song lyrics, and other quotations that require the use of frequent formatting elements such as line breaks and indentation (such as <br/>); requires substitution. With optional attribution.
Designed to format poetry simply and reliably; it differs from {{Poem quote}} in two significant ways: it does not add spacing around the poem that sets it apart as “block quote”, and it automatically provides hanging indentation when lines are so long that they wrap