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 with these links: |
Blank params | ||||
---|---|---|---|---|
{{Ppoem}}
|
Blank params | ||||
---|---|---|---|---|
{{Ppoem|}}
|
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'' }}
|
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." }} }}
|
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. }}
|
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. }}
|
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; }}
|
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; }}
|
Line-beginning >>> | ||||
---|---|---|---|---|
{{Ppoem| This is a normal line, and >>> this word was right-floated. }}
|
Internal rules | ||||
---|---|---|---|---|
{{Ppoem| This is a the end of a verse {{rule|4em}} 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. }}
|
Internal rules | ||||
---|---|---|---|---|
{{Ppoem| This is a the end of a verse <> {{bar|4}} 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. }}
|
Internal rules (proposed syntax double rule) | ||||
---|---|---|---|---|
{{Ppoem| This is a the end of a verse <--:4> And this is the next one. }}
|