From Wikipedia, the free encyclopedia
[edit] Main tests
[edit] Normal parameters
This test uses the normal parameters from WP:ALBUM#Code, which excludes the advanced parameters at WP:ALBUM#Advanced usage.
Template |
Sandbox |
Name |
|
Studio album by Artist |
Released |
Released |
Recorded |
Recorded |
Genre |
Genre |
Length |
Length |
Label |
Label |
Producer |
Producer |
Professional reviews |
|
Artist chronology |
Last album
(Year) |
This album
(Year) |
Next album
(Year) |
|
|
Name |
|
Studio album by Artist |
Released |
Released |
Recorded |
Recorded |
Genre |
Genre |
Length |
Length |
Label |
Label |
Producer |
Producer |
Professional reviews |
|
Artist chronology |
Last album
(Year) |
This album
(Year) |
Next album
(Year) |
|
|
[edit] All parameters
This test uses all of the parameters at WP:ALBUM#Advanced usage.
Template |
Sandbox |
Name |
Caption
|
Studio album Longtype by Artist |
Released |
Released |
Recorded |
Recorded |
Genre |
Genre |
Length |
Length |
Language |
Language |
Label |
Label |
Producer |
Producer |
Compiler |
Compiler |
Professional reviews |
|
Chronology chronology |
Last album
(Year) |
This album
(Year) |
Next album
(Year) |
|
Alternate cover |
Cover of some edition
|
|
Name |
Caption
|
Studio album Longtype by Artist |
Released |
Released |
Recorded |
Recorded |
Genre |
Genre |
Length |
Length |
Language |
Language |
Label |
Label |
Producer |
Producer |
Compiler |
Compiler |
Professional reviews |
|
Chronology chronology |
Last album
(Year) |
This album
(Year) |
Next album
(Year) |
|
Alternate cover |
Cover of some edition
|
|
[edit] Video parameters
This test tests the parameters needed to merge {{Infobox music DVD}} with {{Infobox Album}}. See WT:ALBUM#Video infobox.
Template |
Sandbox |
Name |
Video by Artist |
Director |
Director |
Artist video chronology |
Last album
(Year) |
This album
(Year) |
Next album
(Year) |
|
|
Name |
Video by Artist |
Director |
Director |
Artist video chronology |
Last album
(Year) |
This album
(Year) |
Next album
(Year) |
|
|
[edit] Auxiliary tests
[edit] "Name" parameter missing
This should generate "Untitled" unitalicized.
[edit] "Name" parameter with empty value
This tests Name=
. Like the test with a missing "name" parameter, this should generate "Untitled" unitalicized.
[edit] "Type" parameter with "single" value
[edit] "Cover" parameter with empty value
This tests "Cover = ", which should use Image:Nocover-upload.png and an imagemap to link to Template:Infobox Album/No cover.
[edit] "Cover" parameter with "Nocover.png" value
"Cover = Nocover.png" is special-cased to work like "Cover = " (which actually uses Image:Nocover-upload.png instead of Image:Nocover.png).
[edit] "Cover" parameter with "???" value
As of this change, the Cover section is below the Details section, which recommends using ???
for unknown values. This should be special-cased for the Cover
parameter, by treating Cover = ???
like Cover =
, to avoid showing a red link to Image:???.
[edit] "Caption" parameter with multi-line value
Template |
Sandbox |
test |
test test test test test test test test test test test test test test test test test
|
Studio album |
|
test |
test test test test test test test test test test test test test test test test test
|
Studio album |
|
[edit] Chronology parameters with multi-line values
Template |
Sandbox |
test |
|
Studio album by Artist |
Artist chronology |
test test test test test test test
(2000) |
test test test test test test test
(2000) |
test test test test test test test
(2000) |
|
|
test |
|
Studio album by Artist |
Artist chronology |
test test test test test test test
(2000) |
test test test test test test test
(2000) |
test test test test test test test
(2000) |
|
|
[edit] Regression tests
[edit] 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.