Template:Poemquote: Difference between revisions
en>Primefac m (Protected "Template:Poemquote": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (ind...) |
m (1 revision imported) |
Latest revision as of 13:44, 9 February 2019
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
— John Roe, in Jane Doe, "My Dinner with Alien Invaders"
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 {{Quote}}; see there for further usage details.
Example
Markup | Renders as |
---|---|
|
|
Compare with {{Quote}}:
Markup | Renders as |
---|---|
|
|
Note that while the version above using {{Quote}} may appear to work in some browsers, it does not do so consistently in all of them. Use <poem>...</poem>
– or a template like {{Poemquote}}
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 {{Poemquote}} uses the Tag:#poem
markup rather than using <poem>
, it is functionally the same.)
TemplateData
TemplateData for Poemquote