Revision 4160040 of "Template:Cite album-notes/doc" on simplewiki

{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
__NOTOC__
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
=== Usage ===
Copy one of these three blank versions to use.  Note that all fields '''must''' be [[lowercase]], and remember to use the "|" (pipe) character between each field.  Please delete any unused fields to avoid clutter in the edit window.

{| class="wikitable"
|- width="100%" style="vertical-align:top;"
! Horizontal list
|- width="100%" style="vertical-align:top;"
| style="padding:1ex;" | <nowiki>{{cite album-notes |title= |albumlink= |artist= |year= |notestitle= |url= |first= |last= |authorlink= |coauthors= |page= |pages= |format= |publisher= |publisherid= |location= |ref= }}</nowiki>
|}

{| class="wikitable"
|- width="50%" style="vertical-align:top;"
! Vertical list !! Prerequisites *
|- width="50%" style="vertical-align:top;"
| style="padding:1ex;" |<pre>
{{cite album-notes
| title       = 
| albumlink   =
| artist      =
| bandname    = 
| year        = 
| notestitle  = 
| url         = 
| first       = 
| last        = 
| authorlink  =
| coauthors   = 
| page        =
| pages       = 
| at          =
| format      = 
| publisher   = 
| publisherid = 
| location    = 
| ref         =
}}</pre>
| style="padding:1ex;" |<pre>
&nbsp;
REQUIRED
title
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
last
&nbsp;
last
last
&nbsp;
&nbsp;
&nbsp;
&nbsp;
&nbsp;
publisher
publisher
&nbsp;
&nbsp;</pre>
|}
{| style="background:none;"
|- valign="top"
| style="text-align:right;" | * || If a field name is listed in the '''Prerequisites''' column it is a prerequisite for the field to the left. For example '''publisher''' is a prerequisite to '''location''' meaning '''location''' will NOT be displayed even if it has a value unless '''publisher''' also has a value.
|}

===Description of fields===
====Syntax====
<div style="font-size: 90%;">
Nested fields either rely on their parent fields, or replace them:
*''parent''
**''child'' &mdash; may be used '''with''' ''parent'' (and is ignored if ''parent'' is not used)
**''alternative'' &mdash; may be used '''in place of''' ''parent''
</div>

====Description====
*'''title''': The title of the album.  This is the only ''required'' field.  Do not wikilink (and do not italicize, as this has been done for you).
**'''albumlink''': The name of the Wikipedia article about the album, if one exists.  Do not wikilink.
*'''artist''': The name of the artist or band, or <code>Various artists</code> if applicable.  Please wikilink if the citation is being used on a page that is not the artist or band's article. {{para|bandname}} is a deprecated synonym for  {{para|artist}}.
*'''year''': The copyright year of the album.  Do not wikilink.
*'''url''': The full URL (internet address) of the notes if they are available online.
*'''notestitle''': The title of the notes, if different from the title of the album.
*'''last''': The last name of the author of the notes, if different from the artist. Don't wikilink (use ''authorlink'' instead).
**'''first''': The first name of the author of the notes.
**'''authorlink''': Title of Wikipedia article about author. Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with "first" and "last".
**'''coauthors''': Full name of additional author or authors, separated by ", " (e.g. ''Joe Bloggs, John F. Kennedy, H. R. Dent'').
* '''page''': Page number if a multi-page document and referencing a single page. "page=5" produces ''p. 5.''
** ''or'' '''pages''': Page numbers if a multi-page document and referencing more than one page. "pages=5-7" produces ''pp. 5-7''. This is for listing the pages relevant to the citation, not a total number of pages. Do not include the "p." or "pp." prefix.
** ''or'' '''at''': The name of a page for cases like "back cover", etc. The template will not add a "p." or "pp." prefix.
*'''format''': How the notes are presented (booklet, book, insert, back cover, cover, liner, etc.) and for what type of medium the album is presented in (CD, DVD, Vinyl).  Example: ''CD liner'' or ''Vinyl back cover''.
*'''publisher''': The record label.  You may wikilink if the record label has an article.
**'''publisherid''': The catalog number from the publisher for the album release that corresponds to the notes.
**'''location''': The location of the publisher to the smallest geographical unit known (city, state, country).  You may wikilink.
*'''ref''': ID for anchor. By default, no anchor is generated. The ordinary nonempty value {{para|ref|<var>ID</var>}} generates an anchor with the given <code><var>ID</var></code>; such a linkable reference can be made the target of [[Wikipedia:Citing sources/Further considerations#Wikilinks to full references|wikilinks to full references]], especially useful in short citations like [[Wikipedia:Citing sources#Shortened footnotes|shortened notes]] and [[Wikipedia:Parenthetical referencing|parenthetical referencing]]. The special value {{para|ref|harv}} generates an anchor suitable for the {{tl|harv}} template; see ''[[Template:Citation/doc#Anchors for Harvard referencing templates|anchors for Harvard referencing templates]]''. See "Wikilinks to full references" in [[#Examples|Examples]] below for using the ''ref'' field in citation templates in conjunction with short <nowiki><ref>...</ref></nowiki> citations.

;Notes for Harvard references
#If you specify {{para|ref|harv}}, you must also specify an author surname using {{para|last|<var>surname</var>}}.
#This template supports only a single author, and so {{para|ref|harv}} will only work for a single author: {{tlx|harv|Smith|2009}} will work, but {{tlx|harv|Smith|Jones|2009}} will not.

=== Examples ===
{| class="wikitable"
|-
!style="width:50%"|Description and Code
!style="width:50%"|Result
|-
| '''Prototype'''<br/><nowiki>{{cite album-notes |title=Album Title |albumlink=Album |artist=Artist |year=Year |notestitle=Notes Title |url=http://www.wikipedia.org |first=First |last=Last |page=1 |format=Format |publisher=Publisher |publisherid=Publisher ID |location=Location }}</nowiki>
| {{cite album-notes |title=Album Title |albumlink=Album |artist=[[Artist]] |year=Year |notestitle=Notes Title |url=http://www.wikipedia.org |first=First |last=Last |page=0 |format=Format |publisher=Publisher |publisherid=Publisher ID |location=Location }}
|-
| '''Basic example'''<br/><nowiki>{{cite album-notes |title=New Moon |albumlink=New Moon (Elliott Smith album) |artist=[[Elliott Smith]] |year=2007 |first=John |last=Doe |page=4 |format=booklet |publisher=[[Kill Rock Stars]] |publisherid=KRS455 |location=[[Olympia, Washington|Olympia, WA]] }}</nowiki>
| {{cite album-notes |title=New Moon |albumlink=New Moon (Elliott Smith album) |artist=[[Elliott Smith]] |year=2007 |notestitle= |url= |first= |last= |page=4 |format=booklet |publisher=[[Kill Rock Stars]] |publisherid=KRS455 |location=[[Olympia, Washington|Olympia, WA]] }}
|-
| '''Example with author'''<br/><nowiki>{{cite album-notes |title=Anthology 1 |albumlink=Anthology 1 |artist=[[The Beatles]] |year=1994 |first=Mark |last=Lewisohn |authorlink=Mark Lewisohn |page=2 |format=booklet |publisher=[[Apple Records]] |publisherid=34448 |location=London }}</nowiki>
| {{cite album-notes |title=Anthology 1 |albumlink=Anthology 1 |artist=[[The Beatles]] |year=1994 |first=Mark |last=Lewisohn |authorlink=Mark Lewisohn |page=2 |format=booklet |publisher=[[Apple Records]] |publisherid=34448 |location=London }}
|-
| '''Example with notes title'''<br/><nowiki>{{cite album-notes |title=Anthology 1 |albumlink=Anthology 1 |artist=[[The Beatles]] |year=1994 |notestitle=Making Anthology 1 |url=http://www.wikipedia.org |first=Mark |last=Lewisohn |authorlink=Mark Lewisohn |page=2 |format=booklet |publisher=[[Apple Records]] |publisherid=34448 |location=London }}</nowiki>
| {{cite album-notes |title=Anthology 1 |albumlink=Anthology 1 |artist=[[The Beatles]] |year=1994 |notestitle=Making Anthology 1 |url=http://www.wikipedia.org |first=Mark |last=Lewisohn |authorlink=Mark Lewisohn |page=2 |format=booklet |publisher=[[Apple Records]] |publisherid=34448 |location=London }}
|-
| '''Example with coauthor'''<br/><nowiki>{{cite album-notes |title=Anthology 1 |albumlink=Anthology 1 |artist=[[The Beatles]] |year=1994 |first=Mark |last=Lewisohn |authorlink=Mark Lewisohn |coauthors=[[George Martin|Martin, George]] |page=2 |format=booklet |publisher=[[Apple Records]] |publisherid=34448 |location=London }}</nowiki>
| {{cite album-notes |title=Anthology 1 |albumlink=Anthology 1 |artist=[[The Beatles]] |year=1994 |first=Mark |last=Lewisohn |authorlink=Mark Lewisohn |coauthors=Doe, John |page=2 |format=booklet |publisher=[[Apple Records]] |publisherid=34448 |location=London }}
|}<includeonly>
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:WikiProject Albums templates]]
[[Category:Album templates]]

[[cy:Nodyn:Cite album-notes]]
[[da:Skabelon:Cite album-notes]]
[[el:Πρότυπο:Cite album-notes]]
[[en:Template:Cite album-notes]]
[[fa:الگو:Cite album-notes]]
[[fr:Modèle:Livret album]]
[[hi:साँचा:Cite album-notes]]
[[it:Template:Cita album]]
[[ja:Template:Cite album-notes]]
[[pt:Predefinição:Citar álbum]]
[[ru:Шаблон:Cite album-notes]]
[[zh:Template:Cite album-notes]]
</includeonly>