সাঁচ:Poem quote
|
|
This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
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
[সম্পাদনা কৰক]| লিপি | প্ৰদৰ্শন কৰে |
|---|---|
<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> |
|
Compare with {{Blockquote}}:
| লিপি | প্ৰদৰ্শন কৰে |
|---|---|
<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>
|
|
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></poem>, it is functionally the same.)
TemplateData
[সম্পাদনা কৰক]See the monthly error report for this template.
TemplateData for Poem quote
Adds a block quotation.
| পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
|---|---|---|---|---|
| text | text 1 quote | The text to quote | সমল | প্ৰয়োজনীয় |
| char | char | The character being quoted
| সমল | প্ৰস্তাৱিত |
| sign | sign 2 cite author | The person being quoted
| সমল | প্ৰস্তাৱিত |
| title | title 3 | The title of the poem being quoted
| সমল | প্ৰস্তাৱিত |
| source | source 4 | A source for the quote
| সমল | প্ৰস্তাৱিত |
| style | style | Standard CSS style | ষ্ট্ৰিং | ঐচ্ছিক |
See also
[সম্পাদনা কৰক]| The above documentation is transcluded from সাঁচ:Poem quote/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |