Difference between revisions of "Template:Cite/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "{{TOC right}} {{em|FixMe: See [https://en.wikipedia.org/wiki/Wikipedia:Nesting_footnotes WP] re nesting footnotes with refs, and refs within footnotes.}}<br/> {{em|This templ...")
 
m (GrayanOne moved page Templae:Cite/doc to Template:Template:Cite/doc without leaving a redirect)
(No difference)

Revision as of 22:51, 16 April 2025

FixMe: See WP re nesting footnotes with refs, and refs within footnotes.
This template has been copied over from wP, but supporting templates (tl, pn, inl, etc have not (yet).

Parameters

Here is the full list of parameters. Note: some wikis create a dataset in order to embed bibliographic metadata in a web page: see Template:inl and Template:inlfor more information. This means that every element in a citation must be separated from another, which can make creating references very arduous. This wiki does not do this; therefore information such as authors' full names is used, instead of splitting it up into first-name, initials, and last-name, for each author.

mode: must be one of: news, book, media, chouse, journal, lecture, magazine, conference, periodical, encyclopedia. mode is not called as a named parameter, and must be passed first: {{Cite |book |title=Alice in Wonderland |...}}

Date format: is always: MMM.DD.YYYY. There are few things more frustrating for readers than trying to figure out whether the first number is the month or the day.

Note: use of abbreviated forms of reference is discouraged, primarily because to lay readers the result is a meaningless jumble. Consider "J Mol Biol 152 (1):153–161" vs. "Journal of Molecular Biology, Vol.152, No.1, pp.153–161".

See also Template:tl for citing page numbers.

Display

  • title: The title of the work.
  • authors: Authors' full names, in normal format. For more than one author, give a comma-separated list: |authors = AN Other, John Doe
  • editors: Same format as for authors: |editors = Clark Kent, Bruce E Wayne.
  • translator: Same format as for authors: |translator = Clark Kent, Bruce E Wayne.
  • quote: Relevant text quoted from the source; displayed as input. quote can also be used for relevant notes, eg: (Written at Lincoln County, Nevada on Sept.05.1872).

Media

  • director: Only used with mode: media; indicates the director of the film/video/play, etc.
  • prod-by: Only used with mode: media; indicates the companies involved in the production. For example: |prod-by=Sony Pictures Classics, Representational Pictures.

Identifiers

  • doi: A digital object identifier is a unique and never-changing string assigned to online (journal) articles, books, and other works; for example: 10.1038/news070508-7. DOIs can be checked at https://doi.org/. Do not use if broken; a record may be kept in the citation tag by: {{Cite |journal |doi=<!--10.1177/0269881118806297-->}}
  • isbn: International Standard Book Number; for example: 978-0-8126-9593-9. Use of hyphens is optional, but preferred. Always use the correct ISBN, preferably the 13-digit version (beginning with 978 or 979) when available. If only a 10-digit ISBN is printed on or in the book, use it. For older sources using the 9-digit SBN system, use |sbn. Do not mess with the numbering scheme: adding or subtracting "978" does not convert a 10-digit ISBN to a 13-digit one.
  • ol: Open Library identifier. Example: |ol = 7030731M
  • wc: WorldCat url. Example: |wc = https://worldcat.org/title/1053574166
  • gr: Goodreads url. Example: |gr = https://www.goodreads.com/book/show/55404479-post-growth
  • pmid: PubMed uses unique identifiers, for example: |pmid=17322060

Publisher

  • pub-loc: The publisher and the city where the work was published. Eg: |pub-loc = Riley: New York. Also used for news sites, eg. |pub-loc = The Guardian.
  • in-pub: The title of the publication containing the cited source. Use when the source is in a collection, eg. a periodical, journal or encyclopedia. Displayed in italics.
  • first-pub: The original publication date of the work. Displayed italicised within parantheses, after pub-date.
  • pub-date: The publication date of the cited work's edition/version. For un-dated works (only too frequent on the web, alas), acc-date should be used.
  • vip: Short for Volume, Issue, Page(s). Journals and other periodicals are generally published several times a year, so need to be distinguished. Don't use spaces after the full-stop; separate page numbers using en-dash (&ndash; –); and separate non-sequential page numbers with a comma. Eg.: |vip = Vol.8, No.3, pp.99, 101&ndash;113.

URL

  • url: The url of an online site where the cited work can be found; it is used to make a link using the title.
  • arch-url: The url of an archived snapshot of the cited work. Typically used to refer to services such as the Template:inl and archive.today. When |url is also given, arch-url is output at the end of the citation thus: Original [archived] on <date>.
  • url-status: One of [live|dead]. It is good practice to always pass this parameter, but it is required when passing both url and arch-url. If the url is dead, then arch-url is used for the title link. If no arch-url is given, the title is not linked, and the dead link is noted thus: [dead link]
    • live: For use when the url is known to be still live. When arch-url is also given, serves as a flag to indicate that the url can be used to make a title link.
    • dead: Dead links are never used to make a title link. Also use url-status=dead when:
      (a) the original url is live but has been altered such that it no longer supports the article text.
      (b) the url has been usurped for the purposes of spam, advertising, or is otherwise unfit.
  • arch-date: The date the snapshot was archived; displayed italicised at the end of the citation.
  • acc-date: The date when the url was last accessed; also for use when a source is undated. Not required when the linked source does not change, eg: doi, pmid, etc.

Parameters to add

access: Restrictions on access such as registration/subscription should be indicated. Four access levels can be used:

  • access indicator for named identifiers (eg. doi, ol, etc.):
    • Lock-green.svg Free: the source is free to read for anyone.
  • access indicators for urls:
    • Lock-gray-alt-2.svg Registration: free registration is required to access the source.
    • Lock-gray-alt-2.svg Limited: free access, subject to a limited trial. A subscription is normally required.
    • Lock-red-alt-2.svg Subscription: paid subscription is required; a "paywall".

Usage Examples

News

News: the most common parameters for news articles
Markup Renders as
compare
News: a 19th C newspaper article
Markup Renders as
compare
News: Press Release and Access date
Markup Renders as
compare
News: using Quote and Archive
Markup Renders as
compare

Books

Book: with a Quote
Markup Renders as
compare
Book: first published in the 18th C
Markup Renders as
compare

border

Book: Multiple Authors
Markup Renders as
compare

Journal

Journal: with Author and Editor
Markup Renders as
compare
Journal: with Author but no Editor
Markup Renders as
compare
Journal: Multiple Authors, multiple Identifiers:
Markup Renders as
compare
Journal: Editor, but no Author:
Markup Renders as
compare
Collection: Manuscript:
Markup Renders as
compare
Journal: cited Manuscript
Markup Renders as
compare

Lecture

Markup Renders as
compare

Conference

Markup Renders as
compare

Periodical

Markup Renders as
compare

Encyclopedia

Encyclopedia: with Author and Editor
Markup Renders as
compare
Encyclopedia: with Editor but no Author
Markup Renders as
compare

Media

Markup Renders as
compare

Companies House

Markup Renders as
compare