Jump to content

Module talk:InfoboxImage/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

All 57 tests passed.

test1_parameters_output
Text Expected Actual
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |alt=Alt}} Alt Alt
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |border=yes}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |center=yes}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |link=Link}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |thumbtime=Thumbtime}} thumbtime=Thumbtime thumbtime=Thumbtime
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |title=Title}} Title Title
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |size=75}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |size=200}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[File:Small Sailboat Image.jpg]]}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |upright=1}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |upright=yes}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |upright=0.75}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |upright=1.2}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Replace this image.svg |suppressplaceholder=no}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Replace this image.svg}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=The Universal Magazine, Vol. XCV (July 1794).djvu |page=8}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[File:Abbey Rd Studios.jpg|200px]]}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[File:Abbey Rd Studios.jpg|thumb]]}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[File:Abbey Rd Studios.jpg|thumb|caption]]}}
caption
caption
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Http-fakezarathustra.blogspot.com-2010-10-12 31.html http-fakezarathustra.blogspot.com-2010-10-22 31.html - panoramio.jpg}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Abbey Rd Studios.jpg|alt=http:test.com}} http:test.com http:test.com
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Abbey Rd Studios.jpg|alt=[http:test.com]}} [http:test.com] [http:test.com]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Abbey Rd Studios.jpg|class=notpageimage}}
test2_parameters_output
Text Expected Actual
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |size=1.2}} 1.2px 1.2px
test3_parameters_nowiki
Text Expected Actual
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |alt=Alt}} [[File:Small Sailboat Image.jpg|frameless|alt=Alt]] [[File:Small Sailboat Image.jpg|frameless|alt=Alt]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |border=yes}} [[File:Small Sailboat Image.jpg|frameless|border]] [[File:Small Sailboat Image.jpg|frameless|border]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |center=yes}} [[File:Small Sailboat Image.jpg|frameless|center]] [[File:Small Sailboat Image.jpg|frameless|center]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |link=Link}} [[File:Small Sailboat Image.jpg|frameless|link=Link]] [[File:Small Sailboat Image.jpg|frameless|link=Link]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |thumbtime=Thumbtime}} [[File:Small Sailboat Image.jpg|frameless|thumbtime=Thumbtime]] [[File:Small Sailboat Image.jpg|frameless|thumbtime=Thumbtime]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |title=Title}} [[File:Small Sailboat Image.jpg|frameless|Title]] [[File:Small Sailboat Image.jpg|frameless|Title]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |size=75}} [[File:Small Sailboat Image.jpg|75px]] [[File:Small Sailboat Image.jpg|75px]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Small Sailboat Image.jpg |size=200}} [[File:Small Sailboat Image.jpg|200px]] [[File:Small Sailboat Image.jpg|200px]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[File:Small Sailboat Image.jpg]]}} [[File:Small Sailboat Image.jpg]] [[File:Small Sailboat Image.jpg]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg}} [[File:Mustela erminea upright.jpg|frameless]] [[File:Mustela erminea upright.jpg|frameless]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |upright=1}} [[File:Mustela erminea upright.jpg|frameless|upright=1]] [[File:Mustela erminea upright.jpg|frameless|upright=1]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |upright=yes}} [[File:Mustela erminea upright.jpg|frameless|upright]] [[File:Mustela erminea upright.jpg|frameless|upright]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |upright=0.75}} [[File:Mustela erminea upright.jpg|frameless|upright=0.75]] [[File:Mustela erminea upright.jpg|frameless|upright=0.75]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |upright=1.2}} [[File:Mustela erminea upright.jpg|frameless|upright=1.2]] [[File:Mustela erminea upright.jpg|frameless|upright=1.2]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Mustela erminea upright.jpg |size=1.2}} [[File:Mustela erminea upright.jpg|1.2px]] [[File:Mustela erminea upright.jpg|1.2px]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Replace this image.svg |suppressplaceholder=no}} [[File:Replace this image.svg|frameless]] [[File:Replace this image.svg|frameless]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Replace this image.svg}}
checkY {{#invoke:InfoboxImage |InfoboxImage |image=The Universal Magazine, Vol. XCV (July 1794).djvu |page=8}} [[File:The Universal Magazine, Vol. XCV (July 1794).djvu|page=8|frameless]] [[File:The Universal Magazine, Vol. XCV (July 1794).djvu|page=8|frameless]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[File:Abbey Rd Studios.jpg|200px]]}} [[File:Abbey Rd Studios.jpg|200px]] [[File:Abbey Rd Studios.jpg|200px]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[File:Abbey Rd Studios.jpg|thumb]]}} [[File:Abbey Rd Studios.jpg|thumb]] [[File:Abbey Rd Studios.jpg|thumb]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[File:Abbey Rd Studios.jpg|thumb|caption]]}} [[File:Abbey Rd Studios.jpg|thumb|caption]] [[File:Abbey Rd Studios.jpg|thumb|caption]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Http-fakezarathustra.blogspot.com-2010-10-12 31.html http-fakezarathustra.blogspot.com-2010-10-22 31.html - panoramio.jpg}} [[File:Http-fakezarathustra.blogspot.com-2010-10-12 31.html http-fakezarathustra.blogspot.com-2010-10-22 31.html - panoramio.jpg|frameless]] [[File:Http-fakezarathustra.blogspot.com-2010-10-12 31.html http-fakezarathustra.blogspot.com-2010-10-22 31.html - panoramio.jpg|frameless]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=http:test.com}} [[Category:Pages using infoboxes with URL in image parameter]] [[Category:Pages using infoboxes with URL in image parameter]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[http:test.com]}} [[Category:Pages using infoboxes with URL in image parameter]] [[Category:Pages using infoboxes with URL in image parameter]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[http:test.com]]}} [[Category:Pages using infoboxes with URL in image parameter]] [[Category:Pages using infoboxes with URL in image parameter]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=https:test.com}} [[Category:Pages using infoboxes with URL in image parameter]] [[Category:Pages using infoboxes with URL in image parameter]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[https:test.com]}} [[Category:Pages using infoboxes with URL in image parameter]] [[Category:Pages using infoboxes with URL in image parameter]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=[[https:test.com]]}} [[Category:Pages using infoboxes with URL in image parameter]] [[Category:Pages using infoboxes with URL in image parameter]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Abbey Rd Studios.jpg|alt=http:test.com}} [[File:Abbey Rd Studios.jpg|frameless|alt=http:test.com]] [[File:Abbey Rd Studios.jpg|frameless|alt=http:test.com]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Abbey Rd Studios.jpg|alt=[http:test.com]}} [[File:Abbey Rd Studios.jpg|frameless|alt=[http:test.com]]] [[File:Abbey Rd Studios.jpg|frameless|alt=[http:test.com]]]
checkY {{#invoke:InfoboxImage |InfoboxImage |image=Abbey Rd Studios.jpg|class=notpageimage}} [[File:Abbey Rd Studios.jpg|frameless|class=notpageimage]] [[File:Abbey Rd Studios.jpg|frameless|class=notpageimage]]
test4_stripmarkers
Text Expected Actual
checkY {{#invoke:InfoboxImage |InfoboxImage |image={{multiple image | width = 60 | image1 = Yellow card.svg | image2 = Red card.svg}}}}

Start a discussion about improving the Module:InfoboxImage/testcases page

Start a discussion