Template:Citation Style documentation

From Climate Change AI Wiki
Revision as of 18:20, 21 December 2011 by imported>Gadget850 (create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#switch: |author=

  • last: Surname of author. Do not wikilink (use authorlink instead).
    • first: Given or first name(s) of author, including title(s) (e.g. Firstname Middlename or Firstname M. or Dr. Firstname M., Snr.). Do not wikilink (use authorlink instead).
      • The 'last' and 'first' parameters are not ideally suited to authors whose surname is usually written first (e.g. as in Chinese). Use the same format as the source uses to handle these cases.
    • authorlink: Title of Wikipedia article about author (not the author's personal website). 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: (deprecated) Full name of additional author or authors, separated by ", " (e.g. Joe Bloggs, John F. Kennedy, H. R. Dent).
      • Whether the surname of the co-authors goes first or last is dependent on the citation style (see the citation style section below) preferred.
  • OR: author: (deprecated) Full name of author, preferably surname first. Do not wikilink (use authorlink instead).
  • OR: for multiple authors, use the parameters first1, last1, ..., firstn, lastn to 'correctly' record all the information about the book (the first nine authors are printed, then "et al." is appended if even more authors were specified). Do not wikilink as there are corresponding authorlink1, ..., authorlink9 parameters as well. This usage is preferred to the use of coauthors.

|editor=

  • editor: Name of editor/editors. Do not Wikilink any values in the editor parameter but use editor-link instead. The template automatically adds "ed." after the editor's name unless the chapter parameter is used in which case the template adds "in" before the editor's name which appears after the chapter and before the title. This implies that the author is responsible only for part of the book (including the cited chapter) and the editor responsible for the whole book. If, however, the author(s) and editor(s) are responsible for the whole book, then the editor parameter or its alternates described below should not be used if the chapter parameter is being used. Instead, the editor(s) should be included in an author parameter with possibly "(ed.)" after the surname(s). Alternatively, the editor parameter may be used if the chapter detail is included in the title parameter instead of using the chapter parameter.
  • OR: alternatively editor-first and editor-last can be used in the same way as first and last.
  • OR: for multiple editors up to four in number, use the parameters editor1-first, editor1-last, ..., editorn-first, editorn-last to 'correctly' record all the information about the book in the same way as firstn and lastn.
    • editor-link or editor1-link... editorn-link is used in the same way as authorlink or authorlinkn.

|others=

  • others: To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".

|title=

  • title: Title of book. Can be wikilinked but only to an existing Wikipedia article. Do not use italics.
    • trans_title: If the book cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the title parameter and it will point to the url link, if used. Use of language parameter is recommended if this parameter is used.

|chapter=

  • chapter: The chapter of the book, written in full. Punctuation (other than quotation marks, which are supplied around the chapter title automatically by the template) should be included in the value passed to the parameter, e.g. Template:Para produces "Chapter 12: Meet Dick and Jane." ahead of title.
    • trans_chapter: Acts in the same way as trans_title. The parameter will be displayed in square brackets within the quotation marks which embrace the chapter parameter. Use of language parameter is recommended if this parameter is used.

|type=

  • type: Can be used to provide additional information about a publication type. The content appears in parentheses following the title. If the publication is a thesis or dissertation, the type might be specified as Template:Para; if the publication is an audiobook on compact disk, the type might be specified as Template:Para.

|edition=

  • edition: When the publication has more than one edition. E.g.: "2nd", "Revised" etc. Note that the template automatically displays " ed." after this parameter, so Template:Para produces "2nd ed."

|series=

|volume=

  • volume: For one publication published in several volumes. This template displays the text in this parameter in bold type after the title and series parameters. An alternative is to include the volume information in the title parameter after the main title.

|issue=

  • issue: When the publication is one of a series that is published periodically.

|date=

  • date: Full date of publication edition being referenced, in the same format as other dates in citations in the same article. Must not be wikilinked. Do not use for years without specifying the month: use Template:Para instead.
  • OR: year: Year of publication edition being referenced.
    • month: Name of the month of publication. If you also have the day, use date instead. Must not be wikilinked.
    • origyear: Original publication year, for display alongside the date or year. For clarity, please supply specifics, for instance Template:Para or Template:Para. This parameter only displays if there is a value for year or date.

|publisher=

  • publisher: Name of publisher; do not include corporate designation such as "Ltd" or "Inc".
    • location: Geographical place of publication.

|language=

  • language: The language the book is written in, if it is not English. Formatted in parentheses around with "in" before the language name.

|pages=

  • page: page in the source that supports the content
  • pages: pages in the source that supports the content; separate page ranges with an en dash (–); separate non-sequential pages with a comma. Do not use this parameter to indicate the total number of pages in the source! That is not relevant information in a citation.
  • at: For sources where a page number is inappropriate or insufficient; overridden by Template:Para or Template:Para.
    • Examples: page (p.) or pages (pp.); section (sec.), column (col.), paragraph (para.); track; hours, minutes and seconds; many others: act, scene, canto, book, part, folio, stanza, back cover, liner notes, indicia, colophon, dust jacket

|id1=

  • id: A unique identifier, used where none of the specialized identifiers are applicable.

|id2= Do not wikilink any of the values for these parameters.

|url=

  • url: URL of an online location where text of the book can be found. Cannot be used if you wikilinked title. If applicable, should point to the specific page(s) referenced. Do not use this parameter to link to any commercial booksellers (such as Amazon.com). The ISBN link is a much better alternative which allows readers access to the books in their own countries or through their own choice of source, including Amazon, Google Books, thousands of libraries, and more.
    • format: Format of the work referred to by url, e.g. PDF. HTML implied if not specified.
    • accessdate: Full date when url was accessed. Should be used when url parameter is used. Should be in the same format as other dates in citations in the same article. Must not be wikilinked.
  • archive parameters (if used, both must be provided)
    • archiveurl: The URL of an archived copy of a web page, if (or in case) the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive.
    • archivedate: Date when the item was archived. Should not be wikilinked.

|chapterurl=

  • 'chapterurl: URL of an individual chapter of online book. Should be at the same site as url, if any. If chapterurl is used, url should only be used if the beginning of the work and the cited chapter are on separate webpages at the site.

|quote=

  • quote: Relevant text quoted from the source; enclosed in quotes. When supplied, the citation terminator (a period by default) is suppressed, so the quote needs to include terminating punctuation.

|ref=

|lay=

  • laysummary: Link to a non-technical summary (or review) of the book
    • laydate: Date of summary.

|display=* author-mask: Primarily intended for use in bibliographies for some styles where multiple works by a single author are listed. It replaces the name of the first author with a strike-thru dash (—) author-mask em in length. If Template:Para then the dash will be one em in length and so on. Set author-mask to a text value to display a word instead:– for example, 'with'. You must still include the parameters for all authors for metadata purposes. Do not use in a list generated by Template:Tl or Template:Tag as there is no control as to the order that references will display.

  • author-separator: Changes the separator between authors; defaults to a semicolon (;)
  • author-name-separator: Changes the separator between last and first names; defaults to a comma (,)
  • display-authors: By default, the number of authors displayed is limited to 8; if 9 are provided, the ninth is displayed as "et al." This parameter allows display of fewer authors before the "et al." (e.g., Template:Para<nolinclude>
Template documentation[create]