Difference between revisions of "Template:Infobox album/testcases"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89 bot
(WP:NFCC#9: Non-free files are only permitted in articles)
imported>Jonesey95
 
Line 116: Line 116:
 
| next_title = [[With the Lights Out]]
 
| next_title = [[With the Lights Out]]
 
| next_year  = 2004
 
| next_year  = 2004
 +
}}
 +
 +
===Artist name that starts with numbers followed by lower-case letters===
 +
{{Testcase table
 +
| name      = Alive in You
 +
| type      = Studio
 +
| artist    = [[7eventh Time Down]]
 +
| cover      = Nirvana album cover.jpg
 +
| alt        = Black square with the gray word "NIRVANA" in the center.
 +
| released  = {{start date|2011|9|13}}
 +
| recorded  = 2010-2011
 +
| venue      =
 +
| studio    =
 +
| genre      = {{flatlist|
 +
* [[Hard rock]]
 +
* [[Heavy metal music|heavy metal]]
 +
* [[contemporary worship music|worship metal]]
 +
* [[post-grunge]]
 +
* [[punk rock]]
 +
* [[alternative metal]]
 +
}}
 +
| length    = {{Duration|m=37|s=43}}
 +
| label      = [[BEC Recordings|BEC]], [[Tooth & Nail records|Tooth & Nail]]
 +
| producer  =
 +
| prev_title =
 +
| prev_year  =
 +
| next_title = [[Just Say Jesus]]
 +
| next_year  = 2013
 +
| misc      = {{Singles
 +
| name        = Alive In You
 +
| type        = studio
 +
| single1    = Alive In You
 +
| single1date = 2012
 +
| single2    = [[What About Tonight (song)|What About Tonight]]
 +
| single2date = 2012
 +
}}
 
}}
 
}}
  

Latest revision as of 00:17, 7 May 2020

  1. REDIRECT Template:Testcases notice
  • From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.

Main tests

Normal parameters

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


All parameters

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

Example from a real article, with Singles template

Template:Testcase table

Video parameters

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

Template:Testcase table

Album with cover

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

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

Template:Testcase table

Auxiliary tests

"Name" parameter missing

This should generate "Untitled" unitalicized. Template:Testcase table

"Name" parameter with empty value

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


"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. Template:Testcase table Template:Testcase table

"Cover" parameter with empty value

This tests |Cover=, which should leave the area blank. Template:Testcase table

"Cover" parameter with "blank" value

This tests |Cover=blank, which should leave the area blank. Template:Testcase table

"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:???. Template:Testcase table

"Caption" parameter with multi-line value

Template:Testcase table

Chronology parameters with multi-line values

Template:Testcase table

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. Template:Testcase table