Template:Ppoem/testcases
Appearance
![]() | This is the template test cases page for the sandbox of Template:Ppoem. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Blank params
{{Ppoem}}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
Blank params
{{Ppoem|}}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
Various features
{{Ppoem| 1 <<< {{di|O}}nce upon a midnight dreary, while I pondered, weak and weary, Over many a quaint and curious volume of forgotten lore, {{fqm|"}}While I nodded, nearly napping, suddenly there came a tapping, As of some one gently rapping, rapping at my chamber door. "'Tis some visiter," I muttered, "tapping at my chamber door— >>> 5 ::::::{raven_green} Only this, and nothing more." >> {{sc|The Raven}} {raven_green} 2 <<< This stanza has the class <code>raven_green</code> applied To the whole stanza. >> This stanza is block-right-aligned Like this <> And this stanza is block-centred Like this >> {{sc|The Raven}} <> ''The End'' }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
1 Once upon a midnight dreary, while I pondered, weak and weary,Over many a quaint and curious volume of forgotten lore,"While I nodded, nearly napping, suddenly there came a tapping, As of some one gently rapping, rapping at my chamber door.5"'Tis some visiter," I muttered, "tapping at my chamber door— Only this, and nothing more."The Raven 2 This stanza has the class raven_green appliedTo the whole stanza.This stanza is block-right-alignedLike this And this stanza is block-centredLike this The Raven The End |
1 Once upon a midnight dreary, while I pondered, weak and weary,Over many a quaint and curious volume of forgotten lore,"While I nodded, nearly napping, suddenly there came a tapping, As of some one gently rapping, rapping at my chamber door.5"'Tis some visiter," I muttered, "tapping at my chamber door— Only this, and nothing more."The Raven 2 This stanza has the class raven_green appliedTo the whole stanza.This stanza is block-right-alignedLike this And this stanza is block-centredLike this The Raven The End |
Indent
{{block center|width=25em|style=border:1px solid red;| {{Ppoem| Once upon a midnight dreary, while I pondered, weak and weary, Over many a quaint and curious volume of forgotten lore, While I nodded, nearly napping, suddenly there came a tapping, As of some one gently rapping, rapping at my chamber door. "'Tis some visiter," I muttered, "tapping at my chamber door— ::::::Only this, and nothing more." }} }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
Once upon a midnight dreary, while I pondered, weak and weary,Over many a quaint and curious volume of forgotten lore,While I nodded, nearly napping, suddenly there came a tapping,As of some one gently rapping, rapping at my chamber door."'Tis some visiter," I muttered, "tapping at my chamber door— Only this, and nothing more." |
Once upon a midnight dreary, while I pondered, weak and weary,Over many a quaint and curious volume of forgotten lore,While I nodded, nearly napping, suddenly there came a tapping,As of some one gently rapping, rapping at my chamber door."'Tis some visiter," I muttered, "tapping at my chamber door— Only this, and nothing more." |
Page breaks
{{Ppoem|end=follow| This is the first page and the stanza }} {{Ppoem|start=follow|end=stanza| continues into this page. But then, the second page ends at the end of a stanza.}} {{Ppoem|start=stanza|end=same-line| And the next page is a new stanza. Then there is a really long }} {{Ppoem|start=same-line|end=close| ''line that continues onto the next page.'' And finally normal Lines to the end. }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
This is the firstpage and the stanza
continues into this page. But then, the secondpage ends at the end ofa stanza.
And the next pageis a new stanza.Then there is a really long
line that continues onto the next page. And finally normalLines to the end. |
This is the firstpage and the stanza
continues into this page. But then, the secondpage ends at the end ofa stanza.
And the next pageis a new stanza.Then there is a really long
line that continues onto the next page. And finally normalLines to the end. |
Drop initials
{{Ppoem| {{dropinitial|B|image=Examination and confession-b24926760-025.jpg|imgsize=80px}}EHOLD these acts and scan them well behold their pervers way: These left the lord, these did his truth which shold have ben their stay. {{dropinitial|B}}EHOLD these acts and scan them well behold their pervers way: These left the lord, these did his truth which shold have ben their stay. {{dropinitial|B|fl="}}EHOLD these acts and scan them well behold their pervers way: These left the lord, these did his truth which shold have ben their stay. }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
![]() BEHOLD these acts and scan them wellbehold their pervers way:These left the lord, these did his truthwhich shold have ben their stay. "BEHOLD these acts and scan them wellbehold their pervers way:These left the lord, these did his truthwhich shold have ben their stay. |
![]() BEHOLD these acts and scan them wellbehold their pervers way:These left the lord, these did his truthwhich shold have ben their stay. "BEHOLD these acts and scan them wellbehold their pervers way:These left the lord, these did his truthwhich shold have ben their stay. |
Braces
{{Ppoem| No Place so Sacred from such Fops is barr'd, Nor is ''Paul's Church'' more safe than ''Paul's Church-yard'': Nay, run to ''Altars''; ''there'' they'll talk you dead; For ''Fools'' rush in where ''Angels'' fear to tread. Distrustful ''Sense'' with modest Caution speaks; >>> {{brace2|3|r}} It still ''looks home'', and ''short Excursions'' makes; But ''ratling'' Nonsense in full ''Vollies'' breaks; }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
No Place so Sacred from such Fops is barr'd,Nor is Paul's Church more safe than Paul's Church-yard:Nay, run to Altars; there they'll talk you dead;For Fools rush in where Angels fear to tread.Distrustful Sense with modest Caution speaks;It still looks home, and short Excursions makes;But ratling Nonsense in full Vollies breaks; |
No Place so Sacred from such Fops is barr'd,Nor is Paul's Church more safe than Paul's Church-yard:Nay, run to Altars; there they'll talk you dead;For Fools rush in where Angels fear to tread.Distrustful Sense with modest Caution speaks;It still looks home, and short Excursions makes;But ratling Nonsense in full Vollies breaks; |
Floating punctuation
{{Ppoem| {{fqm}}No Place so Sacred from such Fops is barr'd, Nor is ''Paul's Church'' more safe than ''Paul's Church-yard'': Nay, run to ''Altars''; ''there'' they'll talk you dead; }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
"No Place so Sacred from such Fops is barr'd,Nor is Paul's Church more safe than Paul's Church-yard:Nay, run to Altars; there they'll talk you dead; |
"No Place so Sacred from such Fops is barr'd,Nor is Paul's Church more safe than Paul's Church-yard:Nay, run to Altars; there they'll talk you dead; |
Line-beginning >>>
{{Ppoem| This is a normal line, and >>> this word was right-floated. }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
This is a normal line, andthis word was right-floated. |
This is a normal line, andthis word was right-floated. |
Internal rules
{{Ppoem| This is a the end of a verse {{rule|4em}} And this is the next one. }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
This is a the end of a verse And this is the next one. |
This is a the end of a verse And this is the next one. |
Internal rules
{{Ppoem| This is a the end of a verse {{rule|4em}} And this is the next one. }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
This is a the end of a verse And this is the next one. |
This is a the end of a verse And this is the next one. |
Internal rules
{{Ppoem| This is a the end of a verse <> {{bar|4}} And this is the next one. }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
This is a the end of a verse And this is the next one. |
This is a the end of a verse And this is the next one. |
Internal rules (proposed syntax -single rule)
{{Ppoem| This is a the end of a verse <-:4> And this is the next one. }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
This is a the end of a verse<-:4>And this is the next one. |
This is a the end of a verse<-:4>And this is the next one. |
Internal rules (proposed syntax double rule)
{{Ppoem| This is a the end of a verse <--:4> And this is the next one. }}
{{Ppoem}} | {{Ppoem/sandbox}} |
---|---|
This is a the end of a verse<--:4>And this is the next one. |
This is a the end of a verse<--:4>And this is the next one. |