Template:Cite wikisource/doc

This template is used to cite sources in Wikipedia. It is specifically for works in the sister project Wikisource.

Usage
All field names must be in lowercase.

Copy a blank version to use. Remember to use the "|" (pipe) character between each field. Please delete any unused fields to avoid clutter in the edit window.

No templates or magic words are necessary when using an ISBN, OCLC number, or DOI as an identifier. Instead of using the  field in these instances, simply use the appropriate field. For instance, type  followed by the number instead of. Templates are available for other identification number types to be used in the ID field (ISSN, LCCN, LCC, etc.) if these aren't available. See also the complete description of fields.

† This is the preferred field with its alternates listed below.

‡ chapter cannot have wikilinks; plainchapter can have wikilinks

Examples

 * Just a title:


 * Year and title:


 * Basic usage:


 * Citing a chapter in a book with different authors for different chapters and an editor

Syntax
Nested parameters rely on their parent parameters:
 * parent
 * OR: parent2—may be used instead of parent
 * child—may be used with parent (and is ignored if parent is not used)
 * OR: child2—may be used instead of child (and is ignored if parent2 is not used)


 * Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata. See: COinS. As a general rule, only one data item per parameter. Do not include explanatory or alternate text:
 * Use 27 September 2007 not 27 September 2007 (print version 25 September)

Use of templates within the citation template, is discouraged because many of these templates will add extraneous HTML or CSS that will be rendered in the metadata. Also, HTML entities (e.g., ) should not be used in parameters that contribute to the metadata. Do not include Wiki markup  (italic font) or   (bold font) because these markup characters will contaminate the metadata.


 * periodical, journal, newspaper, magazine, work, website, encyclopedia, encyclopaedia, dictionary
 * chapter, contribution, entry, article, section
 * title
 * publicationplace, publication-place, place, location
 * date, year, publicationdate, publication-date
 * series, version
 * volume
 * issue, number
 * page, pages, at
 * edition
 * publisher, distributor, institution
 * url
 * chapterurl, chapter-url, contributionurl, contribution-url, sectionurl, section-url
 * author#, Author#, authors#, author#-last, author-last#, last#, surname#
 * "author#-first, author-first#, first#, given#
 * any of the named identifiers (isbn, issn, doi, pmc, etc.)

By default, sets of fields are terminated with a period (.).

Authors

 * last: Surname of author. Do not wikilink—use author-link instead. For corporate authors, simply use last to include the same format as the source. Aliases: last1, author, authors, author1.
 * first: Given or first names of author, including title(s); for example: Firstname Middlename or Firstname M. or Dr. Firstname M., Sr. Do not wikilink—use author-link instead. Aliases: first1. Requires last; first name will not display if last is empty.


 * author-link: Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: authorlink1, authorlink, author1-link, author1link.


 * name-list-format: displays authors and editors in Vancouver style when set to  and when the list uses  /  parameters for the name list(s)
 * When using or  styles with templates, do not use multiple names in one field or else the anchor will not match the inline link.

Title

 * title: Title of book. This, or plaintitle, is the only required parameter. Title of book on Wikisource. This must not be wikilinked. This must not have any formatting. It will be automatically linked to Wikisource.
 * plaintitle: Title of book. This, or title, is the only required parameter. If plaintitle is used, it will override title. This can be useful in cases where the chapter should be the link to wikisource (for example, with articles in journals or encyclopaedias, the title should be the title of the journal or encyclopedia and the chapter should be the article). Can be wikilinked but only to an existing Wikipedia article. Do not use italics.
 * wslink: The full link to the work on Wikisource. To be used where the title is different to the page name or where subpages are involved (particularly with periodicals and works in volumes). If chapter is used, the interwiki link will append the chapter name to wslink as a subpage. If title is used, the link will follow wslink but display as title. If plaintitle is used, the link will only create a link to wikisource if chapter is also used.
 * anchor: In combination with,   and/or  , the link to wikisource can be extended to a specific section by adding anchor name in this parameter. This must be the same anchor name as the anchor on Wikisource. This will not change the displayed text in the citation; to do that, use the   parameter as well. This parameter can be used in addition to   as it affects the main link, not the page number link.
 * 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 field and it will point to the url link, if used. Use of language parameter is recommended if this parameter is used.
 * language: The language the source is written in, if not English. Displays in parentheses with "in" before the language name. Use the full language name; do not use templates or wikilinks.
 * wslanguage: The language of the wikisource hosting the work (if not English Wikisource) in the ISO 639-1 (two-letter) or ISO 639-2 (three letter) code for the language. (For example, fr indicates French Wikisource.)
 * type: Provides additional information about the media type of the source; format in sentence case. Displays in parentheses following the title. Alias: medium.
 * : The chapter heading of the source. May be wikilinked or may use chapter-url, but not both..
 * trans-chapter: English translation of the chapter heading, if the source cited is in a foreign language. Displays in square brackets after the  field; if chapter-url is defined, then trans-chapter is included in the link. Use of the language parameter is recommended.
 * plainchapter: The chapter of the book, written in full. This overrides the chapter parameter and will not create a link to Wikisource.

Date

 * date: Date of source being referenced. Can be full date (day, month, and year) or partial date (month and year, or year). Use same format as other publication dates in the citations. Required when year is used to disambiguate links to multiple-work citations by the same author in the same year.$[more]$ Do not wikilink. Displays after the authors and is enclosed in parentheses. If there is no author, then displays after publisher.


 * OR:
 * year: Year of source being referenced ...
 * Is the template cite episode or cite serial?


 * NO: Does the template use harv? (answer YES if the template is )
 * NO: use date.
 * YES: Is the date format in date YYYY-MM-DD?
 * NO: use date.
 * YES: Does the citation require a  disambiguator?
 * NO: use date.
 * YES: year required.
 * YES: Does the citation use harv?
 * NO: use date.
 * YES: Is the date format in date DD Month YYYY or Month YYYY or YYYY or Month DD, YYYY or YYYY-MM-DD?
 * NO: year required.
 * YES: Does the citation require a  disambiguator?
 * NO: use date.
 * YES: year required.


 * orig-year: Original publication year; displays after the date or year. For clarity, please supply specifics. For example: First published 1859 or Composed 1904.

Publisher

 * publisher: Name of publisher; may be wikilinked if relevant. The publisher is the company that publishes the work being cited. Do not use the publisher parameter for the name of a work (e.g. a book, encyclopedia, newspaper, magazine, journal, website). Not normally used for periodicals. Corporate designations such as "Ltd", "Inc" or "GmbH" are not usually included. Omit where the publisher's name is substantially the same as the name of the work (for example, The New York Times Co. publishes The New York Times newspaper, so there is no reason to name the publisher). Displays after title
 * place: Geographical place of publication; generally not wikilinked; omit when the name of the work includes the location; examples: The Boston Globe, The Times of India. Displays after the title; if work is defined, then location is enclosed in parentheses. Alias: location
 * publication-place: If any one of publication-place, place or location are defined, then the location shows after the title; if publication-place and place or location are defined, then place or location are shown before the title prefixed with "written at" and publication-place is shown after the title.
 * publication-date: Date of publication when different from the date the work was written. Displays only if year or date are defined and only if different, else publication-date is used and displayed as date. Use the same format as other dates in the article; do not wikilink. Follows publisher; if work is not defined, then publication-date is preceded by "published" and enclosed in parenthesis.
 * via: Name of the content deliverer (if different from publisher). via is not a replacement for publisher, but provides additional detail. It may be used when the content deliverer presents the source in a format other than the original (e.g. NewsBank), when the URL provided does not make clear the identity of the deliverer, where no URL or DOI is available (EBSCO), if the deliverer requests attribution, or as requested in WP:The Wikipedia Library (e.g. Credo, HighBeam). See also registration and subscription.

Edition, series, volume

 * edition: When the publication has more than one edition; for example: "2nd", "Revised", and so forth. Appends the string " ed." after the field, so 2nd produces "2nd ed." Does not display if a periodical field is defined.
 * series or version: When the source is part of a series, such as a book series or a journal where the issue numbering has restarted.
 * volume: For one publication published in several volumes.

In-source locations

 * page: The number of a single page in the source that supports the content. Use either page or pages, but not both. Displays preceded by p. unless y.
 * OR: pages: A range of pages in the source that supports the content. Use either page or pages, but not both. Separate using an en dash (–); separate non-sequential pages with a comma ; do not use to indicate the total number of pages in the source. Displays preceded by pp. unless y.
 * nopp: Set to y to suppress the p. or pp. notations where this is inappropriate; for example, where Front cover.
 * OR: at: For sources where a page number is inappropriate or insufficient. Overridden by page or pages. Use only one of page, pages, or at.
 * Examples: page (p.) or pages (pp.); section (sec.), column (col.), paragraph (para.); track; hours, minutes and seconds; act, scene, canto, book, part, folio, stanza, back cover, liner notes, indicia, colophon, dust jacket, verse.


 * wspage: The page number on Wikisource. This will usually be an anchor within a larger page. It can be useful to guide the reader to a specific item in a larger body of text. Anchors are automatically generated for proofread texts at Wikisource but can be added manually if necessary.

Anchor

 * ref: ID for anchor. By default, no anchor is generated. The ordinary nonempty value ID generates an anchor with the given ID ; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing. The special value harv generates an anchor suitable for the harv template. See: Anchors for Harvard referencing templates.

Identifiers
These identifiers create links and are designed to accept a single value. Using multiple values or other text will break the link and/or invalidate the identifier. In general, the parameters should include only the variable part of the identifier, e.g.  or.
 * id: A unique identifier, used where none of the specialized identifiers are applicable; wikilink or use a template as applicable.


 * arxiv: arXiv identifier; for example:  (before April 2007) or   or   (since April 2007). Do not include extraneous file extensions like ".pdf" or ".html".
 * asin: Amazon Standard Identification Number; if first character of asin value is a digit, use isbn.
 * asin-tld: ASIN top-level domain for Amazon sites other than the US; valid values: ,  ,  ,  ,  ,  ,  ,
 * bibcode: Bibcode; used by a number of astronomical data systems; for example:
 * doi: Digital object identifier; for example: . It is checked to ensure it begins with (10.).
 * doi-broken-date: Date the DOI was found to be non-working at https://dx.doi.org. Use the same format as other dates in the article. Alias: doi_brokendate, doi-inactive-date
 * isbn: International Standard Book Number; for example: . (See: ISBN and ISBN). Dashes in the ISBN are optional, but preferred. Use the ISBN actually printed on or in the book. Use the 13-digit ISBN – beginning with  978 or 979 – when it is available. If only a 10-digit ISBN is printed on or in the book, use it. ISBNs can be found on the page with the publisher's information – usually the back of the title page – or beneath the barcode as a number beginning with 978 or 979 (barcodes beginning with any other numbers are not ISBNs). For sources with the older 9-digit SBN system, prefix the number with a zero; thus, SBN 902888-45-5 should be entered as 0-902888-45-5. Do not convert a 10-digit ISBN to 13-digit by just adding the 978 prefix; the last digit is a calculated check digit and just making changes to the numbers will make the ISBN invalid. This parameter should hold only the ISBN without any additional characters. It is checked for length, invalid characters – anything other than numbers, spaces, and hyphens, with "X" permitted as the last character in a 10-digit ISBN – and the proper check digit. Alias: ISBN
 * issn: International Standard Serial Number; eight characters may be split into two groups of four using a hyphen, but not an en dash or a space.
 * jfm: Jahrbuch über die Fortschritte der Mathematik
 * jstor: JSTOR abstract; for example:  will generate JSTOR 3793107.
 * lccn: Library of Congress Control Number. When present, alphabetic prefix characters are to be lower case.
 * mr: Mathematical Reviews
 * oclc: OCLC
 * ol: Open Library identifier; do not include "OL" in the value.
 * osti: Office of Scientific and Technical Information
 * pmc: PubMed Central; use article number for full-text free repository of a journal article, e.g. . Do not include "PMC" in the value. See also pmid below; these are two different identifiers.
 * pmid: PubMed; use unique identifier. See also pmc above; these are two different identifiers.
 * rfc: Request for Comments
 * ssrn: Social Science Research Network
 * zbl: Zentralblatt MATH

Quote

 * quote: Relevant text quoted from the source. Displays enclosed in quotes.

Editors

 * editor-last: Surname of editor. Do not wikilink—use editor-link instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use editor-last to include the same format as the source. Aliases: editor1-last, editor, editors
 * editor-first: Given or first names of editor, including title(s); example: Firstname Middlename or Firstname M. or Dr. Firstname M., Sr. Do not wikilink—use editor-link instead. Aliases: editor1-first.
 * OR: for multiple editors, use editor1-last, editor1-first through.
 * editor-link: Title of existing Wikipedia article about the editor—not the editor's website; do not wikilink. Aliases: editor1-link.
 * OR: for multiple editors, use.
 * name-list-format: displays authors and editors in Vancouver style when set to  and when the list uses  /  parameters for the name list(s)
 * Display:
 * If authors: Authors are first, followed by, then the main work.
 * If no authors: Editors appear before the included work; a single editor is followed by "ed."; multiple editors are followed by "eds."

Wikisource

 * scan: Many works hosted on Wikisource are proofread from scans also hosted by the project. This parameter will provide a link to the source scan on which the citation is based, if required. Enter the pagename of the source scan at Wikisource. This pagename should include both the namespace ( or  ) and the filetype (usually  ). Example: Page:Popular Science Monthly Volume 20.djvu/127
 * class: The CSS class for the citation; use only when this template is used as a metatemplate; do not use directly when making citations in the article namespace.
 * noicon: If yes, then Wikisource icons will not be added to Wikisource links.
 * firsticon: If yes, then the Wikisource icon will be prepended.
 * vb: If yes, then the text "This article incorporates text from a publication now in the public domain:" will be prepended.

Backward compatibility
An earlier iteration of this template used only a few unnamed parameters. This template is backward compatible with the previous usage. The following format will function correctly: Only the first parameter is necessary; the rest are optional.

Specific Wikisource citation templates

 * Category:Wikisource link templates
 * Cite Americana: Encyclopedia Americana
 * Cite Appletons': Appletons' Cyclopædia of American Biography
 * Cite Australasia: The Dictionary of Australasian Biography
 * Cite Catholic Encyclopedia: Catholic Encyclopedia
 * Cite Collier's: Collier's New Encyclopaedia
 * Cite DNB: Dictionary of National Biography (1885-1900 edition & 1901 supplement)
 * Cite DNB12: Dictionary of National Biography (1912 supplement)
 * Cite DNBSupp: Dictionary of National Biography (1901 supplement)
 * Cite EB1911: Encyclopædia Britannica (1911)
 * Cite EB1922: Encyclopædia Britannica (1922)
 * Cite NIE: New International Encyclopaedia
 * NSRW Cite: The New Student's Reference Work
 * Cite Nuttall: The Nuttall Encyclopaedia
 * WsPSM: Popular Science Monthly
 * Cite SBDEL: A Short Biographical Dictionary of English Literature

TemplateData
{	"params": { "1": {},		"2": {},		"3": {},		"firsticon": {}, "iconfirst": {}, "vb": {}, "class": {}, "authormask": {}, "author-mask": {}, "last": {}, "surname": {}, "last1": {}, "surname1": {}, "author1": {}, "author": {}, "authors": {}, "last2": {}, "surname2": {}, "author2": {}, "last3": {}, "surname3": {}, "author3": {}, "last4": {}, "surname4": {}, "author4": {}, "last5": {}, "surname5": {}, "author5": {}, "last6": {}, "surname6": {}, "author6": {}, "last7": {}, "surname7": {}, "author7": {}, "last8": {}, "surname8": {}, "author8": {}, "last9": {}, "surname9": {}, "author9": {}, "first1": {}, "given1": {}, "first": {}, "given": {}, "first2": {}, "given2": {}, "first3": {}, "given3": {}, "first4": {}, "given4": {}, "first5": {}, "given5": {}, "first6": {}, "given6": {}, "first7": {}, "given7": {}, "first8": {}, "given8": {}, "first9": {}, "given9": {}, "author-link": {}, "author1-link": {}, "authorlink": {}, "authorlink1": {}, "author2-link": {}, "authorlink2": {}, "author3-link": {}, "authorlink3": {}, "author4-link": {}, "authorlink4": {}, "author5-link": {}, "authorlink5": {}, "author6-link": {}, "authorlink6": {}, "author7-link": {}, "authorlink7": {}, "author8-link": {}, "authorlink8": {}, "author9-link": {}, "authorlink9": {}, "coauthor": {}, "coauthors": {}, "year": {}, "date": { "description": "Date of source being referenced. Can be full date (day, month, and year) or partial date (month and year, or year). Use same format as other publication dates in the citations.", "type": "date" },		"publication-date": {}, "origyear": {}, "day": {}, "month": {}, "plaintitle": {}, "title": { "description": "Title of book on Wikisource. This must not be wikilinked. This must not have any formatting. It will be automatically linked to Wikisource. ", "type": "string", "required": true },		"noicon": {}, "wslanguage": {}, "wslink": {}, "anchor": {}, "trans_chapter": {}, "trans_title": {}, "archiveurl": {}, "url": {}, "archivedate": {}, "type": {}, "series": {}, "volume": {}, "issue": {}, "number": {}, "wspage": {}, "wspages": {}, "chapter": {}, "pages": {}, "page": {}, "at": {}, "nopp": {}, "contribution": {}, "plainchapter": {}, "chapter-url": {}, "chapterurl": {}, "contribution-url": {}, "others": {}, "edition": {}, "place": {}, "location": {}, "publication-place": {}, "publisher": {}, "editor-last": {}, "editor-surname": {}, "editor1-last": {}, "editor1-surname": {}, "editor": {}, "editors": {}, "editor2-last": {}, "editor2-surname": {}, "editor3-last": {}, "editor3-surname": {}, "editor4-last": {}, "editor4-surname": {}, "editor-first": {}, "editor-given": {}, "editor1-first": {}, "editor1-given": {}, "editor2-first": {}, "editor2-given": {}, "editor3-first": {}, "editor3-given": {}, "editor4-first": {}, "editor4-given": {}, "editor-link": {}, "editor1-link": {}, "editor2-link": {}, "editor3-link": {}, "editor4-link": {}, "language": {}, "in": {}, "format": {}, "arxiv": {}, "asin": {}, "ASIN": {}, "bibcode": {}, "doi": {}, "DOI": {}, "doi_inactivedate": {}, "doi_brokendate": {}, "isbn": {}, "ISBN": {}, "issn": {}, "ISSN": {}, "jfm": {}, "JFM": {}, "jstor": {}, "JSTOR": {}, "lccn": {}, "LCCN": {}, "mr": {}, "MR": {}, "oclc": {}, "OCLC": {}, "ol": {}, "OL": {}, "osti": {}, "OSTI": {}, "pmc": {}, "PMC": {}, "pmc-embargo-date": {}, "pmid": {}, "PMID": {}, "rfc": {}, "RFC": {}, "ssrn": {}, "SSRN": {}, "zbl": {}, "id": {}, "ID": {}, "access-date": {}, "accessdate": {}, "dateformat": {}, "quote": {}, "laysummary": {}, "laydate": {}, "ref": {}, "separator": {}, "seperator": {}, "postscript": {}, "author-separator": {}, "author-name-separator": {}, "display-authors": {}, "lastauthoramp": {}, "scan": {}, "accessdaymonth": {}, "accessmonthday": {}, "accessday": {}, "accessmonth": {}, "accessyear": {} },	"description": "This template is used to cite sources in Wikipedia. It is specifically for works in the sister project Wikisource.", "paramOrder": [ "title", "author", "date", "first", "last", "publication-date", "1",		"2",		"3",		"firsticon", "iconfirst", "vb", "class", "authormask", "author-mask", "surname", "last1", "surname1", "author1", "authors", "last2", "surname2", "author2", "last3", "surname3", "author3", "last4", "surname4", "author4", "last5", "surname5", "author5", "last6", "surname6", "author6", "last7", "surname7", "author7", "last8", "surname8", "author8", "last9", "surname9", "author9", "first1", "given1", "given", "first2", "given2", "first3", "given3", "first4", "given4", "first5", "given5", "first6", "given6", "first7", "given7", "first8", "given8", "first9", "given9", "author-link", "author1-link", "authorlink", "authorlink1", "author2-link", "authorlink2", "author3-link", "authorlink3", "author4-link", "authorlink4", "author5-link", "authorlink5", "author6-link", "authorlink6", "author7-link", "authorlink7", "author8-link", "authorlink8", "author9-link", "authorlink9", "coauthor", "coauthors", "year", "origyear", "day", "month", "plaintitle", "noicon", "wslanguage", "wslink", "anchor", "trans_chapter", "trans_title", "archiveurl", "url", "archivedate", "type", "series", "volume", "issue", "number", "wspage", "wspages", "chapter", "pages", "page", "at", "nopp", "contribution", "plainchapter", "chapter-url", "chapterurl", "contribution-url", "others", "edition", "place", "location", "publication-place", "publisher", "editor-last", "editor-surname", "editor1-last", "editor1-surname", "editor", "editors", "editor2-last", "editor2-surname", "editor3-last", "editor3-surname", "editor4-last", "editor4-surname", "editor-first", "editor-given", "editor1-first", "editor1-given", "editor2-first", "editor2-given", "editor3-first", "editor3-given", "editor4-first", "editor4-given", "editor-link", "editor1-link", "editor2-link", "editor3-link", "editor4-link", "language", "in", "format", "arxiv", "asin", "ASIN", "bibcode", "doi", "DOI", "doi_inactivedate", "doi_brokendate", "isbn", "ISBN", "issn", "ISSN", "jfm", "JFM", "jstor", "JSTOR", "lccn", "LCCN", "mr", "MR", "oclc", "OCLC", "ol", "OL", "osti", "OSTI", "pmc", "PMC", "pmc-embargo-date", "pmid", "PMID", "rfc", "RFC", "ssrn", "SSRN", "zbl", "id", "ID", "access-date", "accessdate", "dateformat", "quote", "laysummary", "laydate", "ref", "separator", "seperator", "postscript", "author-separator", "author-name-separator", "display-authors", "lastauthoramp", "scan", "accessdaymonth", "accessmonthday", "accessday", "accessmonth", "accessyear" ] }