Template:Cite AV media notes/testcases

From blackwiki
Jump to navigation Jump to search


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):

Cite AV media notes comparison
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
Cite AV media notes comparison
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.
Cite AV media notes comparison
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.
Cite AV media notes comparison
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.
Cite AV media notes comparison
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.
Cite AV media notes comparison
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.
Cite AV media notes comparison
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.
Cite AV media notes comparison
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
Cite AV media notes comparison
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.
Cite AV media notes comparison
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}}

Examples

Selected examples from the documentation page.

Code {{Cite AV media notes}} {{Cite AV media notes/sandbox}}
{{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 }} Last, First (Year). Album Title (Format) (Media notes). Location: Publisher. p. 1. Unknown parameter |albumlink= ignored (help); Unknown parameter |publisherid= ignored (help); Unknown parameter |notestitle= ignored (help); Unknown parameter |bandname= ignored (help); Check date values in: |year= (help) Last, First (Year). Album Title (Format) (Media notes). Location: Publisher. p. 1. Unknown parameter |albumlink= ignored (help); Unknown parameter |publisherid= ignored (help); Unknown parameter |notestitle= ignored (help); Unknown parameter |bandname= ignored (help); Check date values in: |year= (help)
{{cite AV media notes |title=New Moon |albumlink=New Moon (Elliott Smith album) |bandname=[[Elliott Smith]] |year=2007 |pages=4 |format=CD booklet |publisher=[[Kill Rock Stars]] |publisherid=KRS455 |location=[[Olympia, Washington|Olympia, WA]] }} New Moon (CD booklet)|format= requires |url= (help) (Media notes). Olympia, WA: Kill Rock Stars. 2007. p. 4. Unknown parameter |albumlink= ignored (help); Unknown parameter |publisherid= ignored (help); Unknown parameter |bandname= ignored (help) New Moon (CD booklet)|format= requires |url= (help) (Media notes). Olympia, WA: Kill Rock Stars. 2007. p. 4. Unknown parameter |albumlink= ignored (help); Unknown parameter |publisherid= ignored (help); Unknown parameter |bandname= ignored (help)
{{cite AV media notes |title=Ten years of black country religion 1926–1936 |last=Calt |first=Stephen |coauthors=Nick Perls, Michael Stewart |publisher=[[Yazoo Records]] |publisherid=L-1022 |location=New York |format=vinyl back cover |url=http://www.wikipedia.org }} Calt, Stephen. Ten years of black country religion 1926–1936 (vinyl back cover) (Media notes). New York: Yazoo Records. Unknown parameter |publisherid= ignored (help); Unknown parameter |coauthors= ignored (|author= suggested) (help) Calt, Stephen. Ten years of black country religion 1926–1936 (vinyl back cover) (Media notes). New York: Yazoo Records. Unknown parameter |publisherid= ignored (help); Unknown parameter |coauthors= ignored (|author= suggested) (help)

Page numbers

Tests related to page number handling.

Code {{Cite AV media notes}} {{Cite AV media notes/sandbox}}
{{cite AV media notes |title=One Page |publisher=Test Books |location=New York |format=booklet |page=2 }} One Page (booklet)|format= requires |url= (help) (Media notes). New York: Test Books. p. 2. One Page (booklet)|format= requires |url= (help) (Media notes). New York: Test Books. p. 2.
{{cite AV media notes |title=Ten Pages |publisher=Test Books |location=New York |format=booklet |pages=1-10 }} Ten Pages (booklet)|format= requires |url= (help) (Media notes). New York: Test Books. pp. 1–10. Ten Pages (booklet)|format= requires |url= (help) (Media notes). New York: Test Books. pp. 1–10.
{{cite AV media notes |title=Multiple Pages, N-Dash |publisher=Test Books |location=New York |format=booklet |pages=3–5 }} Multiple Pages, N-Dash (booklet)|format= requires |url= (help) (Media notes). New York: Test Books. pp. 3–5. Multiple Pages, N-Dash (booklet)|format= requires |url= (help) (Media notes). New York: Test Books. pp. 3–5.
{{cite AV media notes |title=One Page, No Format |publisher=Test Books |location=New York |page=2 }} One Page, No Format (Media notes). New York: Test Books. p. 2. One Page, No Format (Media notes). New York: Test Books. p. 2.
{{cite AV media notes |title=Ten Pages, No Format |publisher=Test Books |location=New York |pages=1-10 }} Ten Pages, No Format (Media notes). New York: Test Books. pp. 1–10. Ten Pages, No Format (Media notes). New York: Test Books. pp. 1–10.
{{cite AV media notes |title=User Page Prefix |publisher=Test Books |location=New York |pages=p 1 }} User Page Prefix (Media notes). New York: Test Books. pp. p 1.CS1 maint: extra text (link) User Page Prefix (Media notes). New York: Test Books. pp. p 1.CS1 maint: extra text (link)
{{cite AV media notes |title=Named Page |publisher=Test Books |location=New York |at=back cover }} Named Page (Media notes). New York: Test Books. back cover. Named Page (Media notes). New York: Test Books. back cover.
{{cite AV media notes |title=Named Page |notestitle=Notes |publisher=Test Books |location=New York |at=back cover }} Named Page (Media notes). New York: Test Books. back cover. Unknown parameter |notestitle= ignored (help) Named Page (Media notes). New York: Test Books. back cover. Unknown parameter |notestitle= ignored (help)

Ref= parameter

Tests related to |ref= handling. Using both the production version and the test version on the same page generates duplicate HTML element IDs, so this page does not support link tests. Examine the HTML to determine if the template is working properly.

Code {{Cite AV media notes/sandbox}} {{Cite AV media notes/sandbox}}
{{cite AV media notes |last=Smith |title=No Ref |ref=none }} Smith. No Ref (Media notes). Smith. No Ref (Media notes).
{{cite AV media notes |last=Smith |title=Harvard Reference |ref=harv }} Smith. Harvard Reference (Media notes).CS1 maint: ref=harv (link) Smith. Harvard Reference (Media notes).CS1 maint: ref=harv (link)
{{cite AV media notes |last=Smith |year=2009 |title=Harvard Reference |ref=harv }} Smith (2009). Harvard Reference (Media notes).CS1 maint: ref=harv (link) Smith (2009). Harvard Reference (Media notes).CS1 maint: ref=harv (link)

Artist / bandname

Tests related to |artist= and its (deprecated) synonym |bandname=.

Code {{Cite AV media notes/sandbox}} {{Cite AV media notes/sandbox}}
{{cite AV media notes |title=Using bandname |bandname=The Band }} Smith. Using bandname (Media notes). Unknown parameter |bandname= ignored (help) Using bandname (Media notes). Unknown parameter |bandname= ignored (help)
{{cite AV media notes |title=Using artist |artist=The Band }} Using artist (Media notes). Unknown parameter |artist= ignored (|others= suggested) (help) Using artist (Media notes). Unknown parameter |artist= ignored (|others= suggested) (help)CS1 maint: ref=harv (link)
{{cite AV media notes |title=Using both |artist=The artist |bandname=The bandname }} Using both (Media notes). Unknown parameter |bandname= ignored (help); Unknown parameter |artist= ignored (|others= suggested) (help) Using both (Media notes). Unknown parameter |bandname= ignored (help); Unknown parameter |artist= ignored (|others= suggested) (help)