• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Poem quote

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 3,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Block indentation templates
  • v
  • t
  • e
Use case Template
Long quotations {{Blockquote}}
With line breaks ⏎ {{Poem quote}}
Non-quotations {{Block indent}}
{{Indent 5}} (inline)
Math formulae See <math> blocks

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

MarkupRenders as
<syntaxhighlight lang="wikitext">
{{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 -->
}}</syntaxhighlight>

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

Compare with {{Blockquote}}:

MarkupRenders as
<syntaxhighlight lang="wikitext">
{{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 -->
}}</syntaxhighlight>

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.)

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Poem quote in articles based on its TemplateData.

TemplateData for Poem quote

Adds a block quotation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
texttext 1 quote

The text to quote

Contentrequired
charchar

The character being quoted

Example
Alice
Contentsuggested
signsign 2 cite author

The person being quoted

Example
Lewis Carroll
Contentsuggested
titletitle 3

The title of the poem being quoted

Example
Jabberwocky
Contentsuggested
sourcesource 4

A source for the quote

Example
Through the Looking-Glass, and What Alice Found There
Contentsuggested
stylestyle

Standard CSS style

Stringoptional

See also

  • v
  • t
  • e
Quotation templates
Template  Use / description 
↓ Block indentation for quotations See MOS:BLOCKQUOTE
{{Blockquote}} Standard block quotation template for quotations only: unbordered page-wide quotation with optional smaller-sized attribution
{{Numbered verses}} Quote poems showing the verse numbers
{{Poem}} {{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
{{Poem quote}} {{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.
{{Poetically break lines}} (shortcut: {{pbl}}) 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
{{Translated blockquote}} Displays original language above and translated text below
{{Text and translation}} Displays original language and translated text, one beside the other
{{Verse translation}} Displays original language verse (defaults to italics) and translated verse (roman) side-by-side
{{Verse transliteration-translation}} Like {{Verse translation}}, but with a transliteration separate from the original version
{{Cquote}} "centered quote" – Page-wide quote, between large quotation marks
{{Rquote}} "reduced quote" – Quote between large quotation marks in a reduced floating area
{{Quote frame}} Page-wide bordered quote
{{Quote box}} Quote floated in a reduced bordered box
{{Tweet}} For quoting directly from tweets. Automatically generates {{Cite tweet}} citation, or a custom reference can be provided.
  
↓ Talk page quoting Not for use in articles
{{Talk quote inline}}
(shortcut: {{tq}},
{{tqq}}, {{tqi}}, or {{tqqi}})
Inline quotation for use on talk pages
{{Not talk quote inline}}
(shortcut: {{!tq}},
{{!tqq}}, {{!tqi}}, or {{!tqqi}})
Inline quotation for what someone didn't say but could have, or perhaps should have, said.
{{Talk quote block}}
(shortcut: {{tqb}}, {{tq2}})
Block-style quotation for use on talk pages
{{Talk quote block minimalist}}
(shortcut: {{tqbm}})
Minimalist version of above
  
↓ Block indentations for non-quotations See MOS:INDENT
{{Block indent}} To indent an entire block of content (uses <div> and CSS margins)
{{Divbox}} To frame messages or the example output of an article or template
The above documentation is transcluded from Template:Poem quote/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Poem_quote&oldid=1252325093"