Template:Mbox/testcases
This is the template test cases page for the sandbox of Template:Mbox. 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 and parsers with these links: |
Demospace
[edit]demospace not set
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
demospace=talk
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
demospace=wikipedia
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
demospace=file
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
demospace=category
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
demospace=template
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
demospace=wikipedia talk
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
demospace=portal
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
demospace=foo
[edit]{{Mbox}}
some text |
{{Mbox/sandbox}}
some text |
left-aligned mbox
[edit]{{Mbox}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas. |
{{Mbox/sandbox}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas. |
(variable width)
[edit]{{Mbox}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas. |
{{Mbox/sandbox}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum consequat mi quis pretium semper. Proin luctus orci ac neque venenatis, quis commodo dolor posuere. Curabitur dignissim sapien quis cursus egestas. |
Intentional changes
[edit]small=y text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
small=true text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
small=1 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
nocat=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
nocat=y text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
nocat=1 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
nocat=no text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
nocat=n text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
nocat=0 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
cat4=cat4 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
category4=category4 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
all4=all4 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
talk= name=foo page=template:foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
talk= name=foo page=template:foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
name=foo page=template:foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
date= name=foo page=template:foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
date= name=foo page=template:foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
name=foo page=template:foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
page=Template:Foo name=Foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
page=Template:Foo name=Foo issue=issue text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
page=Template:Foo name=Foo fix=fix text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
page=Template:Foo name=Foo subst=subst text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
page=Template:Foo name=Foo subst=subst issue=issue fix=fix text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
page=Template:Foo name=Foo category1=category1 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
page=Template:Foo name=Foo category2=category2 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
page=Template:Foo name=Foo category3=category3 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
small=left
[edit]small=left style=width: auto; margin-right: 0px; textstyle=width: auto;
[edit]Cases that should be the same as the existing template output
[edit]subst=SUBST text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
subst= SUBST text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
subst=subst text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
subst=foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
subst= text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
subst= text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
subst=SUBST name=Foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
name=Foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
name= Foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
name= text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
name= text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=speedy text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=delete text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=content text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=style text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=move text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=protection text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=licence text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=featured text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=warning text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=editnotice text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=system text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=notice text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type= speedy text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
small= yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
small=foo text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=speedy small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=delete small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=content small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=style small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=move small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=protection small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=licence small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=featured small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=warning small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=editnotice small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=system small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=notice small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=speedy small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=delete small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=content small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=style small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=move small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=protection small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=licence small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=featured small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=warning small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=editnotice small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=system small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
type=notice small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
image=none type=notice small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
image=none type=notice small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
image=none type=notice text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
image=blank type=notice small=yes text=text
[edit]{{Mbox}}
blank | text |
{{Mbox/sandbox}}
blank | text |
image=blank type=notice small=left text=text
[edit]{{Mbox}}
blank | text |
{{Mbox/sandbox}}
blank | text |
image=blank type=notice text=text
[edit]{{Mbox}}
blank | text |
{{Mbox/sandbox}}
blank | text |
image=File:Example.png 35x35px text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimage=File:Example.png 25x25px text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimage=File:Example.png 25x25px image=File:Example.png 35x35px text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
imageright=File:Example.png 35x35px text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimageright=File:Example.png 25x25px text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
image=File:Example.png 35x35px small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimage=File:Example.png 25x25px small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimage=File:Example.png 25x25px image=File:Example.png 35x35px small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
imageright=File:Example.png 35x35px small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimageright=File:Example.png 25x25px small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
image=File:Example.png 35x35px small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimage=File:Example.png 25x25px small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimage=File:Example.png 25x25px image=File:Example.png 35x35px small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
imageright=File:Example.png 35x35px small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimageright=File:Example.png 25x25px small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
class=ambox-style text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
style=font-size:120%; text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
textstyle=font-size:80%; text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smalltext=smalltext
[edit]{{Mbox}}
{{Mbox/sandbox}}
smalltext=smalltext small=yes
[edit]{{Mbox}}
smalltext |
{{Mbox/sandbox}}
smalltext |
smalltext=smalltext small=left
[edit]{{Mbox}}
{{Mbox/sandbox}}
smalltext=smalltext text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
smalltext=smalltext text=text small=yes
[edit]{{Mbox}}
smalltext |
{{Mbox/sandbox}}
smalltext |
smalltext=smalltext text=text small=left
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
talk=talk text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
talk=talk small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
talk=talk small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
sect=sect text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
sect=sect small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
sect=sect small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
issue=issue text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
issue=issue small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
issue=issue small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
text=text small=yes
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
text=text small=left
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
fix=fix text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
fix=fix small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
fix=fix small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
date=date text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
date=date small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
date=date small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
info=info text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
info=info small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
info=info small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
sect=sect issue=issue text=text fix=fix date=date info=info text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
sect=sect issue=issue text=text fix=fix date=date info=info small=yes text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
sect=sect issue=issue text=text fix=fix date=date info=info small=left text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
sect=sect issue=issue text=text fix=fix date=date info=info small=left text=text smalltext=smalltext
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
sect=sect issue=issue text=text fix=fix date=date info=info small=yes text=text smalltext=smalltext
[edit]{{Mbox}}
smalltext |
{{Mbox/sandbox}}
smalltext |
nocat=true text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
nocat=false text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
cat=cat text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
cat1=cat1 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
cat2=cat2 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
cat3=cat3 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
category=category text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
category1=category1 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
category2=category2 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
category3=category3 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
all=all text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
all1=all1 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
all2=all2 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
all3=all3 text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |
below=below text=text
[edit]{{Mbox}}
text |
{{Mbox/sandbox}}
text |