This is the template test cases page for the sandbox of Template:Ppoem. Purge this page 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 with these links:
{{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''
}}
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 applied To the whole stanza.
This stanza is block-right-aligned Like this
And this stanza is block-centred Like this
The Raven
The End
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
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."
}}
}}
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."
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
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.
}}
This is the first page and the stanza continues into this page.
But then, the second page ends at the end of a stanza.
And the next page is a new stanza. Then there is a really long
line that continues onto the next page.
And finally normal Lines to the end.
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
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.
}}
}}
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.
BEHOLD these acts and scan them well behold their pervers way: These left the lord, these did his truth which shold have ben their stay.
"BEHOLD these acts and scan them well behold their pervers way: These left the lord, these did his truth which shold have ben their stay.
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
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;
}}
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;
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
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;
}}
"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;
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.
Blank params.
{{ppoem|}}
Lua error in Module:Ppoem/sandbox at line 365: assign to undeclared variable 'args'.