Template:Poemquote/doc
This is a documentation subpage for Template:Poemquote. It contains usage information, categories and other content that is not part of the original template page. |
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:
{{poemquote |text=<!-- or: 1= -->Wikipedia One encyclopedia For all to edit |char=unnamed voice in author's head |sign= {{U|Davidwr}} |source=<!-- or 4= -->[[User:Davidwr/WikiHaiku20160820]] |title=<!-- or: 3= -->"A Wikipedia Haiku" |style=<!-- standard CSS style goes here --> }}
renders as
Wikipedia
One encyclopedia
For all to edit— unnamed voice in author's head, in Davidwr, "A Wikipedia Haiku", User:Davidwr/WikiHaiku20160820
Compare with Template:quote:
{{quote |text=<!-- or: 1= -->Wikipedia One encyclopedia For all to edit |char=unnamed voice in author's head |sign= {{U|Davidwr}} |source=<!-- or 4= -->[[User:Davidwr/WikiHaiku20160820]] |title=<!-- or: 3= -->"A Wikipedia Haiku" |style=<!-- standard CSS style goes here --> }}
renders as
Wikipedia
One encyclopedia
For all to edit
— unnamed voice in author's head, in Davidwr, "A Wikipedia Haiku", User:Davidwr/WikiHaiku20160820
Note that while the version above using Template:quote may appear to work in some browsers, the caution in Template:quote/doc should be heeded:
Use <poem>...</poem> around material, such as poems and interlinear glosses, that require that whitespace formatting be preserved as in the original. 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, not just block quotations.
Note that Template:Poemquote uses the Tag:#poem markup rather than using <poem>...</poem>. It works though.