Template:Cite book: Difference between revisions

From All Skies Encyclopaedia
imported>Stephen bastien
Description of fields: Groove factory conobus
Sushoff (talk | contribs)
Replaced content with "<includeonly>{{#invoke:citation/CS1|citation |CitationClass=book }}</includeonly><noinclude> {{documentation}} {{collapse top|TemplateData}} {{Cite book/TemplateData}} {{collapse bottom}} </noinclude>"
Tag: Replaced
 
(110 intermediate revisions by 51 users not shown)
Line 1: Line 1:
<noinclude>{{esoteric}}</noinclude><includeonly><cite class="book" style="font-style:normal" {{
<includeonly>{{#invoke:citation/CS1|citation
  #if: {{{ref|}}}
|CitationClass=book
  |{{#ifeq:{{{ref}}}|none||id="{{{ref}}}"}}
}}</includeonly><noinclude>
  |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }}
{{documentation}}
}}>{{
{{collapse top|TemplateData}}
  #if: {{{author|{{{last|}}}}}}
{{Cite book/TemplateData}}
  | {{
{{collapse bottom}}
    #if: {{{authorlink|}}}
</noinclude>
    | [[{{{authorlink}}}|{{
      #if: {{{last|}}}
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
      | {{{author}}}
    }}]]
    | {{
      #if: {{{last|}}}
      | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }}
      | {{{author}}}
    }}
  }}
}}{{
  #if: {{{author|{{{last|}}}}}}
  | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
}}{{
  #if: {{{origdate|}}}
  | &#32;<nowiki>[</nowiki>{{{origdate}}}]
  | {{
    #if: {{{origyear|}}}
    | {{
      #if: {{{origmonth|}}}
      | &#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
      | &#32;<nowiki>[</nowiki>{{{origyear}}}]
    }}
  }}
}}{{
  #if: {{{date|}}}
  | &#32;({{{date}}})
  | {{
    #if: {{{year|}}}
    | {{
      #if: {{{month|}}}
      | &#32;({{{month}}} {{{year}}})
      | &#32;({{{year}}})
    }}
  }}
}}{{ #if: {{{author|{{{last|}}}}}} | .
}}{{
  #if: {{{chapter|}}}
  | &#32;“{{
    #if: {{{chapterurl|}}}
    | [{{{chapterurl}}} {{{chapter}}}]
    | {{{chapter}}}
}}”,}}{{
  #if: {{{editor|}}}
  | &#32;{{{editor}}}
}} ''{{
  #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
}}''{{
  #if: {{{format|}}} | &#32;({{{format}}})
}}{{
  #if: {{{others|}}} | , {{{others}}}
}}{{
  #if: {{{edition|}}} | , {{{edition}}}
}}{{
  #if: {{{language|}}} | &#32;(in {{{language}}})
}}{{
  #if: {{{pages|}}} | ,&#32;{{{pages}}}
}}{{
  #if: {{{publisher|}}}
  | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}}{{{pages|}}} | ,&#32; | .&#32; }}{{
    #if: {{{location|}}}
    | {{{location}}}:&#32;
  }}{{{publisher}}}
}}{{
  #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
}}{{
  #if: {{{id|}}} | . {{{id}}}
}}{{
  #if: {{{accessdate|}}}
  | . Retrieved on [[{{{accessdate}}}]]
  | {{
    #if: {{{accessyear|}}}
    | . Retrieved {{
      #if: {{{accessmonth|}}}
      | on [[{{{accessmonth}}} {{{accessyear}}}]]
      | during [[{{{accessyear}}}]]
    }}
  }}
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
}}</cite></includeonly><noinclude>
__NOTOC__
This template is used to [[WP:CITE|cite sources]] in Wikipedia. It is specifically for books. This template replaces the deprecated {{tl|book reference}}.
 
==Usage==
All fields '''must''' be lowercase. Copy a blank version to use:
{| cellpadding="0" cellspacing="6"
! Full version !! Brief Instructions !! &nbsp; !! Most common fields
|- width="50%"
|
<pre>
{{cite book
| last =
| first =
| authorlink =
| coauthors =
| editor =
| others =
| title =
| origdate =
| origyear =
| origmonth =
| url =
| format =
| accessdate =
| accessyear =
| accessmonth =
| edition =
| date =
| year =
| month =
| publisher =
| location =
| language =
| id =
| doi =
| pages =
| chapter =
| chapterurl =
| quote =
}}
</pre>
| style="vertical-align: top;" |
<pre>
Prerequisites*
(no wikilink)
last(no wikilink)
last
last
&nbsp;
&nbsp;
REQUIRED**
† preferred(no wikilink)
alt to origdate
alt to origdate
&nbsp;
url
url †preferred(no wikilink)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alt to accessdate
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alt to accessdate
&nbsp;
† preferred(no wikilink)
alt to date
alt to date
&nbsp;
publisher
&nbsp;
&nbsp;
&nbsp;
&nbsp;
(no wikilink)&Dagger;
chapter
&nbsp;
}}
</pre>
| style="vertical-align: top;" width="30px" |
| style="vertical-align: top;" |
<pre>
{{cite book
| last =
| first =
| authorlink =
| coauthors =
| year =
| title =
| publisher =
| location =
| id =
}}
</pre>
|}
:&lowast; The field listed below is a prerequisite for the field to the left. For example '''last''' is a prerequisite to '''first''' meaning '''first''' will NOT be displayed even if it has a value unless '''last''' also has a value.
:&lowast;&lowast; Wikilinks MUST link to existing article, and can not be used if url is used below.
:† This is the preferred field with its alternates listed
:&Dagger; If '''chapterurl''' is provided then '''chapter''' can not have wikilinks.
 
== Fields ==
===Wikilinks===
Most fields can be wikilinked (ie. ''title'' = <nowiki>[[book article|book title]]</nowiki>), but should generally only be linked to an existing Wikipedia article. Any wikilinked field '''must not''' contain any brackets apart from normal round brackets <code>()</code> &mdash; don't use <code><nowiki><>[]{}</nowiki></code>.
<center><a href="http://www.tunetribe.com/Artist?artist_id=226"><img src="http://myspace-114.vo.llnwd.net/00665/41/11/665881114_l.gif" border="0" alt="TuneTribe.com" title="TuneTribe.com"></a></center>
 
===Description of fields===
====<small>Syntax (for the technical-minded)</small>====
<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)
**OR:  ''child2'' &mdash; may be used '''instead''' of ''parent'' (and is ignored if ''parent'' is used)
</div>
 
====Description====
* '''last''': Surname of author. Don't wikilink (use ''authorlink'' instead).
** '''first''': First name(s) of author, including title(s) (eg. ''Firstname Middlename'' or ''Firstname M.'' or ''Dr. Firstname M., Snr.''). Don't wikilink (use ''authorlink'' instead).
*** The `last' and `first' fields are poorly named for the case of an author whose surname is usually written first (e.g. as in Chinese).  They also have the problem of only communicating which is the surname, not communicating where the surname is usually written.  Consider deprecating first,last fields, and reinstating author field, using the notation "Smith, John" or "Hu Ke Jie" as appropriate (i.e. always writing surname first, and using comma or not depending on whether the name is usually written surname last or first).
** '''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 "author" or "first" and "last".
** '''coauthors''': Full name of additional author or authors, surname last, separated by ", " (eg. ''Joe Bloggs, John F. Kennedy, H. R. Dent'').
*** Someone please confirm that surname is to go last even for people whose name is usually written surname first. Consider rethinking this field, e.g. using ''Bloggs, Joe and Kennedy, John F. and Dent, H. R. and Hu Ke Jie''.
** OR: '''author''': Full name of author, preferably surname first.
* '''editor''': Name of the editor/editors. No text is added, so labels such as "(ed.)" have to be supplied by the user.
* '''others''': For uses such as "illustrated by Smith" or "trans. Smith".
* '''title''': Title of book. '''''This is the only required parameter.''''' Can be wikilinked '''only''' to an existing Wikipedia article.
* '''url''': URL of an online book. Cannot be used if you wikilinked ''title''.
** '''format''': Format, i.e. PDF. HTTP implied if not specified.
** '''accessdate''': Full date when item was accessed, in [[ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''. '''Required when ''url'' field is used.''' Must not be wikilinked.
*** OR:  '''accessyear''': Year when item was accessed, and '''accessmonth''': Month when item was accessed. If you also have the day, use ''accessdate'' instead. Must not be wikilinked.
* '''edition''': When the book has more than one edition. ''eg:'' "2nd edition".
* '''origdate''': Full date of publication of original edition, in [[ISO 8601]] YYYY-MM-DD format, eg. ''2004-06-27''. Must not be wikilinked.
** OR:  '''origyear''': Year of publication of original edition, and '''origmonth''': Month of publication of original edition. If you also have the day, use ''date'' instead. Must not be wikilinked.
* '''date''': Full date of publication, in [[ISO 8601]] YYYY-MM-DD format, eg. ''2006-02-17''. Must not be wikilinked.
** OR:  '''year''': Year of publication, and '''month''': Name of the month of publication. If you also have the day, use ''date'' instead. Must not be wikilinked.
* '''publisher''': Publisher should not include corporate designation such is "Ltd" or "Inc".
** '''location''': Place of publication.
* '''language''': The language the book is written in, if it is not English.
* '''id''': Identifier such as ''<nowiki>ISBN 1-111-22222-9</nowiki>'' or ''<nowiki>{{</nowiki>[[:Template:LCC|LCC]]|Z253.U69}}''. Remember, you '''must''' specify the kind of identifier, not just give a number.
* '''doi''': [[digital object identifier]]. See also {{tl|doi}}
* '''pages''': ''<nowiki>5&ndash;7</nowiki>'': first page and optional last page. This is for listing the pages relevant to the citation, not the total number of pages in the book.
* '''chapter''': The chapter of the book, written in full. Punctuation other than quotes should be included in the value passed to the parameter, eg. ''chapter = Meet Dick and Jane.'' produces "Meet Dick and Jane." ahead of ''title''.
** '''chapterurl''': URL of an individual chapter of online book. Should be at the same site as ''url'', if any.
* '''quote''': Relevant quote from the book.
</onlyinclude> Groove Factory conobus
Compilation lp
Groove Factory Conobus
Compolation lp
 
Stephen Bastien is a man of varied interests. It's difficult to tell whether his perfect day involves an afternoon of Aussie rules football, followed by an evening of expressionist painting and a Dallas DVD marathon, but musically his passions and influences certainly run far and wide. It's perhaps the product of a life spent living in the Caribbean, London and now Fife - not to mention a musical career encompassing steelpan, funk, metal and much much more - but there's no arguing with the results. Under the Groove Factory Conobus moniker, Stephen's instrumental 'Compolation' lp takes the pick of four previous CDs and adds some new material to fan out a startling mix of dance beats, ambient jams, prize metal moments and experimental atmos like some crazy tingling electro tapas.
 
It's a real case of expect the unexpected. The chill out drum 'n' bass of "Yeah Man" is coloured up with some '60s guitar, "Promiss Land" basks in the majesty of elegant Mobyesque/Massive Attack synth chords, while "Get Up And Dance" and "Jungle Rock" both dust off the drum machines to pitch hard urban grooves against big fat wedges of '80s hair metal guitar. Van Halen meets Tricky with a bit of Herbie Hancock thrown in. Meanwhile "Lump" lays down some heavy Depeche Mode-style industrial electronics and "Outer Space" marries Andy Summer's guitar delays from "Walking On The Moon" with a meteor shower of bloopy effects.
 
But however strange and bewilderingly diverse things get (especially on the 'Kid A' style experimental noodling of "De La Funk" and "The Massive") everything is tied together with the same sense of quirkiness and fun. "United" could've come straight out of Miami Vice, "Styx-engance" employs frog sounds in its hot, sweaty Amazonian vibe; and the Glam rock meltdown of "No Trace'' uses wah wah, saxophone and tinkling percussion to become a stately lost track from Roxy Music's debut album. There's even a touch of indie rock with the poppy strumfest of "Tripping."
 
No two tunes are the same here, but they certainly come from the same place. Playful, surprising and brimming with personality, Stephen's thrown some unlikely elements together in the lab and made gold. Equally at home in the background or on your headphones, it's the kind of music that can lull you and shock you in equal measure. Like a great man once said, life is like a box of chocolates... 
 
by overplay
 
Visit Groove Factory conobus page
 
==Examples==
;Just a title:
:<code><nowiki>* {{cite book | title=Mysterious book }}</nowiki></code>
 
:* {{cite book | title = Mysterious book }}
 
;Year and title:
:<code><nowiki>* {{cite book | title=Mysterious book | year=1901 }}</nowiki></code>
 
:* {{cite book | title = Mysterious book | year = 1901 }}
 
;Basic usage:
:<code><nowiki>* {{cite book | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}</nowiki></code>
 
:* {{cite book | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
 
;Basic usage with url:
:<code><nowiki>* {{cite book | last=Bloggs | first=Joe | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs | edition=1st Edition | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}</nowiki></code>
 
:* {{cite book | last=Bloggs | first=Joe | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs | edition=1st Edition | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}
 
;Three authors, title with a piped wikilink, edition
:<code><nowiki>* {{cite book | last=Bloggs | first=Joe | authorlink=Joe Bloggs | coauthors=John Smith, Jim Smythe | title=[[A Thousand Acres|1000 Acres]] | edition=2nd Edition }}</nowiki></code>
 
:* {{cite book | last=Bloggs | first=Joe | authorlink=Joe Bloggs | coauthors=John Smith, Jim Smythe | title=[[A Thousand Acres|1000 Acres]] | edition=2nd Edition }}
 
;Date without day, wikilinked title and publisher, id
:<code><nowiki>* {{cite book | last=Cordell | first=Bruce R. | coauthors=Jeff Grubb, David Noonan | year=2001 | month=September | title=[[Manual of the Planes]] | publisher=[[Wizards of the Coast]] | id=ISBN 0-7869-1850-8 }}</nowiki></code>
 
:* {{cite book | last=Cordell | first=Bruce R. | coauthors=Jeff Grubb, David Noonan | year=2001 | month=September | title=[[Manual of the Planes]] | publisher=[[Wizards of the Coast]] | id=ISBN 0-7869-1850-8 }}
 
;Date of first edition, other language, illustrator
:<code><nowiki>* {{cite book | last=Bloggs | first=Joe | origyear=1463 | year=1974 | title=Book of Bloggs | edition=1st Edition | others=illustrated by Smith | language=German | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}</nowiki></code>
 
:* {{cite book | last=Bloggs | first=Joe | origyear=1463 | year=1974 | title=Book of Bloggs | edition=1st Edition | others=illustrated by Smith | language=German | url=http://en.wikipedia.org/ | accessdate=2006-02-17 }}
 
;Using a doi
:<code><nowiki>*{{cite book
| last=Mumford
| first=David
| authorlink=David Mumford
| year=1999
| title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians
| edition=2nd ed.
| publisher=[[Springer-Verlag]]
| doi=10.1007/b62130
| id=ISBN 354063293X
}}</nowiki></code>
 
:*{{cite book
| last=Mumford
| first=David
| authorlink=David Mumford
| year=1999
| title=The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians
| edition=2nd ed.
| publisher=[[Springer-Verlag]]
| doi=10.1007/b62130
| id=ISBN 354063293X
}}
 
==Testing==
See [[Template:cite book/regression tests]].
 
==Note==
Note the extra full-stop when the last author ends with an initial, and there is no date:
*{{cite book | last = Invisible | first = M. | title = Mysterious book }}
We don't know of a practical solution to this &mdash; unless there is a way to test the characters of a field?
 
==Citation styles==
Established citation styles for coauthors:
 
;[http://owl.english.purdue.edu/handouts/research/r_mla.html MLA style]: Last, First and First Last. "If there are more than three authors, you may list only the first author followed by the phrase ''et al''."
;[http://www.liunet.edu/cwis/cwp/library/workshop/citapa.htm APA style]: Last, F. & Last, F.
;[http://www.liunet.edu/cwis/cwp/library/workshop/citchi.htm Chicago Manual of Style]: Last, First, and First Last.
;[http://www.liunet.edu/cwis/cwp/library/workshop/cittur.htm Turabian]: same as Chicago Reference List, above.
;[http://www.library.uq.edu.au/training/citation/harvard.html Harvard]: Last, F., Last, F. & Last, F.
 
==See also==
* [[Wikipedia:Cite sources]]: Style guide
* [[Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates
* [[Wikipedia:WikiProject Wikicite]]
* [[Template:Cite news]]
* [[Template:Cite book]]
 
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
[[cs:Šablona:Citace knihy]]
[[es:Plantilla:Ref-libro]]
[[fr:Modèle:Citation livre]]
[[ja:Template:Cite book]]
[[it:Template:Cita libro]]
[[mk:Шаблон:Книга]]
[[no:mal:Kilde bok]]
[[ro:Format:Cite_book]]
[[ru:Шаблон:Книга]]
[[sk:Šablóna:Cite book]]
[[sl:Predloga:Cite book]]
[[vi:Tiêu bản:Chú thích sách]]
[[zh:Template:Cite book]]
[[pms:Template:Cité un lìber]]
 
<center><a href="http://www.tunetribe.com/Artist?artist_id=226"><img src="http://myspace-114.vo.llnwd.net/00665/41/11/665881114_l.gif" border="0" alt="TuneTribe.com" title="TuneTribe.com"></a></center>

Latest revision as of 11:58, 1 February 2025

Lua error in mw.title.lua at line 230: too many expensive function calls.

  1. Compare archived talk page.