Plantilla:Infobox album (Español)/testcases

De MacphersonWiki
Ir a la navegación Ir a la búsqueda

Main tests[editar código]

Normal parameters[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled


All parameters[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

Example from a real article, with Singles template[editar código]

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

Video parameters[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

Album with cover[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

Artist name that starts with numbers followed by lower-case letters[editar código]

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

Auxiliary tests[editar código]

"Name" parameter missing[editar código]

This should generate "Untitled" unitalicized.

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

"Name" parameter with empty value[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled


"Type" parameter with "single" and "song" values[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

"Cover" parameter with empty value[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

"Cover" parameter with "blank" value[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

"Cover" parameter with "???" value[editar código]

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

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

"Caption" parameter with multi-line value[editar código]

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

Chronology parameters with multi-line values[editar código]

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled

Regression tests[editar código]

Album name with double exclamation point[editar código]

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.

{{Infobox album (Español)}}

Untitled

{{Infobox album (Español)/sandbox}}

Untitled