Template:Testcase/testcases

{{testcase |{{WPHawaii|category=no|class=NA}} |{{WPHawaii|category=no|class=NA}} |{{WPHawaii/sandbox|category=no|class=NA}} }} Test 1: Output of live template

Template:Testcase/testcases

Test 1: Default settings

  • Title bar: defaults to 1st unnamed parameter
  • Layout: defaults to "vertical"

Test 1: Code

{{testcase
|{{WPHawaii|category=no|class=NA}}
|{{WPHawaii|category=no|class=NA}}
|{{WPHawaii/sandbox|category=no|class=NA}}
}}

Test 1: Output of live template

{{WPHawaii|category=no|class=NA}}
{{{1}}}
Template:WPHawaii
Template:WPHawaii/sandbox
Expanded code
[[:Template:WPHawaii]]
[[:Template:WPHawaii/sandbox]]

Test 1: Output of sandbox template

{{WPHawaii|category=no|class=NA}}
{{WPHawaii|category=no|class=NA}}
Template:WPHawaii
Template:WPHawaii/sandbox

Test 2: Non-default settings

  • Title bar: specified via the id parameter
  • Layout: specified via the layout parameter

Test 2: Code

{{Testcase | id=Nirvana | layout=horizontal
|<!--display template code-->
{{Infobox album
| Name        = Nirvana
| Type        = greatest
| Artist      = [[Nirvana (band)|Nirvana]]
| 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     = *[[Allmusic]] {{Rating|2.5|5}}-->
| Last album  = ''[[From the Muddy Banks of the Wishkah]]''<br />(1996)
| This album  = '''''Nirvana''''' <br /> (2002)
| Next album  = ''[[With the Lights Out]]''<br />(2004)
}}
| <!--display output of live template-->
{{Infobox album
| Name        = Nirvana
| Type        = greatest
| Artist      = [[Nirvana (band)|Nirvana]]
| 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     = *[[Allmusic]] {{Rating|2.5|5}}-->
| Last album  = ''[[From the Muddy Banks of the Wishkah]]''<br />(1996)
| This album  = '''''Nirvana''''' <br /> (2002)
| Next album  = ''[[With the Lights Out]]''<br />(2004)
}}
| <!--display output of sandbox template-->
{{Infobox album/sandbox
| Name        = Nirvana
| Type        = greatest
| Artist      = [[Nirvana (band)|Nirvana]]
| 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     = *[[Allmusic]] {{Rating|2.5|5}}-->
| Last album  = ''[[From the Muddy Banks of the Wishkah]]''<br />(1996)
| This album  = '''''Nirvana''''' <br /> (2002)
| Next album  = ''[[With the Lights Out]]''<br />(2004)
}}
}} <!--end of {{Testcase}}-->

Test 2: Output of live template

Nirvana
{{{1}}}
Untitled


Nirvana
Greatest hits album by Nirvana
ReleasedOctober 29, 2002
Recorded1988–1994
GenreGrunge
Length49:38
LanguageEnglish
LabelDGC
ProducerSteve Albini, Jack Endino, Steve Fisk, Scott Litt, Butch Vig
Nirvana chronology
From the Muddy Banks of the Wishkah
(1996)From the Muddy Banks of the Wishkah1996
Nirvana
(2002)
With the Lights Out
(2004)With the Lights Out2004
Expanded code
'"`UNIQ--templatestyles-0000000D-QINU`"'<table class="infobox vevent haudio"><tr><th colspan="2" class="infobox-above summary album" style="font-style: italic; background-color: lightsteelblue"><span style="font-style: normal">Untitled</span></th></tr><tr><th colspan="2" class="infobox-header description" style="background-color: lightsteelblue">[[Category:Music infoboxes with unknown value for type|A]]</th></tr></table>[[Category:Pages using infobox album with empty type parameter]]
'"`UNIQ--templatestyles-0000000F-QINU`"''"`UNIQ--templatestyles-00000011-QINU`"''"`UNIQ--templatestyles-00000013-QINU`"'<table class="infobox vevent haudio"><tr><th colspan="2" class="infobox-above summary album" style="font-style: italic; background-color: darkseagreen">Nirvana</th></tr><tr><th colspan="2" class="infobox-header description" style="background-color: darkseagreen">[[Greatest hits album]]&#32;by <span class="contributor">[[Nirvana (band)|Nirvana]]</span></th></tr><tr><th scope="row" class="infobox-label">Released</th><td class="infobox-data published">October 29, 2002</td></tr><tr><th scope="row" class="infobox-label">Recorded</th><td class="infobox-data plainlist">1988–1994</td></tr><tr><th scope="row" class="infobox-label">[[Music genre|Genre]]</th><td class="infobox-data category hlist">[[Grunge music|Grunge]]</td></tr><tr><th scope="row" class="infobox-label">Length</th><td class="infobox-data"><span class="duration"><span class="min">49</span>:<span class="s">38</span></span></td></tr><tr><th scope="row" class="infobox-label">Language</th><td class="infobox-data category">[[English language|English]]</td></tr><tr><th scope="row" class="infobox-label">[[Record label|Label]]</th><td class="infobox-data hlist">[[DGC Records|DGC]]</td></tr><tr><th scope="row" class="infobox-label">[[Record producer|Producer]]</th><td class="infobox-data hlist">[[Steve Albini]], [[Jack Endino]], [[Steve Fisk]], [[Scott Litt]], [[Butch Vig]]</td></tr><tr><th colspan="2" class="infobox-header description" style="background-color: darkseagreen">[[Nirvana (band)|Nirvana]] chronology</th></tr><tr><td colspan="2" class="infobox-full-data"> {| style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse" |- style="line-height: 1.4em;" | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" | ''[[From the Muddy Banks of the Wishkah]]''<br />(1996)<span style="display:none">[[From the Muddy Banks of the Wishkah]]1996</span> | style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" | '''''Nirvana''''' <br /> (2002) | style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" | ''[[With the Lights Out]]''<br />(2004)<span style="display:none">[[With the Lights Out]]2004</span> |}</td></tr></table>

Test 2: Output of sandbox template

Nirvana
{{Infobox album
| Name        = Nirvana
| Type        = greatest
| Artist      = [[Nirvana (band)|Nirvana]]
| 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     = *[[Allmusic]] {{Rating|2.5|5}}-->
| Last album  = ''[[From the Muddy Banks of the Wishkah]]''<br />(1996)
| This album  = '''''Nirvana''''' <br /> (2002)
| Next album  = ''[[With the Lights Out]]''<br />(2004)
}}
Untitled


Nirvana
Greatest hits album by Nirvana
ReleasedOctober 29, 2002
Recorded1988–1994
GenreGrunge
Length49:38
LanguageEnglish
LabelDGC
ProducerSteve Albini, Jack Endino, Steve Fisk, Scott Litt, Butch Vig
Nirvana chronology
From the Muddy Banks of the Wishkah
(1996)From the Muddy Banks of the Wishkah1996
Nirvana
(2002)
With the Lights Out
(2004)With the Lights Out2004

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.