Template:Main page image/testcases

These are test cases for Main page image against Main page image/sandbox. When editing that template, you can use this page to preview your changes. Green, collapsed boxes are unchanged in output from the original.

Caption tests
Empty caption parameter

No caption parameter

Alt text tests
Has alt parameter, but empty caption parameter

Empty alt parameter, empty caption parameter (alt text should be filename)

No alt parameter, no caption parameter (alt text should be filename)