This is the template test cases page for the sandbox of Template:Block center. 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: |
Testing sandbox version edit
Title edit
{{Block center/sandbox|title="CAPTION POSING AS TITLE"| <poem>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.</poem>}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Width edit
{{Block center/sandbox|width=300px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Max-width edit
Note: You will probably need to "zoom" in and out to see the effect demonstrated.
{{Block center/sandbox|max-width=500px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Style edit
{{Block center/sandbox|style=font-style:italic|<poem> Lorem ipsum dolor sit amet, {{gap}}consectetuer adipiscing elit. Aenean commodo ligula eget dolor; {{gap}}Aenean massa. </poem>}}
Lorem ipsum dolor sit amet,
consectetuer adipiscing elit.
Aenean commodo ligula eget dolor;
Aenean massa.
Align edit
{{Block center/sandbox|align=right|<poem> Lorem ipsum dolor sit amet, {{gap}}consectetuer adipiscing elit. Aenean commodo ligula eget dolor; {{gap}}Aenean massa. </poem>}}
Lorem ipsum dolor sit amet,
consectetuer adipiscing elit.
Aenean commodo ligula eget dolor;
Aenean massa.
Poetry 2 edit
{{Block center/sandbox|<poem> Lorem ipsum dolor sit amet, :consectetuer adipiscing elit. Aenean commodo ligula eget dolor; :Aenean massa. </poem>}}
Lorem ipsum dolor sit amet,
consectetuer adipiscing elit.
Aenean commodo ligula eget dolor;
Aenean massa.
Testing main template edit
Title edit
{{Block center|title="CAPTION POSING AS TITLE"| <poem>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.</poem>}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Width edit
{{Block center|width=300px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Max-width edit
Note: You will probably need to "zoom" in and out to see the effect demonstrated.
{{Block center/sandbox|max-width=500px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Style edit
{{block center|style=font-style:italic|<poem> Lorem ipsum dolor sit amet, {{gap}}consectetuer adipiscing elit. Aenean commodo ligula eget dolor; {{gap}}Aenean massa. </poem>}}
Lorem ipsum dolor sit amet,
consectetuer adipiscing elit.
Aenean commodo ligula eget dolor;
Aenean massa.
Align edit
{{block center|align=right|<poem> Lorem ipsum dolor sit amet, {{gap}}consectetuer adipiscing elit. Aenean commodo ligula eget dolor; {{gap}}Aenean massa. </poem>}}
Lorem ipsum dolor sit amet,
consectetuer adipiscing elit.
Aenean commodo ligula eget dolor;
Aenean massa.
Poetry 2 edit
{{block center|<poem> Lorem ipsum dolor sit amet, :consectetuer adipiscing elit. Aenean commodo ligula eget dolor; :Aenean massa. </poem>}}
Lorem ipsum dolor sit amet,
consectetuer adipiscing elit.
Aenean commodo ligula eget dolor;
Aenean massa.
Testing main split-page template edit
{{Block center/s|title=BERRYING}} <poem>'May be true what I had heard,— Earth's a howling wilderness, Truculent with fraud and force,' Said I, strolling through the pastures, And along the river-side. Caught among the blackberry vines, Feeding on the Ethiops sweet, Pleasant fancies overtook me. I said, 'What influence me preferred, Elect, to dreams thus beautiful?' The vines replied, 'And didst thou deem No wisdom from our berries went?' </poem> {{Block center/e}}
'May be true what I had heard,—
Earth's a howling wilderness,
Truculent with fraud and force,'
Said I, strolling through the pastures,
And along the river-side.
Caught among the blackberry vines,
Feeding on the Ethiops sweet,
Pleasant fancies overtook me.
I said, 'What influence me preferred,
Elect, to dreams thus beautiful?'
The vines replied, 'And didst thou deem
No wisdom from our berries went?'
Testing sandbox split-page template edit
{{Block center/s/sandbox|title=BERRYING}} <poem>'May be true what I had heard,— Earth's a howling wilderness, Truculent with fraud and force,' Said I, strolling through the pastures, And along the river-side. Caught among the blackberry vines, Feeding on the Ethiops sweet, Pleasant fancies overtook me. I said, 'What influence me preferred, Elect, to dreams thus beautiful?' The vines replied, 'And didst thou deem No wisdom from our berries went?' </poem> {{Block center/e/sandbox}}
'May be true what I had heard,—
Earth's a howling wilderness,
Truculent with fraud and force,'
Said I, strolling through the pastures,
And along the river-side.
Caught among the blackberry vines,
Feeding on the Ethiops sweet,
Pleasant fancies overtook me.
I said, 'What influence me preferred,
Elect, to dreams thus beautiful?'
The vines replied, 'And didst thou deem
No wisdom from our berries went?'