Predloga:Infopolje Album/testniprimeri
![]() |
To je stran testnih primerov za peskovnik predloge Predloga:Infopolje Album. za osvežitev primerov. Če je predloga zapletena z veliko primeri, lahko pride do tega, da se spodnji primeri ne naložijo zaradi omejitev v MediaWiki. Testiraš lahko tudi kako stran izgleda v različni koži s pomočjo spodnjih povezav: |
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.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
All parameters
[uredi kodo]This test uses all of the parameters at WP:ALBUM#Advanced usage.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Example from a real article, with Singles template
[uredi kodo]{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Video parameters
[uredi kodo]This test tests the parameters needed to merge {{Infobox music DVD}} with {{Infobox album}}. See WT:ALBUM#Video infobox.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Album with cover
[uredi kodo]This album cover is public domain, so we can use it in a test case.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Artist name that starts with numbers followed by lower-case letters
[uredi kodo]{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Auxiliary tests
[uredi kodo]"Name" parameter missing
[uredi kodo]This should generate "Untitled" unitalicized.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||
---|---|---|---|---|---|---|---|
|
|
"Name" parameter with empty value
[uredi kodo]This tests Name=
. Like the test with a missing "name" parameter, this should generate "Untitled" unitalicized.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||
---|---|---|---|---|---|---|---|
|
|
"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.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||
---|---|---|---|---|---|---|---|
|
|
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||
---|---|---|---|---|---|---|---|
|
|
"Type" parameter with "other" and specified "longtype"
[uredi kodo]{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||
---|---|---|---|---|---|---|---|
|
|
"Cover" parameter with empty value
[uredi kodo]This tests |Cover=
, which should leave the area blank.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||
---|---|---|---|---|---|---|---|
|
|
"Cover" parameter with "blank" value
[uredi kodo]This tests |Cover=blank
, which should leave the area blank.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||
---|---|---|---|---|---|---|---|
|
|
"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:???.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||||
---|---|---|---|---|---|---|---|---|---|
|
|
"Caption" parameter with multi-line value
[uredi kodo]{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||||
---|---|---|---|---|---|---|---|---|---|
|
|
Chronology parameters with multi-line values
[uredi kodo]{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
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.
{{Infopolje Album}} | {{Infopolje Album/peskovnik}} | ||||||
---|---|---|---|---|---|---|---|
|
|