Main tests

Normal parameters

This test uses the normal parameters from WP:ALBUM#Code, which excludes the advanced parameters at WP:ALBUM#Advanced usage.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Blank chronology parameter for "the" artist name

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Custom chronology parameter for lower-case artist name

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

All parameters

This test uses all of the parameters at WP:ALBUM#Advanced usage.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Example from a real article, with Singles template

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Video parameters

This test tests the parameters needed to merge {{Infobox music DVD}} with {{Infobox album}}. See WT:ALBUM#Video infobox.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Album with cover

This album cover is public domain, so we can use it in a test case.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Artist name that starts with numbers followed by lower-case letters

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Auxiliary tests

"Name" parameter missing

This should generate "Untitled" unitalicized.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

"Name" parameter with empty value

This tests Name=. Like the test with a missing "name" parameter, this should generate "Untitled" unitalicized.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}


"Type" parameter with "single" and "song" values

These values are not supposed to be supported as specific infoboxes exist. So the infobox should display in its default apricot color.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}
Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

"Type" parameter with "other" and specified "longtype"

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

"Cover" parameter with empty value

This tests |Cover=, which should leave the area blank.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

"Cover" parameter with "blank" value

This tests |Cover=blank, which should leave the area blank.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

"Cover" parameter with "???" value

This tests the use of |Cover=??? which should use File:Nocover.png as a cover, rather than show a red link to Image:???.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

"Caption" parameter with multi-line value

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Chronology parameters with multi-line values

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}

Regression tests

Album name with double exclamation point

This test uses a field value with a double exclamation point. This will work as long the infobox is build using HTML instead of wikicode. If wikicode is used an extra table cell will be generated in the infobox.

Side by side comparison
{{Infobox album}}{{Infobox album/sandbox}}
No tags for this post.