Template:Ambox/testcases
Jump to navigation
Jump to search
This is the template test case page for the Template:Ambox/sandbox of Template:Ambox. 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: |
Parameter tests
Type
type=speedy – Immediate deletion, such as {{db}} and {{db-g6}}. |
type=delete – Serious issues, such as {{afd}} and {{prod}}. |
type=content – Content issues, such as {{POV}} and {{globalize}}. |
type=style – Style issues, such as {{cleanup}} and {{wikify}}. |
type=move – Merge, split and transwiki proposals, such as {{split}} and {{copy to wiktionary}}. |
type=growth – Requests for expansion, such as {{expand}}. |
type=notice – Article notices, such as {{current}} and {{inuse}}. |
type=protection – Protection messages, such as {{pp-protected}} and {{pp-move}}. |
Other Images
type = content image = [[Image:Unbalanced scales.svg|40px]] This image is often used for {{POV}} and similar issues. |
type = style image = [[Image:Wikitext.svg|50px]] This image is often used for {{wikify}} etc. |
type = merge image = [[Image:Merge-arrows.svg|50px]] This image is used for {{merge}} etc. |
type = merge image = [[Image:Merge-arrows.svg|20px]] This image is used for {{merge}} etc. |
Special
No type and no image given (default) |
No type and image=blank – Causes a blank area the same size as a default image. Makes the text line up well with other message boxes. |
No type and image=none – No image is used and the text uses the whole message box area. |
image = [[Image:Gnome globe current event.svg|42px]] imageright = [[Image:Nuvola apps bookcase.png|40px]] |
This article or section documents a current spaceflight.
Content may change as the mission progresses. |
imageright = {{shortcut|WP:TS}} On project pages the shortcut box disturbs the flow of the message boxes. So insert it as imageright instead. |
Sizing tests
Ambox
---- [[Image:Canis lupus laying.jpg|thumb|A test image.]] {{ Ambox }} {{ Ambox | text = This is the message. }} {{ Ambox | text = This is the message. | image=blank }} {{ Ambox | text = This is the message. | image=none }} {{ Ambox | text = This is the message. | type = delete }} {{ Ambox | text = This is the message. | type = delete | image = [[Image:Broom icon.svg|40px]] }} {{ Ambox | text = This is the message. | type = delete | image = [[Image:Broom icon.svg|40px]] | imageright = [[Image:Broom icon.svg|40px]] }} {{ Ambox | 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]] }} {{ Ambox | 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 }} {{ Ambox }} {{ Ambox | text = This is the message. }} {{ Ambox | text = This is the message. | image=blank }} {{ Ambox | text = This is the message. | image=none }} {{ Ambox | text = This is the message. | type = delete }} {{ Ambox | text = This is the message. | type = delete | image = [[Image:Broom icon.svg|40px]] }} {{ Ambox | text = This is the message. | type = delete | image = [[Image:Broom icon.svg|40px]] | imageright = [[Image:Broom icon.svg|40px]] }} {{ Ambox | 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]] }} {{ Ambox | 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 }} ----
{{{text}}} |
This is the message. |
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. |
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. |
Ambox/sandbox
This test tag is not meant to be used in any purposes except for testing. {{ambox
| type = speedy
| image = [[Image:octagon-warning.svg|40px]]
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = This test tag is not meant to be used in any purposes except for testing.
}}
|
---- [[Image:Canis lupus laying.jpg|thumb|A test image.]] {{ Ambox/sandbox }} {{ Ambox/sandbox | text = This is the message. }} {{ Ambox/sandbox | text = This is the message. | image=blank }} {{ Ambox/sandbox | text = This is the message. | image=none }} {{ Ambox/sandbox | text = This is the message. | type = delete }} {{ Ambox/sandbox | text = This is the message. | type = delete | image = [[Image:Broom icon.svg|40px]] }} {{ Ambox/sandbox | text = This is the message. | type = delete | image = [[Image:Broom icon.svg|40px]] | imageright = [[Image:Broom icon.svg|40px]] }} {{ Ambox/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 = delete | image = [[Image:Broom icon.svg|40px]] | imageright = [[Image:Broom icon.svg|40px]] }} {{ Ambox/sandbox | 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 }} {{ Ambox/sandbox }} {{ Ambox/sandbox | text = This is the message. }} {{ Ambox/sandbox | text = This is the message. | image=blank }} {{ Ambox/sandbox | text = This is the message. | image=none }} {{ Ambox/sandbox | text = This is the message. | type = delete }} {{ Ambox/sandbox | text = This is the message. | type = delete | image = [[Image:Broom icon.svg|40px]] }} {{ Ambox/sandbox | text = This is the message. | type = delete | image = [[Image:Broom icon.svg|40px]] | imageright = [[Image:Broom icon.svg|40px]] }} {{ Ambox/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 = delete | image = [[Image:Broom icon.svg|40px]] | imageright = [[Image:Broom icon.svg|40px]] }} {{ Ambox/sandbox | 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 }} ----
{{{text}}} |
This is the message. |
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. |
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. |
Categories:
- Template test cases
- Wikipedia shortcut box first parameter needs fixing