Template:Ombox/testcases

{{template test cases notice}}

= Intentional changes =

small=y text=text

{{test case|ombox|small=y|text=text}}

small=true text=text

{{test case|ombox|small=true|text=text}}

small=1 text=text

{{test case|ombox|small=1|text=text}}

nocat=yes text=text

{{test case|ombox|nocat=yes|text=text}}

nocat=y text=text

{{test case|ombox|nocat=y|text=text}}

nocat=1 text=text

{{test case|ombox|nocat=1|text=text}}

nocat=no text=text

{{test case|ombox|nocat=no|text=text}}

nocat=n text=text

{{test case|ombox|nocat=n|text=text}}

nocat=0 text=text

{{test case|ombox|nocat=0|text=text}}

cat4=cat4 text=text

{{test case|ombox|cat4=cat4|text=text}}

category4=category4 text=text

{{test case|ombox|category4=category4|text=text}}

all4=all4 text=text

{{test case|ombox|all4=all4|text=text}}

talk= name=foo page=template:foo text=text

{{test case|ombox|talk=|name=foo|page=template:foo|text=text}}

talk= name=foo page=template:foo text=text

{{test case|ombox|talk= |name=foo|page=template:foo|text=text}}

name=foo page=template:foo text=text

{{test case|ombox|name=foo|page=template:foo|text=text}}

date= name=foo page=template:foo text=text

{{test case|ombox|date=|name=foo|page=template:foo|text=text}}

date= name=foo page=template:foo text=text

{{test case|ombox|date= |name=foo|page=template:foo|text=text}}

name=foo page=template:foo text=text

{{test case|ombox|name=foo|page=template:foo|text=text}}

page=Template:Foo name=Foo text=text

{{test case|ombox|page=Template:Foo|name=Foo|text=text}}

page=Template:Foo name=Foo issue=issue text=text

{{test case|ombox|page=Template:Foo|name=Foo|issue=issue|text=text}}

page=Template:Foo name=Foo fix=fix text=text

{{test case|ombox|page=Template:Foo|name=Foo|fix=fix|text=text}}

page=Template:Foo name=Foo subst=subst text=text

{{test case|ombox|page=Template:Foo|name=Foo|subst=subst|text=text}}

page=Template:Foo name=Foo subst=subst issue=issue fix=fix text=text

{{test case|ombox|page=Template:Foo|name=Foo|subst=subst|issue=issue|fix=fix|text=text}}

page=Template:Foo name=Foo category1=category1 text=text

{{test case|ombox|page=Template:Foo|name=Foo|category1=category1|text=text}}

page=Template:Foo name=Foo category2=category2 text=text

{{test case|ombox|page=Template:Foo|name=Foo|category2=category2|text=text}}

page=Template:Foo name=Foo category3=category3 text=text

{{test case|ombox|page=Template:Foo|name=Foo|category3=category3|text=text}}

small=left

small=left style=width: auto; margin-right: 0px; textstyle=width: auto;

= Cases that should be the same as the existing template output =

subst=SUBST text=text

{{test case|ombox|subst=SUBST|text=text}}

subst= SUBST text=text

{{test case|ombox|subst= SUBST |text=text}}

subst=subst text=text

{{test case|ombox|subst=subst|text=text}}

subst=foo text=text

{{test case|ombox|subst=foo|text=text}}

subst= text=text

{{test case|ombox|subst= |text=text}}

subst= text=text

{{test case|ombox|subst=|text=text}}

subst=SUBST name=Foo text=text

{{test case|ombox|subst=SUBST|name=Foo|text=text}}

name=Foo text=text

{{test case|ombox|name=Foo|text=text}}

name= Foo text=text

{{test case|ombox|name= Foo |text=text}}

name= text=text

{{test case|ombox|name= |text=text}}

name= text=text

{{test case|ombox|name=|text=text}}

type=speedy text=text

{{test case|ombox|type=speedy|text=text}}

type=delete text=text

{{test case|ombox|type=delete|text=text}}

type=content text=text

{{test case|ombox|type=content|text=text}}

type=style text=text

{{test case|ombox|type=style|text=text}}

type=move text=text

{{test case|ombox|type=move|text=text}}

type=protection text=text

{{test case|ombox|type=protection|text=text}}

type=licence text=text

{{test case|ombox|type=licence|text=text}}

type=warning text=text

{{test case|ombox|type=warning|text=text}}

type=editnotice text=text

{{test case|ombox|type=editnotice|text=text}}

type=system text=text

{{test case|ombox|type=system|text=text}}

type=notice text=text

{{test case|ombox|type=notice|text=text}}

type= speedy text=text

{{test case|ombox|type= speedy |text=text}}

small=yes text=text

{{test case|ombox|small=yes|text=text}}

small= yes text=text

{{test case|ombox|small= yes |text=text}}

small=left text=text

{{test case|ombox|small=left|text=text}}

small=foo text=text

{{test case|ombox|small=foo|text=text}}

type=speedy small=yes text=text

{{test case|ombox|type=speedy|small=yes|text=text}}

type=delete small=yes text=text

{{test case|ombox|type=delete|small=yes|text=text}}

type=content small=yes text=text

{{test case|ombox|type=content|small=yes|text=text}}

type=style small=yes text=text

{{test case|ombox|type=style|small=yes|text=text}}

type=move small=yes text=text

{{test case|ombox|type=move|small=yes|text=text}}

type=protection small=yes text=text

{{test case|ombox|type=protection|small=yes|text=text}}

type=licence small=yes text=text

{{test case|ombox|type=licence|small=yes|text=text}}

type=warning small=yes text=text

{{test case|ombox|type=warning|small=yes|text=text}}

type=editnotice small=yes text=text

{{test case|ombox|type=editnotice|small=yes|text=text}}

type=system small=yes text=text

{{test case|ombox|type=system|small=yes|text=text}}

type=notice small=yes text=text

{{test case|ombox|type=notice|small=yes|text=text}}

type=speedy small=left text=text

{{test case|ombox|type=speedy|small=left|text=text}}

type=delete small=left text=text

{{test case|ombox|type=delete|small=left|text=text}}

type=content small=left text=text

{{test case|ombox|type=content|small=left|text=text}}

type=style small=left text=text

{{test case|ombox|type=style|small=left|text=text}}

type=move small=left text=text

{{test case|ombox|type=move|small=left|text=text}}

type=protection small=left text=text

{{test case|ombox|type=protection|small=left|text=text}}

type=licence small=left text=text

{{test case|ombox|type=licence|small=left|text=text}}

type=warning small=left text=text

{{test case|ombox|type=warning|small=left|text=text}}

type=editnotice small=left text=text

{{test case|ombox|type=editnotice|small=left|text=text}}

type=system small=left text=text

{{test case|ombox|type=system|small=left|text=text}}

type=notice small=left text=text

{{test case|ombox|type=notice|small=left|text=text}}

image=none type=notice small=yes text=text

{{test case|ombox|image=none|type=notice|small=yes|text=text}}

image=none type=notice small=left text=text

{{test case|ombox|image=none|type=notice|small=left|text=text}}

image=none type=notice text=text

{{test case|ombox|image=none|type=notice|text=text}}

image=blank type=notice small=yes text=text

{{test case|ombox|image=blank|type=notice|small=yes|text=text}}

image=blank type=notice small=left text=text

{{test case|ombox|image=blank|type=notice|small=left|text=text}}

image=blank type=notice text=text

{{test case|ombox|image=blank|type=notice|text=text}}

image=File:Example.png 35x35px text=text

{{test case|ombox|image=35x35px|text=text}}

smallimage=File:Example.png 25x25px text=text

{{test case|ombox|smallimage=25x25px|text=text}}

smallimage=File:Example.png 25x25px image=File:Example.png 35x35px text=text

{{test case|ombox|smallimage=25x25px|image=35x35px|text=text}}

imageright=File:Example.png 35x35px text=text

{{test case|ombox|imageright=35x35px|text=text}}

smallimageright=File:Example.png 25x25px text=text

{{test case|ombox|smallimageright=25x25px|text=text}}

smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px text=text

{{test case|ombox|smallimageright=25x25px|imageright=35x35px|text=text}}

image=File:Example.png 35x35px small=yes text=text

{{test case|ombox|image=35x35px|small=yes|text=text}}

smallimage=File:Example.png 25x25px small=yes text=text

{{test case|ombox|smallimage=25x25px|small=yes|text=text}}

smallimage=File:Example.png 25x25px image=File:Example.png 35x35px small=yes text=text

{{test case|ombox|smallimage=25x25px|image=35x35px|small=yes|text=text}}

imageright=File:Example.png 35x35px small=yes text=text

{{test case|ombox|imageright=35x35px|small=yes|text=text}}

smallimageright=File:Example.png 25x25px small=yes text=text

{{test case|ombox|smallimageright=25x25px|small=yes|text=text}}

smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px small=yes text=text

{{test case|ombox|smallimageright=25x25px|imageright=35x35px|small=yes|text=text}}

image=File:Example.png 35x35px small=left text=text

{{test case|ombox|image=35x35px|small=left|text=text}}

smallimage=File:Example.png 25x25px small=left text=text

{{test case|ombox|smallimage=25x25px|small=left|text=text}}

smallimage=File:Example.png 25x25px image=File:Example.png 35x35px small=left text=text

{{test case|ombox|smallimage=25x25px|image=35x35px|small=left|text=text}}

imageright=File:Example.png 35x35px small=left text=text

{{test case|ombox|imageright=35x35px|small=left|text=text}}

smallimageright=File:Example.png 25x25px small=left text=text

{{test case|ombox|smallimageright=25x25px|small=left|text=text}}

smallimageright=File:Example.png 25x25px imageright=File:Example.png 35x35px small=left text=text

{{test case|ombox|smallimageright=25x25px|imageright=35x35px|small=left|text=text}}

class=ambox-style text=text

{{test case|ombox|class=ambox-style|text=text}}

style=font-size:120%; text=text

{{test case|ombox|style=font-size:120%;|text=text}}

textstyle=font-size:80%; text=text

{{test case|ombox|textstyle=font-size:80%;|text=text}}

smalltext=smalltext

{{test case|ombox|smalltext=smalltext}}

smalltext=smalltext small=yes

{{test case|ombox|smalltext=smalltext|small=yes}}

smalltext=smalltext small=left

{{test case|ombox|smalltext=smalltext|small=left}}

smalltext=smalltext text=text

{{test case|ombox|smalltext=smalltext|text=text}}

smalltext=smalltext text=text small=yes

{{test case|ombox|smalltext=smalltext|text=text|small=yes}}

smalltext=smalltext text=text small=left

{{test case|ombox|smalltext=smalltext|text=text|small=left}}

talk=talk text=text

{{test case|ombox|talk=talk|text=text}}

talk=talk small=yes text=text

{{test case|ombox|talk=talk|small=yes|text=text}}

talk=talk small=left text=text

{{test case|ombox|talk=talk|small=left|text=text}}

sect=sect text=text

{{test case|ombox|sect=sect|text=text}}

sect=sect small=yes text=text

{{test case|ombox|sect=sect|small=yes|text=text}}

sect=sect small=left text=text

{{test case|ombox|sect=sect|small=left|text=text}}

issue=issue text=text

{{test case|ombox|issue=issue|text=text}}

issue=issue small=yes text=text

{{test case|ombox|issue=issue|small=yes|text=text}}

issue=issue small=left text=text

{{test case|ombox|issue=issue|small=left|text=text}}

text=text

{{test case|ombox|text=text}}

text=text small=yes

{{test case|ombox|text=text|small=yes}}

text=text small=left

{{test case|ombox|text=text|small=left}}

fix=fix text=text

{{test case|ombox|fix=fix|text=text}}

fix=fix small=yes text=text

{{test case|ombox|fix=fix|small=yes|text=text}}

fix=fix small=left text=text

{{test case|ombox|fix=fix|small=left|text=text}}

date=date text=text

{{test case|ombox|date=date|text=text}}

date=date small=yes text=text

{{test case|ombox|date=date|small=yes|text=text}}

date=date small=left text=text

{{test case|ombox|date=date|small=left|text=text}}

info=info text=text

{{test case|ombox|info=info|text=text}}

info=info small=yes text=text

{{test case|ombox|info=info|small=yes|text=text}}

info=info small=left text=text

{{test case|ombox|info=info|small=left|text=text}}

sect=sect issue=issue text=text fix=fix date=date info=info text=text

{{test case|ombox|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

{{test case|ombox|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

{{test case|ombox|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

{{test case|ombox|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

{{test case|ombox|sect=sect|issue=issue|fix=fix|date=date|info=info|small=yes|text=text|smalltext=smalltext}}

nocat=true text=text

{{test case|ombox|nocat=true|text=text}}

nocat=false text=text

{{test case|ombox|nocat=false|text=text}}

cat=cat text=text

{{test case|ombox|cat=cat|text=text}}

cat1=cat1 text=text

{{test case|ombox|cat1=cat1|text=text}}

cat2=cat2 text=text

{{test case|ombox|cat2=cat2|text=text}}

cat3=cat3 text=text

{{test case|ombox|cat3=cat3|text=text}}

category=category text=text

{{test case|ombox|category=category|text=text}}

category1=category1 text=text

{{test case|ombox|category1=category1|text=text}}

category2=category2 text=text

{{test case|ombox|category2=category2|text=text}}

category3=category3 text=text

{{test case|ombox|category3=category3|text=text}}

all=all text=text

{{test case|ombox|all=all|text=text}}

all1=all1 text=text

{{test case|ombox|all1=all1|text=text}}

all2=all2 text=text

{{test case|ombox|all2=all2|text=text}}

all3=all3 text=text

{{test case|ombox|all3=all3|text=text}}

below=below text=text

{{test case|ombox|below=below|text=text}}