Main tests
uredi
Normal parameters
uredi
This test uses the normal parameters from WP:ALBUM#Code , which excludes the advanced parameters at WP:ALBUM#Advanced usage .
All parameters
uredi
This test uses all of the parameters at WP:ALBUM#Advanced usage .
Example from a real article, with Singles template
uredi
Video parameters
uredi
This test tests the parameters needed to merge {{Infobox music DVD }} with {{Infobox album }}. See WT:ALBUM#Video infobox .
Album with cover
uredi
This album cover is public domain, so we can use it in a test case.
Artist name that starts with numbers followed by lower-case letters
uredi
Auxiliary tests
uredi
"Name" parameter missing
uredi
This should generate "Untitled" unitalicized.
"Name" parameter with empty value
uredi
This tests Name=
. Like the test with a missing "name" parameter, this should generate "Untitled" unitalicized.
"Type" parameter with "single" and "song" values
uredi
These values are not supposed to be supported as specific infoboxes exist. So the infobox should display in its default apricot color.
"Type" parameter with "other" and specified "longtype"
uredi
"Cover" parameter with empty value
uredi
This tests |Cover =
, which should leave the area blank.
"Cover" parameter with "blank" value
uredi
This tests |Cover =blank
, which should leave the area blank.
"Cover" parameter with "???" value
uredi
This tests the use of |Cover =???
which should use File:Nocover.png as a cover, rather than show a red link to Image:??? .
"Caption" parameter with multi-line value
uredi
Chronology parameters with multi-line values
uredi
Regression tests
uredi
Album name with double exclamation point
uredi
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.