Predloga:Infopolje Album/testniprimeri

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search

Main tests[uredi kodo]

Normal parameters[uredi kodo]

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

Template peskovnik
Ime
Ribbon Bar of None.svg
Umetnik – studijski album
IzdanReleased
PosnetRecorded
SlogGenre
DolžinaLength
ZaložbaLabel
ProducentProducer
Umetnik
Prejšnji album
(Leto)
Ta album
(Leto)
Naslednji album
(Leto)
Ime
Ribbon Bar of None.svg
Umetnik - studijski album
IzdanReleased
PosnetRecorded
SlogGenre
DolžinaLength
ZaložbaLabel
ProducentProducer
Umetnik - kronologija
Prejšnji album
(Leto)
Ta album
(Leto)
Naslednji album
(Leto)

All parameters[uredi kodo]

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

Template peskovnik
Ime
Ribbon Bar of None.svg
Caption
Umetnik – studijski album Longtype
IzdanReleased
PosnetRecorded
SlogGenre
DolžinaLength
JezikLanguage
ZaložbaLabel
ProducentProducer
SestavilCompiler
Umetnik
Prejšnji album
(Leto)
Ta album
(Leto)
Naslednji album
(Leto)
Alternate cover
Cover of some edition
Ime
Ribbon Bar of None.svg
Caption
Umetnik - studijski album Longtype
IzdanReleased
PosnetRecorded
SlogGenre
DolžinaLength
JezikLanguage
ZaložbaLabel
ProducentProducer
SestavilCompiler
Umetnik - kronologija
Prejšnji album
(Leto)
Ta album
(Leto)
Naslednji album
(Leto)
Alternate cover
Cover of some edition

Video parameters[uredi kodo]

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

Template peskovnik
Ime
Umetnik – video
RežiserDirector
Umetnik
Prejšnji album
(Leto)
Ta album
(Leto)
Naslednji album
(Leto)
Ime
Umetnik - video
RežiserDirector
Umetnik - kronologija
Prejšnji album
(Leto)
Ta album
(Leto)
Naslednji album
(Leto)

Album with cover[uredi kodo]

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

Nirvana

{{Infopolje Album
| Name        = Nirvana
| Type        = greatest
| Artist      = [[Nirvana (band)|Nirvana]]
| Cover       = Nirvana album cover.jpg
| Alt         = Black square with the gray word "NIRVANA" in the center.
| Released    = October 29, 2002
| Recorded    = 1988–1994
| Genre       = [[Grunge music|Grunge]]
| Length      = 49:38
| Language    = [[English language|English]]
| Label       = [[DGC Records|DGC]]
| Producer    = [[Steve Albini]], [[Jack Endino]], [[Steve Fisk]], [[Scott Litt]], [[Butch Vig]]
| Reviews     = 
| Compiler    =
| Chronology  = 
| Last album  = ''[[From the Muddy Banks of the Wishkah]]''<br />(1996)
| This album  = '''''Nirvana''''' <br /> (2002)
| Next album  = ''[[With the Lights Out]]''<br />(2004)
}}


Nirvana
Black square with the gray word "NIRVANA" in the center.
Nirvanaalbum največjih uspešnic
IzdanOctober 29, 2002
Posnet1988–1994
SlogGrunge
Dolžina49:38
JezikEnglish
ZaložbaDGC
ProducentSteve Albini, Jack Endino, Steve Fisk, Scott Litt, Butch Vig
Nirvana
From the Muddy Banks of the Wishkah
(1996)
Nirvana
(2002)
With the Lights Out
(2004)


Nirvana
Black square with the gray word "NIRVANA" in the center.
Nirvana - album največjih uspešnic
IzdanOctober 29, 2002
Posnet1988–1994
SlogGrunge
Dolžina49:38
JezikEnglish
ZaložbaDGC
ProducentSteve Albini, Jack Endino, Steve Fisk, Scott Litt, Butch Vig
Nirvana - kronologija
From the Muddy Banks of the Wishkah
(1996)
Nirvana
(2002)
With the Lights Out
(2004)


Auxiliary tests[uredi kodo]

"Name" parameter missing[uredi kodo]

This should generate "Untitled" unitalicized.

Template peskovnik
Brez naslova
studijski album
Brez naslova
studijski album

"Name" parameter with empty value[uredi kodo]

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

Template peskovnik
Brez naslova
studijski album
Brez naslova
studijski album

"Type" parameter with "single" and "song" values[uredi kodo]

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

Template peskovnik
Brez naslova
single
Brez naslova
single
Template peskovnik
Brez naslova
song
Brez naslova
song

"Cover" parameter with empty value[uredi kodo]

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

Template peskovnik
test
studijski album
test
studijski album

"Cover" parameter with "blank" value[uredi kodo]

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

Template peskovnik
test
studijski album
test
studijski album

"Cover" parameter with "???" value[uredi kodo]

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

Template peskovnik
test
Nocover.png
studijski album
test
Nocover.png
studijski album

"Caption" parameter with multi-line value[uredi kodo]

Template peskovnik
test
Nocover.png
test test test test test test test test test test test test test test test test test
studijski album
test
Nocover.png
test test test test test test test test test test test test test test test test test
studijski album

Chronology parameters with multi-line values[uredi kodo]

Template peskovnik
test
Umetnik – studijski album
Umetnik
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
Umetnik - studijski album
Umetnik - kronologija
test test test test test test test
(2000)
test test test test test test test
(2000)
test test test test test test test
(2000)

Regression tests[uredi kodo]

Album name with double exclamation point[uredi kodo]

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 peskovnik
test!! test
studijski album
test!! test
studijski album