Template:Ambox/div/testcases
This is the template test cases page for the sandbox of Template:Ambox/div. 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: |
Intentional changes
[edit]small=y text=text
[edit]{{ambox/div|small=y|text=text}}
small=true text=text
[edit]{{ambox/div|small=true|text=text}}
small=1 text=text
[edit]{{ambox/div|small=1|text=text}}
nocat=yes text=text
[edit]{{ambox/div|nocat=yes|text=text}}
nocat=y text=text
[edit]{{ambox/div|nocat=y|text=text}}
nocat=1 text=text
[edit]{{ambox/div|nocat=1|text=text}}
nocat=no text=text
[edit]{{ambox/div|nocat=no|text=text}}
nocat=n text=text
[edit]{{ambox/div|nocat=n|text=text}}
nocat=0 text=text
[edit]{{ambox/div|nocat=0|text=text}}
cat4=cat4 text=text
[edit]{{ambox/div|cat4=[[cat4]]|text=text}}
category4=category4 text=text
[edit]{{ambox/div|category4=[[category4]]|text=text}}
all4=all4 text=text
[edit]{{ambox/div|all4=[[all4]]|text=text}}
talk= name=foo page=template:foo text=text
[edit]{{ambox/div|talk=|name=foo|page=template:foo|text=text}}
talk= name=foo page=template:foo text=text
[edit]{{ambox/div|talk= |name=foo|page=template:foo|text=text}}
name=foo page=template:foo text=text
[edit]{{ambox/div|name=foo|page=template:foo|text=text}}
date= name=foo page=template:foo text=text
[edit]{{ambox/div|date=|name=foo|page=template:foo|text=text}}
date= name=foo page=template:foo text=text
[edit]{{ambox/div|date= |name=foo|page=template:foo|text=text}}
name=foo page=template:foo text=text
[edit]{{ambox/div|name=foo|page=template:foo|text=text}}
page=Template:Foo name=Foo text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|text=text}}
page=Template:Foo name=Foo issue=issue text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|issue=issue|text=text}}
page=Template:Foo name=Foo fix=fix text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|fix=fix|text=text}}
page=Template:Foo name=Foo subst=subst text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|subst=subst|text=text}}
page=Template:Foo name=Foo subst=subst issue=issue fix=fix text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|subst=subst|issue=issue|fix=fix|text=text}}
page=Template:Foo name=Foo category1=category1 text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|category1=[[category1]]|text=text}}
page=Template:Foo name=Foo category2=category2 text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|category2=[[category2]]|text=text}}
page=Template:Foo name=Foo category3=category3 text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|category3=[[category3]]|text=text}}
small=y text=text
[edit]small=true text=text
[edit]{{ambox/div|small=true|text=text}}
small=1 text=text
[edit]{{ambox/div|small=1|text=text}}
nocat=yes text=text
[edit]{{ambox/div|nocat=yes|text=text}}
nocat=y text=text
[edit]{{ambox/div|nocat=y|text=text}}
nocat=1 text=text
[edit]{{ambox/div|nocat=1|text=text}}
nocat=no text=text
[edit]{{ambox/div|nocat=no|text=text}}
nocat=n text=text
[edit]{{ambox/div|nocat=n|text=text}}
nocat=0 text=text
[edit]{{ambox/div|nocat=0|text=text}}
cat4=cat4 text=text
[edit]{{ambox/div|cat4=[[cat4]]|text=text}}
category4=category4 text=text
[edit]{{ambox/div|category4=[[category4]]|text=text}}
all4=all4 text=text
[edit]{{ambox/div|all4=[[all4]]|text=text}}
talk= name=foo page=template:foo text=text
[edit]{{ambox/div|talk=|name=foo|page=template:foo|text=text}}
talk= name=foo page=template:foo text=text
[edit]{{ambox/div|talk= |name=foo|page=template:foo|text=text}}
name=foo page=template:foo text=text
[edit]{{ambox/div|name=foo|page=template:foo|text=text}}
date= name=foo page=template:foo text=text
[edit]{{ambox/div|date=|name=foo|page=template:foo|text=text}}
date= name=foo page=template:foo text=text
[edit]{{ambox/div|date= |name=foo|page=template:foo|text=text}}
name=foo page=template:foo text=text
[edit]{{ambox/div|name=foo|page=template:foo|text=text}}
page=Template:Foo name=Foo text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|text=text}}
page=Template:Foo name=Foo issue=issue text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|issue=issue|text=text}}
page=Template:Foo name=Foo fix=fix text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|fix=fix|text=text}}
page=Template:Foo name=Foo subst=subst text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|subst=subst|text=text}}
page=Template:Foo name=Foo subst=subst issue=issue fix=fix text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|subst=subst|issue=issue|fix=fix|text=text}}
page=Template:Foo name=Foo category1=category1 text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|category1=[[category1]]|text=text}}
page=Template:Foo name=Foo category2=category2 text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|category2=[[category2]]|text=text}}
page=Template:Foo name=Foo category3=category3 text=text
[edit]{{ambox/div|page=Template:Foo|name=Foo|category3=[[category3]]|text=text}}
Cases that should be the same as the existing template output
[edit]subst=SUBST text=text
[edit]{{ambox/div|subst=SUBST|text=text}}
subst= SUBST text=text
[edit]{{ambox/div|subst= SUBST |text=text}}
subst=subst text=text
[edit]{{ambox/div|subst=subst|text=text}}
subst=foo text=text
[edit]{{ambox/div|subst=foo|text=text}}
subst= text=text
[edit]{{ambox/div|subst= |text=text}}
subst= text=text
[edit]{{ambox/div|subst=|text=text}}
subst=SUBST name=Foo text=text
[edit]{{ambox/div|subst=SUBST|name=Foo|text=text}}
Template {{Foo}}
has been incorrectly substituted.
name=Foo text=text
[edit]{{ambox/div|name=Foo|text=text}}
name= Foo text=text
[edit]{{ambox/div|name= Foo |text=text}}
name= text=text
[edit]{{ambox/div|name= |text=text}}
name= text=text
[edit]{{ambox/div|name=|text=text}}
type=speedy text=text
[edit]{{ambox/div|type=speedy|text=text}}
type=delete text=text
[edit]{{ambox/div|type=delete|text=text}}
type=content text=text
[edit]{{ambox/div|type=content|text=text}}
type=style text=text
[edit]{{ambox/div|type=style|text=text}}
type=move text=text
[edit]{{ambox/div|type=move|text=text}}
type=protection text=text
[edit]{{ambox/div|type=protection|text=text}}
type=licence text=text
[edit]{{ambox/div|type=licence|text=text}}
type=featured text=text
[edit]{{ambox/div|type=featured|text=text}}
type=warning text=text
[edit]{{ambox/div|type=warning|text=text}}
type=editnotice text=text
[edit]{{ambox/div|type=editnotice|text=text}}
type=system text=text
[edit]{{ambox/div|type=system|text=text}}
type=notice text=text
[edit]{{ambox/div|type=notice|text=text}}
type= speedy text=text
[edit]{{ambox/div|type= speedy |text=text}}
small=yes text=text
[edit]{{ambox/div|small=yes|text=text}}
small= yes text=text
[edit]{{ambox/div|small= yes |text=text}}
small=left text=text
[edit]{{ambox/div|small=left|text=text}}
small=foo text=text
[edit]{{ambox/div|small=foo|text=text}}
type=speedy small=yes text=text
[edit]{{ambox/div|type=speedy|small=yes|text=text}}
type=delete small=yes text=text
[edit]{{ambox/div|type=delete|small=yes|text=text}}
type=content small=yes text=text
[edit]{{ambox/div|type=content|small=yes|text=text}}
type=style small=yes text=text
[edit]{{ambox/div|type=style|small=yes|text=text}}
type=move small=yes text=text
[edit]{{ambox/div|type=move|small=yes|text=text}}
type=protection small=yes text=text
[edit]{{ambox/div|type=protection|small=yes|text=text}}
type=licence small=yes text=text
[edit]{{ambox/div|type=licence|small=yes|text=text}}
type=featured small=yes text=text
[edit]{{ambox/div|type=featured|small=yes|text=text}}
type=warning small=yes text=text
[edit]{{ambox/div|type=warning|small=yes|text=text}}
type=editnotice small=yes text=text
[edit]{{ambox/div|type=editnotice|small=yes|text=text}}
type=system small=yes text=text
[edit]{{ambox/div|type=system|small=yes|text=text}}
type=notice small=yes text=text
[edit]{{ambox/div|type=notice|small=yes|text=text}}
type=speedy small=left text=text
[edit]{{ambox/div|type=speedy|small=left|text=text}}
type=delete small=left text=text
[edit]{{ambox/div|type=delete|small=left|text=text}}
type=content small=left text=text
[edit]{{ambox/div|type=content|small=left|text=text}}
type=style small=left text=text
[edit]{{ambox/div|type=style|small=left|text=text}}
type=move small=left text=text
[edit]{{ambox/div|type=move|small=left|text=text}}
type=protection small=left text=text
[edit]{{ambox/div|type=protection|small=left|text=text}}
type=licence small=left text=text
[edit]{{ambox/div|type=licence|small=left|text=text}}
type=featured small=left text=text
[edit]{{ambox/div|type=featured|small=left|text=text}}
type=warning small=left text=text
[edit]{{ambox/div|type=warning|small=left|text=text}}
type=editnotice small=left text=text
[edit]{{ambox/div|type=editnotice|small=left|text=text}}
type=system small=left text=text
[edit]{{ambox/div|type=system|small=left|text=text}}
type=notice small=left text=text
[edit]{{ambox/div|type=notice|small=left|text=text}}
image=none type=notice small=yes text=text
[edit]{{ambox/div|image=none|type=notice|small=yes|text=text}}
image=none type=notice small=left text=text
[edit]{{ambox/div|image=none|type=notice|small=left|text=text}}
image=none type=notice text=text
[edit]{{ambox/div|image=none|type=notice|text=text}}
image=blank type=notice small=yes text=text
[edit]{{ambox/div|image=blank|type=notice|small=yes|text=text}}
image=blank type=notice small=left text=text
[edit]{{ambox/div|image=blank|type=notice|small=left|text=text}}
image=blank type=notice text=text
[edit]{{ambox/div|image=blank|type=notice|text=text}}
image=File:Example.png 35x35px text=text
[edit]{{ambox/div|image=[[File:Bad Title Example.png|35x35px]]|text=text}}
smallimage=File:Example.png 25x25px text=text
[edit]{{ambox/div|smallimage=[[File:Bad Title Example.png|25x25px]]|text=text}}
smallimage=File:Example.png 25x25px image=File:Example.png 35x35px text=text
[edit]{{ambox/div|smallimage=[[File:Bad Title Example.png|25x25px]]|image=[[File:Bad Title Example.png|35x35px]]|text=text}}
imageright=File:Example.png 35x35px text=text
[edit]{{ambox/div|imageright=[[File:Bad Title Example.png|35x35px]]|text=text}}
smallimageright=File:Example.png 25x25px text=text
[edit]{{ambox/div|smallimageright=[[File:Bad Title Example.png|25x25px]]|text=text}}
smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px text=text
[edit]{{ambox/div|smallimageright=[[File:Bad Title Example.png|25x25px]]|imageright=[[File:Bad Title Example.png|35x35px]]|text=text}}
image=File:Example.png 35x35px small=yes text=text
[edit]{{ambox/div|image=[[File:Bad Title Example.png|35x35px]]|small=yes|text=text}}
smallimage=File:Example.png 25x25px small=yes text=text
[edit]{{ambox/div|smallimage=[[File:Bad Title Example.png|25x25px]]|small=yes|text=text}}
smallimage=File:Example.png 25x25px image=File:Example.png 35x35px small=yes text=text
[edit]{{ambox/div|smallimage=[[File:Bad Title Example.png|25x25px]]|image=[[File:Bad Title Example.png|35x35px]]|small=yes|text=text}}
imageright=File:Example.png 35x35px small=yes text=text
[edit]{{ambox/div|imageright=[[File:Bad Title Example.png|35x35px]]|small=yes|text=text}}
smallimageright=File:Example.png 25x25px small=yes text=text
[edit]{{ambox/div|smallimageright=[[File:Bad Title Example.png|25x25px]]|small=yes|text=text}}
smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px small=yes text=text
[edit]{{ambox/div|smallimageright=[[File:Bad Title Example.png|25x25px]]|imageright=[[File:Bad Title Example.png|35x35px]]|small=yes|text=text}}
image=File:Example.png 35x35px small=left text=text
[edit]{{ambox/div|image=[[File:Bad Title Example.png|35x35px]]|small=left|text=text}}
smallimage=File:Example.png 25x25px small=left text=text
[edit]{{ambox/div|smallimage=[[File:Bad Title Example.png|25x25px]]|small=left|text=text}}
smallimage=File:Example.png 25x25px image=File:Example.png 35x35px small=left text=text
[edit]{{ambox/div|smallimage=[[File:Bad Title Example.png|25x25px]]|image=[[File:Bad Title Example.png|35x35px]]|small=left|text=text}}
imageright=File:Example.png 35x35px small=left text=text
[edit]{{ambox/div|imageright=[[File:Bad Title Example.png|35x35px]]|small=left|text=text}}
smallimageright=File:Example.png 25x25px small=left text=text
[edit]{{ambox/div|smallimageright=[[File:Bad Title Example.png|25x25px]]|small=left|text=text}}
smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px small=left text=text
[edit]{{ambox/div|smallimageright=[[File:Bad Title Example.png|25x25px]]|imageright=[[File:Bad Title Example.png|35x35px]]|small=left|text=text}}
class=ambox-style text=text
[edit]{{ambox/div|class=ambox-style|text=text}}
style=font-size:120%; text=text
[edit]{{ambox/div|style=font-size:120%;|text=text}}
textstyle=font-size:80%; text=text
[edit]{{ambox/div|textstyle=font-size:80%;|text=text}}
smalltext=smalltext
[edit]{{ambox/div|smalltext=smalltext}}
smalltext=smalltext small=yes
[edit]{{ambox/div|smalltext=smalltext|small=yes}}
smalltext=smalltext small=left
[edit]{{ambox/div|smalltext=smalltext|small=left}}
smalltext=smalltext text=text
[edit]{{ambox/div|smalltext=smalltext|text=text}}
smalltext=smalltext text=text small=yes
[edit]{{ambox/div|smalltext=smalltext|text=text|small=yes}}
smalltext=smalltext text=text small=left
[edit]{{ambox/div|smalltext=smalltext|text=text|small=left}}
talk=talk text=text
[edit]{{ambox/div|talk=talk|text=text}}
talk=talk small=yes text=text
[edit]{{ambox/div|talk=talk|small=yes|text=text}}
talk=talk small=left text=text
[edit]{{ambox/div|talk=talk|small=left|text=text}}
sect=sect text=text
[edit]{{ambox/div|sect=sect|text=text}}
sect=sect small=yes text=text
[edit]{{ambox/div|sect=sect|small=yes|text=text}}
sect=sect small=left text=text
[edit]{{ambox/div|sect=sect|small=left|text=text}}
issue=issue text=text
[edit]{{ambox/div|issue=issue|text=text}}
issue=issue small=yes text=text
[edit]{{ambox/div|issue=issue|small=yes|text=text}}
issue=issue small=left text=text
[edit]{{ambox/div|issue=issue|small=left|text=text|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|removalnotice=yes}}
text=text
[edit]{{ambox/div|text=text}}
text=text small=yes
[edit]{{ambox/div|text=text|small=yes}}
text=text small=left
[edit]{{ambox/div|text=text|small=left}}
fix=fix text=text
[edit]{{ambox/div|fix=fix|text=text}}
fix=fix small=yes text=text
[edit]{{ambox/div|fix=fix|small=yes|text=text}}
fix=fix small=left text=text
[edit]{{ambox/div|fix=fix|small=left|text=text}}
date=date text=text
[edit]{{ambox/div|date=date|text=text}}
date=date small=yes text=text
[edit]{{ambox/div|date=date|small=yes|text=text}}
date=date small=left text=text
[edit]{{ambox/div|date=date|small=left|text=text}}
info=info text=text
[edit]{{ambox/div|info=info|text=text}}
info=info small=yes text=text
[edit]{{ambox/div|info=info|small=yes|text=text}}
info=info small=left text=text
[edit]{{ambox/div|info=info|small=left|text=text}}
sect=sect issue=issue text=text fix=fix date=date info=info text=text
[edit]{{ambox/div|sect=sect|issue=issue|fix=fix|date=date|info=info|text=text}}
sect=sect issue=issue text=text fix=fix date=date info=info small=yes text=text
[edit]{{ambox/div|sect=sect|issue=issue|fix=fix|date=date|info=info|small=yes|text=text}}
sect=sect issue=issue text=text fix=fix date=date info=info small=left text=text
[edit]{{ambox/div|sect=sect|issue=issue|fix=fix|date=date|info=info|small=left|text=text}}
sect=sect issue=issue text=text fix=fix date=date info=info small=left text=text smalltext=smalltext
[edit]{{ambox/div|sect=sect|issue=issue|fix=fix|date=date|info=info|small=left|text=text|smalltext=smalltext}}
sect=sect issue=issue text=text fix=fix date=date info=info small=yes text=text smalltext=smalltext
[edit]{{ambox/div|sect=sect|issue=issue|fix=fix|date=date|info=info|small=yes|text=text|smalltext=smalltext}}
nocat=true text=text
[edit]{{ambox/div|nocat=true|text=text}}
nocat=false text=text
[edit]{{ambox/div|nocat=false|text=text}}
cat=cat text=text
[edit]{{ambox/div|cat=[[cat]]|text=text}}
cat1=cat1 text=text
[edit]{{ambox/div|cat1=[[cat1]]|text=text}}
cat2=cat2 text=text
[edit]{{ambox/div|cat2=[[cat2]]|text=text}}
cat3=cat3 text=text
[edit]{{ambox/div|cat3=[[cat3]]|text=text}}
category=category text=text
[edit]{{ambox/div|category=[[category]]|text=text}}
category1=category1 text=text
[edit]{{ambox/div|category1=[[category1]]|text=text}}
category2=category2 text=text
[edit]{{ambox/div|category2=[[category2]]|text=text}}
category3=category3 text=text
[edit]{{ambox/div|category3=[[category3]]|text=text}}
all=all text=text
[edit]{{ambox/div|all=[[all]]|text=text}}
all1=all1 text=text
[edit]{{ambox/div|all1=[[all1]]|text=text}}
all2=all2 text=text
[edit]{{ambox/div|all2=[[all2]]|text=text}}
all3=all3 text=text
[edit]{{ambox/div|all3=[[all3]]|text=text}}
below=below text=text
[edit]{{ambox/div|below=below|text=text}}
Full talk page link
[edit]{{ambox/div|talk=Talk:Foo|issue=issue|fix=fix}}