Template:Cite AV media notes/testcases

From Wikipedia, the free encyclopedia
Jump to: navigation, 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:

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) (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) (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)
  • Title (sandbox) (Media notes).  Unknown parameter |albumtype= ignored (help)

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 compare
{{ cite AV media notes | last=Schwartz | titlelink=Live at Carnegie Hall (Stevie Ray Vaughan album) | ref=CITEREFSchwartz1997 | publisher=[[Epic Records]] | year=1984 | type=booklet | first=Andy | title=Live at Carnegie Hall | url=http://albumlinernotes.com/Live_at_Carnegie_Hall.html }}
Live Schwartz, Andy (1984). Live at Carnegie Hall (booklet). Epic Records http://albumlinernotes.com/Live_at_Carnegie_Hall.html |url= missing title (help). 
Sandbox Schwartz, Andy (1984). Live at Carnegie Hall (booklet). Epic Records http://albumlinernotes.com/Live_at_Carnegie_Hall.html |url= missing title (help). 
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 compare
{{ 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]] | year=2007 | type=CD liner | location=United States | first=Mark | title=The Definitive Collection }}
Live Humphrey, Mark (2007). The Definitive Collection (CD liner). Howlin' Wolf. United States: Geffen Records/Chess Records. B0008784-02/CHD-9375 BK02. 
Sandbox Humphrey, Mark (2007). The Definitive Collection (CD liner). Howlin' Wolf. United States: Geffen Records/Chess Records. B0008784-02/CHD-9375 BK02. 
Cite AV media notes compare
{{ cite AV media notes | url=http://www.minilps.net/images/stories/shop_image/product/pink-floyd-piper-gates-dawn-back-cover.jpg | publisher=EMI | title=The Piper at the Gates of Dawn | year=1967 | id=SCX6157 | others=Pink Floyd }}
Live The Piper at the Gates of Dawn (Media notes). Pink Floyd. EMI. 1967. SCX6157. 
Sandbox The Piper at the Gates of Dawn (Media notes). Pink Floyd. EMI. 1967. SCX6157. 
Cite AV media notes compare
{{ cite AV media notes | type=booklet | others=Dire Straits | id=947773-2 | titlelink= | page=5 | publisher=Warner Bros. Records | year=1985 | title=Brothers in Arms }}
Live Brothers in Arms (booklet). Dire Straits. Warner Bros. Records. 1985. p. 5. 947773-2. 
Sandbox Brothers in Arms (booklet). Dire Straits. Warner Bros. Records. 1985. p. 5. 947773-2. 
Cite AV media notes compare
{{ cite AV media notes | publisher=Discipline Global Mobile | others=King Crimson | year=1997 | title=The Night Watch }}
Live The Night Watch (Media notes). King Crimson. Discipline Global Mobile. 1997. 
Sandbox The Night Watch (Media notes). King Crimson. Discipline Global Mobile. 1997. 
Cite AV media notes compare
{{ cite AV media notes | chapter=Dreaming Brazil | last=Matthews | others=Gilliam, Terry (Director) | first=Jack | publisher=[[The Criterion Collection]] | year=1996 | title=Brazil }}
Live Matthews, Jack (1996). "Dreaming Brazil". Brazil (Media notes). Gilliam, Terry (Director). The Criterion Collection. 
Sandbox Matthews, Jack (1996). "Dreaming Brazil". Brazil (Media notes). Gilliam, Terry (Director). The Criterion Collection. 
Cite AV media notes compare
{{ cite AV media notes | chapter= | type=CD | id=108016-2612 | titlelink= | page=7 | mbid= | publisher=Supraphon | title=Katya Kabanova ([[Prague National Theatre]], Jaroslav Krombholc) | coauthors= | location=Prague | bandname=Leoš Janáček | url= }}
Live Katya Kabanova (Prague National Theatre, Jaroslav Krombholc) (CD). Prague: Supraphon. p. 7. 108016-2612.  Unknown parameter |bandname= ignored (help)
Sandbox Katya Kabanova (Prague National Theatre, Jaroslav Krombholc) (CD). Prague: Supraphon. p. 7. 108016-2612.  Unknown parameter |bandname= ignored (help)
Cite AV media notes compare
{{ cite AV media notes | authorlink2= | last=Burghauser | others=[[Václav Neumann]], [[Czech Philharmonic Orchestra]] | titlelink= | last2=Joachimová | pages= | type=CD | language=Czech | id=SU 3704-2 032 | first=Jarmil | page=5 | first2=Zoja (translation) | url= | publisher=[[Supraphon]] | title=Dvořák: Symphonies 4-5-6 (sleevenote) | chapter= | location=Prague | ref= | year=2003 | authorlink= }}
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 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. 
Lua module vs {{citation/core}} positioning differences
Cite AV media notes compare
{{ cite AV media notes | chapter=The True History of the Traveling Wilburys | last=Ostin | mbid=38ee49f1-5b8e-45d4-87f7-051ea96dccba | authorlink=Mo Ostin | titlelink=The Traveling Wilburys Collection | page=2 | type=CD booklet | publisher=Wilbury Records | year=2007 | first=Mo | bandname=Traveling Wilburys | title=The Traveling Wilburys Collection | url=http://www.travelingwilburys.com/theband.html }}
Live Ostin, Mo (2007). "The True History of the Traveling Wilburys". The Traveling Wilburys Collection (CD booklet). Wilbury Records. p. 2 http://www.travelingwilburys.com/theband.html |url= missing title (help).  Unknown parameter |bandname= ignored (help); Unknown parameter |mbid= ignored (help)
Sandbox Ostin, Mo (2007). "The True History of the Traveling Wilburys". The Traveling Wilburys Collection (CD booklet). Wilbury Records. p. 2 http://www.travelingwilburys.com/theband.html |url= missing title (help).  Unknown parameter |bandname= ignored (help); Unknown parameter |mbid= ignored (help)
Cite AV media notes compare
{{ cite AV media notes | bandname= | last=Gould | others=Glenn Gould & [[Claude Rains]] & [[Elisabeth Schwarzkopf]] | titlelink= | 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 | type=Booklet | id=[[Universal Product Code|UPC]] [http://www.searchupc.com/?q=07464526572 07464526572] | 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 | location=New York City | notestitle= | ref=harv | year=1992 }}
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. UPC 07464526572. 
Sandbox 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. UPC 07464526572. 


Original test cases for {{citation/core}} version of {{cite AV media notes}}

Examples[edit]

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 |bandname= ignored (help); Unknown parameter |notestitle= ignored (help); Check date values in: |date= (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 |bandname= ignored (help); Unknown parameter |notestitle= ignored (help); Check date values in: |date= (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) (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) (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[edit]

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) (Media notes). New York: Test Books. p. 2.  One Page (booklet) (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) (Media notes). New York: Test Books. pp. 1–10.  Ten Pages (booklet) (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) (Media notes). New York: Test Books. pp. 3–5.  Multiple Pages, N-Dash (booklet) (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.  User Page Prefix (Media notes). New York: Test Books. pp. p 1. 
{{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[edit]

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).  Smith. Harvard Reference (Media notes). 
{{cite AV media notes |last=Smith |year=2009 |title=Harvard Reference |ref=harv }} Smith (2009). Harvard Reference (Media notes).  Smith (2009). Harvard Reference (Media notes). 

Artist / bandname[edit]

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