Template:Poem quote
- العربية
- অসমীয়া
- Авар
- Azərbaycanca
- Basa Bali
- भोजपुरी
- বাংলা
- Cymraeg
- فارسی
- Suomi
- Jaku Iban
- 日本語
- Qaraqalpaqsha
- Kumoring
- 한국어
- کٲشُر
- Македонски
- മലയാളം
- Bahasa Melayu
- မြန်မာဘာသာ
- नेपाली
- Nederlands
- Português
- Română
- Русский
- Scots
- سنڌي
- සිංහල
- Simple English
- Slovenščina
- Српски / srpski
- ไทย
- Українська
- اردو
- Oʻzbekcha / ўзбекча
- Tiếng Việt
- 中文
| 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
| 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 --> }} |
—Tweedledum and Tweedledee, inLewis Carroll, "The Walrus and The Carpenter", Through the Looking-Glass |
Compare with {{Blockquote }}:
| Markup | Renders as |
|---|---|
{{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 --> }} |
—Tweedledum and Tweedledee, inLewis 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
TemplateData for Poem quote
Adds a block quotation.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| text | text 1 quote | The text to quote | Content | required |
| char | char | The character being quoted
| Content | suggested |
| sign | sign 2 cite author | The person being quoted
| Content | suggested |
| title | title 3 | The title of the poem being quoted
| Content | suggested |
| source | source 4 | A source for the quote
| Content | suggested |
| style | style | Standard CSS style | String | optional |
See also
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.