This is the template test case page for the [[../sandbox]] of Template:Tmbox/testcases. Purge this page to update the examples. If there are many examples of a complicated template, latter ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can test how this page looks in the different skins with these links:
----
[[Image:Canis lupus laying.jpg|thumb|A test image.]]
{{ Tmbox }}
{{ Tmbox
| text = This is the message.
}}
{{ Tmbox
| text = This is the message.
| image=blank
}}
{{ Tmbox
| text = This is the message.
| image=none
}}
{{ Tmbox
| text = This is the message.
| type = delete
}}
{{ Tmbox
| text = This is the message.
| type = delete
| image = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox
| text = This is the message.
| type = delete
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox
| text = Lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text.
| type = delete
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox
| text = This is the message.
| type = delete
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
| style = color: red; font-weight: bold; text-align: center
}}
{{ Tmbox }}
{{ Tmbox
| text = This is the message.
}}
{{ Tmbox
| text = This is the message.
| image=blank
}}
{{ Tmbox
| text = This is the message.
| image=none
}}
{{ Tmbox
| text = This is the message.
| type = delete
}}
{{ Tmbox
| text = This is the message.
| type = delete
| image = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox
| text = This is the message.
| type = delete
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox
| text = Lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text.
| type = delete
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox
| text = This is the message.
| type = delete
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
| style = color: red; font-weight: bold; text-align: center
}}
----
A test image.
{{{text}}}
This is the message.
blank
This is the message.
This is the message.
This is the message.
This is the message.
This is the message.
Lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text.
This is the message.
{{{text}}}
This is the message.
blank
This is the message.
This is the message.
This is the message.
This is the message.
This is the message.
Lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text.
This is the message.
Tmbox/sandbox
----
[[Image:Canis lupus laying.jpg|thumb|A test image.]]
{{ Tmbox/sandbox }}
{{ Tmbox/sandbox
| text = This is the message.
}}
{{ Tmbox/sandbox
| text = This is the message.
| image=blank
}}
{{ Tmbox/sandbox
| text = This is the message.
| image=none
}}
{{ Tmbox/sandbox
| text = This is the message.
| type = delete
}}
{{ Tmbox/sandbox
| text = This is the message.
| type = style
| image = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox/sandbox
| text = This is the message.
| type = style
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox/sandbox
| text = Lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text.
| type = style
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox/sandbox
| text = This is the message.
| type = style
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
| style = color: red; font-weight: bold; text-align: center
}}
{{ Tmbox/sandbox }}
{{ Tmbox/sandbox
| text = This is the message.
}}
{{ Tmbox/sandbox
| text = This is the message.
| image=
}}
{{ Tmbox/sandbox
| text = This is the message.
| image=none
}}
{{ Tmbox/sandbox
| text = This is the message.
| type = notice
}}
{{ Tmbox/sandbox
| text = This is the message.
| type = style
| image = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox/sandbox
| text = This is the message.
| type = style
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox/sandbox
| text = Lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text.
| type = style
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
}}
{{ Tmbox/sandbox
| text = This is the message.
| type = style
| image = [[Image:Broom icon.svg|40px]]
| imageright = [[Image:Broom icon.svg|40px]]
| style = color: red; font-weight: bold; text-align: center
}}
----
A test image.
{{{text}}}
This is the message.
blank
This is the message.
This is the message.
This is the message.
This is the message.
This is the message.
Lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text.
This is the message.
{{{text}}}
This is the message.
blank
This is the message.
This is the message.
This is the message.
This is the message.
This is the message.
Lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text.
This is the message.
More tmbox test cases
speedy
delete
content, lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text
style, lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text
notice, lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text
No type and image=none – No image is used and the text uses the whole message box area.
image =
Trying large left side image. - lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text
Trying large left and right side image. - lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text lots of text
Parameters
List of all parameters:
{{tmbox
| type = speedy / delete / content / style / notice / move / protection
| image = none / [[Image:Some image.svg|40px]]
| imageright = [[Image:Some image.svg|40px]]
| style = CSS value
| textstyle = CSS value
| text = The message body text.
| small = yes / {{{small|}}}
| smallimage = none / [[Image:Some image.svg|30px]]
| smallimageright = none / [[Image:Some image.svg|30px]]
| smalltext = A shorter message body text.
}}
Examples of varying width
These examples were copied from the ombox, so their images and texts might seem strange. But we are just testing image cell widths here.
This page documents an English Wikipedia guideline. It is a generally accepted standard that editors should follow, though it should be treated with common sense and the occasional exception. When editing this page, please ensure that your revision reflects consensus. When in doubt, discuss on the Tmbox/testcases.
The following is a proposed Wikipedia policy, guideline, or process. The proposal may still be in development, under Tmbox/testcases, or in the process of gathering consensus for adoption. Thus references or links to this page should not describe it as "policy".
type = notice, small = yes, image = [[Image:Imbox notice.png|40x40px]]
type = notice, small = yes, image = [[Image:Imbox notice.png|30x30px]], imageright = [[Image:Nuvola apps bookcase.png|30x30px]]
type = notice, small = yes, image = [[Image:Information icon4.svg|30x30px]], imageright = [[Image:Nuvola apps bookcase.png|30x30px]]
type = style, small = yes, no image set.
type = style, small = yes, image = [[Image:Imbox style.png|40x40px]]
type = style, small = yes, image = [[Image:Broom icon.svg|30x30px]]
type = notice, small = yes, image = none
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
Fusce convallis, mauris imperdiet gravida bibendum, nisl turpis suscipit mauris, sed placerat ipsum urna sed risus. In convallis tellus a mauris. Curabitur non elit ut libero tristique sodales. Mauris a lacus. Donec mattis semper leo. In hac habitasse platea dictumst. Vivamus facilisis diam at odio. Mauris dictum, nisi eget consequat elementum, lacus ligula molestie metus, non feugiat orci magna ac sem. Donec turpis. Donec vitae metus. Morbi tristique neque eu mauris. Quisque gravida ipsum non sapien. Proin turpis lacus, scelerisque vitae, elementum at, lobortis ac, quam. Aliquam dictum eleifend risus. In hac habitasse platea dictumst. Etiam sit amet diam. Suspendisse odio. Suspendisse nunc. In semper bibendum libero.
Proin nonummy, lacus eget pulvinar lacinia, pede felis dignissim leo, vitae tristique magna lacus sit amet eros. Nullam ornare. Praesent odio ligula, dapibus sed, tincidunt eget, dictum ac, nibh. Nam quis lacus. Nunc eleifend molestie velit. Morbi lobortis quam eu velit. Donec euismod vestibulum massa. Donec non lectus. Aliquam commodo lacus sit amet nulla. Cras dignissim elit et augue. Nullam non diam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In hac habitasse platea dictumst. Aenean vestibulum. Sed lobortis elit quis lectus. Nunc sed lacus at augue bibendum dapibus.
Testing box flow
Box 1: type = notice, no small set, no image set.
Box 2: type = notice, small = yes, no image set.
Box 3: type = style, small = yes, no image set.
Box 4: type = notice, no small set, no image set.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
Testing smallimage, smallimageright and smalltext
Smalltext: no image set, small = yes, smalltext set.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.
Fusce convallis, mauris imperdiet gravida bibendum, nisl turpis suscipit mauris, sed placerat ipsum urna sed risus. In convallis tellus a mauris. Curabitur non elit ut libero tristique sodales. Mauris a lacus. Donec mattis semper leo. In hac habitasse platea dictumst. Vivamus facilisis diam at odio. Mauris dictum, nisi eget consequat elementum, lacus ligula molestie metus, non feugiat orci magna ac sem. Donec turpis. Donec vitae metus. Morbi tristique neque eu mauris. Quisque gravida ipsum non sapien. Proin turpis lacus, scelerisque vitae, elementum at, lobortis ac, quam. Aliquam dictum eleifend risus. In hac habitasse platea dictumst. Etiam sit amet diam. Suspendisse odio. Suspendisse nunc. In semper bibendum libero.
Categories: Template test cases | Wikipedia shortcut box first parameter needs fixing