Difference between revisions of "Template:Cite AV media notes/testcases"
imported>Frietjes (Clean up duplicate template parameters) |
imported>Jdaloner m ("{{t1" --> "{{tl"; updated transclusion of 'testcases notice' box) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Testcases notice}} |
| Line 49: | Line 49: | ||
|- | |- | ||
!style="width: 33%"|Code | !style="width: 33%"|Code | ||
| − | !style="width: 33%"|{{ | + | !style="width: 33%"|{{tl|Cite AV media notes}} |
| − | !style="width: 33%"|{{ | + | !style="width: 33%"|{{tl|Cite AV media notes/sandbox}} |
|- | |- | ||
|style="vertical-align: top"| <nowiki>{{cite AV media notes |title=Album Title |albumlink=Album |bandname=[[Band Name]] |year=Year |notestitle=Notes Title |url=http://www.wikipedia.org |first=First |last=Last |pages=1 |format=Format |publisher=Publisher |publisherid=Publisher ID |location=Location }}</nowiki> | |style="vertical-align: top"| <nowiki>{{cite AV media notes |title=Album Title |albumlink=Album |bandname=[[Band Name]] |year=Year |notestitle=Notes Title |url=http://www.wikipedia.org |first=First |last=Last |pages=1 |format=Format |publisher=Publisher |publisherid=Publisher ID |location=Location }}</nowiki> | ||
| Line 71: | Line 71: | ||
|- | |- | ||
!style="width: 33%"|Code | !style="width: 33%"|Code | ||
| − | !style="width: 33%"|{{ | + | !style="width: 33%"|{{tl|Cite AV media notes}} |
| − | !style="width: 33%"|{{ | + | !style="width: 33%"|{{tl|Cite AV media notes/sandbox}} |
|- | |- | ||
|style="vertical-align: top"| <nowiki>{{cite AV media notes |title=One Page |publisher=Test Books |location=New York |format=booklet |page=2 }}</nowiki> | |style="vertical-align: top"| <nowiki>{{cite AV media notes |title=One Page |publisher=Test Books |location=New York |format=booklet |page=2 }}</nowiki> | ||
| Line 113: | Line 113: | ||
|- | |- | ||
!style="width: 33%"|Code | !style="width: 33%"|Code | ||
| − | !style="width: 33%"|{{ | + | !style="width: 33%"|{{tl|Cite AV media notes/sandbox}} |
| − | !style="width: 33%"|{{ | + | !style="width: 33%"|{{tl|Cite AV media notes/sandbox}} |
|- | |- | ||
|style="vertical-align: top"| <nowiki>{{cite AV media notes |last=Smith |title=No Ref |ref=none }}</nowiki> | |style="vertical-align: top"| <nowiki>{{cite AV media notes |last=Smith |title=No Ref |ref=none }}</nowiki> | ||
| Line 135: | Line 135: | ||
|- | |- | ||
!style="width: 33%"|Code | !style="width: 33%"|Code | ||
| − | !style="width: 33%"|{{ | + | !style="width: 33%"|{{tl|Cite AV media notes/sandbox}} |
| − | !style="width: 33%"|{{ | + | !style="width: 33%"|{{tl|Cite AV media notes/sandbox}} |
|- | |- | ||
|style="vertical-align: top"| <nowiki>{{cite AV media notes |title=Using bandname |bandname=The Band }}</nowiki> | |style="vertical-align: top"| <nowiki>{{cite AV media notes |title=Using bandname |bandname=The Band }}</nowiki> | ||
Revision as of 11:44, 18 January 2015
| This is the template test cases page for the sandbox of Template:Cite AV media notes. Script error: No such module "Purge". 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: |
This citation is {{cite AV media notes/sandbox}} and illustrates a necessary change so that the template will accept either |albumlink= or |titlelink=. The deprecation of several parameters has been proposed. See discussion. As part of that proposition, an AWB script shall be run to replace or delete these parameters before {{cite AV media notes}} migrates to Module:Citation/CS1/sandbox. This sandbox version of the citation, uses the replacement parameters:
- Humphrey, Mark (2007). The Definitive Collection (CD liner). United States: Geffen Records/Chess Records. B0008784-02/CHD-9375 BK02. Unknown parameter
|artist=ignored (|others=suggested) (help)
For comparison, the following two citations use the original parameters (live version first, followed by sandbox version):
- Humphrey, Mark (2007). The Definitive Collection (CD liner)
|format=requires|url=(help) (Media notes). United States: Geffen Records/Chess Records. Unknown parameter|albumlink=ignored (help); Unknown parameter|publisherid=ignored (help); Unknown parameter|artist=ignored (|others=suggested) (help) - Humphrey, Mark (2007). The Definitive Collection (CD liner)
|format=requires|url=(help) (Media notes). United States: Geffen Records/Chess Records. Unknown parameter|albumlink=ignored (help); Unknown parameter|publisherid=ignored (help); Unknown parameter|artist=ignored (|others=suggested) (help)
This citation shows that the peculiar functionality provided by |albumtype=single is disabled. This parameter value changed the format of the citation's title by wrapping it in a ... pair. See this discussion.
- Title (live) (Media notes). Unknown parameter
|albumtype=ignored (help) - Lua error in Module:Citation/CS1/sandbox at line 188: Called with an undefined error condition.
A variety of {{cite AV media notes}} citations from a variety of articles (edited to use the parameter set adopted before migration to Module:Citation/CS1):
| WT | {{cite AV media notes |last=Schwartz |titlelink=Live at Carnegie Hall (Stevie Ray Vaughan album) |year=1984 |publisher=[[Epic Records]] |title=Live at Carnegie Hall |url=http://albumlinernotes.com/Live_at_Carnegie_Hall.html |ref=CITEREFSchwartz1997 |first=Andy |type=booklet}}
|
|---|---|
| Live | Schwartz, Andy (1984). Live at Carnegie Hall (booklet). Epic Records. URL–wikilink conflict (help) |
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. |
url error message because |title= has a matching |albumlink= – can't link to an article and external url at the same time; album link deprecated; improper use of |format
| |
| WT | {{cite AV media notes |last=Humphrey |others=Howlin' Wolf |id=B0008784-02/CHD-9375 BK02 |titlelink=His Best (Howlin' Wolf album) |publisher=[[Geffen Records]]/[[Chess Records]] |title=The Definitive Collection |year=2007 |location=United States |first=Mark |type=CD liner}}
|
|---|---|
| Live | Humphrey, Mark (2007). The Definitive Collection (CD liner). Howlin' Wolf. United States: Geffen Records/Chess Records. B0008784-02/CHD-9375 BK02. |
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. |
| WT | {{cite AV media notes |year=1967 |publisher=EMI |title=The Piper at the Gates of Dawn |others=Pink Floyd |id=SCX6157 |url=http://www.minilps.net/images/stories/shop_image/product/pink-floyd-piper-gates-dawn-back-cover.jpg}}
|
|---|---|
| Live | The Piper at the Gates of Dawn (Media notes). Pink Floyd. EMI. 1967. SCX6157.CS1 maint: others (link) |
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. |
| WT | {{cite AV media notes |type=booklet |others=Dire Straits |id=947773-2 |page=5 |publisher=Warner Bros. Records |title=Brothers in Arms |year=1985}}
|
|---|---|
| Live | Brothers in Arms (booklet). Dire Straits. Warner Bros. Records. 1985. p. 5. 947773-2.CS1 maint: others (link) |
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. |
| WT | {{cite AV media notes |publisher=Discipline Global Mobile |year=1997 |others=King Crimson |title=The Night Watch}}
|
|---|---|
| Live | The Night Watch (Media notes). King Crimson. Discipline Global Mobile. 1997.CS1 maint: others (link) |
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. |
| WT | {{cite AV media notes |chapter=Dreaming Brazil |last=Matthews |others=Gilliam, Terry (Director) |first=Jack |publisher=[[The Criterion Collection]] |title=Brazil |year=1996}}
|
|---|---|
| Live | Matthews, Jack (1996). "Dreaming Brazil". Brazil (Media notes). Gilliam, Terry (Director). The Criterion Collection. |
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. |
| WT | {{cite AV media notes |bandname=Leoš Janáček |type=CD |id=108016-2612 |page=7 |publisher=Supraphon |title=Katya Kabanova ([[Prague National Theatre]], Jaroslav Krombholc) |location=Prague}}
|
|---|---|
| Live | Katya Kabanova (Prague National Theatre, Jaroslav Krombholc) (CD). Prague: Supraphon. p. 7. 108016-2612. Unknown parameter |bandname= ignored (help)
|
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 188: Called with an undefined error condition. |
| WT | {{cite AV media notes |last=Burghauser |last2=Joachimová |type=CD |year=2003 |id=SU 3704-2 032 |first=Jarmil |page=5 |first2=Zoja (translation) |others=[[Václav Neumann]], [[Czech Philharmonic Orchestra]] |publisher=[[Supraphon]] |title=Dvořák: Symphonies 4-5-6 (sleevenote) |location=Prague |language=Czech}}
|
|---|---|
| Live | Burghauser, Jarmil; Joachimová, Zoja (translation) (2003). Dvořák: Symphonies 4-5-6 (sleevenote) (CD) (in Czech). Václav Neumann, Czech Philharmonic Orchestra. Prague: Supraphon. p. 5. SU 3704-2 032. |
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. |
Lua module vs {{citation/core}} positioning differences
| |
| WT | {{cite AV media notes |bandname=Traveling Wilburys |type=CD booklet |year=2007 |url=http://www.travelingwilburys.com/theband.html |mbid=38ee49f1-5b8e-45d4-87f7-051ea96dccba |page=2 |publisher=Wilbury Records |title=The Traveling Wilburys Collection |chapter=The True History of the Traveling Wilburys |first=Mo |authorlink=Mo Ostin |last=Ostin |titlelink=The Traveling Wilburys Collection}}
|
|---|---|
| Live | Ostin, Mo (2007). "The True History of the Traveling Wilburys". The Traveling Wilburys Collection (CD booklet). Wilbury Records. p. 2. Unknown parameter |bandname= ignored (help); Unknown parameter |mbid= ignored (help); URL–wikilink conflict (help)
|
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 188: Called with an undefined error condition. |
| WT | {{cite AV media notes |last=Gould |others=Glenn Gould & [[Claude Rains]] & [[Elisabeth Schwarzkopf]] |type=Booklet |id=[[:Template:UPC]] |first=Glenn |asin=B0000028O4 |publisher=[[Sony Classical Records]] |title=The Glenn Gould Edition Richard Strauss: Ophelia-Lieder: Three Songs after Shakespeare, Op. 67; Enoch Arden: A Melodrama for Piano after Tennyson, Op.38; Piano Sonata, Op. 5; Five Piano Pieces, Op. 3 |year=1992 |location=New York City |ref=harv |url=http://collectionscanada.gc.ca/ourl/res.php?url_ver=Z39.88-2004&url_tim=2011-12-27T08%3A15%3A46Z&url_ctx_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Actx&rft_dat=12663008&rfr_id=info%3Asid%2Fcollectionscanada.gc.ca%3Aamicus&lang=eng}}
|
|---|---|
| Live | Gould, Glenn (1992). The Glenn Gould Edition Richard Strauss: Ophelia-Lieder: Three Songs after Shakespeare, Op. 67; Enoch Arden: A Melodrama for Piano after Tennyson, Op.38; Piano Sonata, Op. 5; Five Piano Pieces, Op. 3 (Booklet). Glenn Gould & Claude Rains & Elisabeth Schwarzkopf. New York City: Sony Classical Records. ASIN B0000028O4. Template:UPC.CS1 maint: ref=harv (link) |
| Sandbox | Lua error in Module:Citation/CS1/sandbox at line 126: Argument map not defined for this variable. |
Original test cases for
{{citation/core}} version of {{cite AV media notes}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ExamplesSelected examples from the documentation page.
Page numbersTests related to page number handling.
Ref= parameterTests related to
Artist / bandnameTests related to
|