Plantilla:Infobox album (Español)/testcases
This is the template test cases page for the sandbox of Plantilla:Infobox album (Español). to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
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.
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|
All parameters[editar código]
This test uses all of the parameters at WP:ALBUM#Advanced usage.
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|
Example from a real article, with Singles template[editar código]
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.
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.
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|
Artist name that starts with numbers followed by lower-case letters[editar código]
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|
Auxiliary tests[editar código]
"Name" parameter missing[editar código]
This should generate "Untitled" unitalicized.
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.
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.
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|
"Cover" parameter with empty value[editar código]
This tests |Cover=
, which should leave the area blank.
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.
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:???.
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|
"Caption" parameter with multi-line value[editar código]
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|
Chronology parameters with multi-line values[editar código]
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.
Untitled | |
---|---|
{{Infobox album (Español)/sandbox}}
Untitled |
---|