Template:Cite wikisource/doc

< Template:Cite wikisource

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 id field in these instances, simply use the appropriate field. For instance, type isbn= followed by the number instead of id=ISBN. 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.

Full version (copy and paste text below and delete parameters you don't need)
{{cite wikisource |class= |last1= |first1= |authorlink1= |last2= |first2= |authorlink2= |coauthors= |editor1-first= |editor1-last= |editor1-link= |others= |title= |trans_title= |plaintitle= |wslink= |archiveurl= |archivedate= |type= |edition= |series= |volume= |date= |year= |month= |origyear= |publisher= |location= |language= |wslanguage= |isbn= |oclc= |doi= |id= |page= |pages= |at= |wspage= |trans_chapter= |chapter= |plainchapter= |quote= |ref= |bibcode= |laysummary= |laydate= |separator= |postscript= |lastauthoramp= |scan= |noicon= |firsticon= |vb=}}
Most commonly used fields (use this and you won't have to delete as much)
{{cite wikisource |title= |wslink= |last= |first= |authorlink= |coauthors= |year= |publisher= |location= |page= |pages= |scan=}}
Example 1
{{cite wikisource |editor-first= Hugh |editor-last= Chisholm |chapter= Aard-vark |wslink= 1911 Encyclopædia Britannica |plaintitle= [[Encyclopædia Britannica Eleventh Edition|Encyclopædia Britannica]] |edition= Eleventh |year= 1911 |publisher= Cambridge University Press}}

Chisholm, Hugh, ed. (1911). "Wikisource link to Aard-vark". Encyclopædia Britannica (Eleventh ed.). Cambridge University Press. Wikisource. 

Example 2
{{cite wikisource
 | class        = journal
 | first        = T. E.
 | last         = Lounsbury
 | chapter      = Sketch of George Jarvis Brush
 | wslink       = Popular Science Monthly/Volume 20/November 1881
 | plaintitle   = [[Popular Science Monthly]]
 | volume       = 20
 | month        = November
 | year         = 1881
 | page         = 117
 | wspage       = 117
 | publisher    = [[D. Appleton & Company]]
 | issn         = 0161-7370
 | scan         = Page:Popular Science Monthly Volume 20.djvu/127
}}

Lounsbury, T. E. (November 1881). "Wikisource link to Sketch of George Jarvis Brush". Popular Science Monthly. 20. D. Appleton & Company. Wikisource. Wikisource page link 117. ISSN 0161-7370

      .  Wikisource link [scan]
Vertical list Prerequisites * Brief instructions
{{cite wikisource
| class         = 
| last          = 
| first         = 
| authormask    = 
| authorlink    = 
| coauthors     = 
| firstn =  | lastn = 
| authorn-link  = 
| editor        = 
| editorn-last  = 
| editorn-first = 
| editor-link   = 
| editorn-link  = 
| others        = 
| title         = 
| trans_title   = 
| plaintitle    = 
| wslink        = 
| archiveurl    = 
| archivedate   = 
| type          = 
| edition       = 
| series        = 
| volume        = 
| date          = 
| origyear      = 
| year          = 
| month         = 
| publisher     = 
| location      = 
| wslanguage    = 
| language      = 
| isbn          = 
| oclc          = 
| doi           = 
| bibcode       = 
| id            = 
| page          = 
| pages         = 
| nopp          = 
| at            = 
| wspage        = 
| chapter       = 
| trans_chapter = 
| plainchapter  = 
| quote         = 
| ref           = 
| laysummary    = 
| laydate       = 
| separator     = 
| postscript    = 
| lastauthoramp = 
| scan          = 
| noicon        = 
| firsticon     = 
| vb            = 
}}



last

last
last

lastn



editor or editor-last
editorn-last






archiveurl=





year or date

year

publisher









page or pages



chapter




laysummary


coauthors or >1 lastn
Page: (Wikisource)






(no wikilink)
(no wikilink)


alternative to first2, last2...first9, last9
(no wikilink). n=1 through 9
n=1 through 9

n=1 through 4
n=1 through 4

n=1 through 4

title to display (links to Wikisource)

title to display (no link to Wikisource)
title at Wikisource (links to Wikisource)






†preferred (no wikilink)

alternative to date





always include ISBN if one has been assigned






hides automatic 'p' or 'pp'.
alternative to page/pages when those are used with nopp
(Links to Wikisource)
‡(no wikilink).  Synonymous with "contribution". (Links to Wikisource)

‡(wikilink allowed). (No link to Wikisource)












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

|chapter= cannot have wikilinks; |plainchapter= can have wikilinks

Examples

Just a title
* {{cite wikisource | title=Mysterious book }}
Year and title
* {{cite wikisource | title=Mysterious book | year=1901 }}
Basic usage
* {{cite wikisource | first=Joe | last=Bloggs | authorlink=Joe Bloggs | year=1974 | title=Book of Bloggs }}
Citing a chapter in a book with different authors for different chapters and an editor
* {{cite wikisource |last=Bloggs | first=Fred |editor-first=John| editor-last=Doe |plaintitle=Big Compilation Book With Many Chapters and distinct chapter authors |publisher=Book Publishers |date=2001-01-01 |pages=100–110 |chapter=Chapter 2: The History Of The Bloggs Family |isbn=1234567890}}
      . 

Parameters

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 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 Wikipedia:COinS.

  • Be careful using templates within the citation template, as many will add a lot of extraneous HTML or CSS that will be rendered in the meta-data.
    • Known templates that should not be used: {{smallcaps}}.

By default, sets of fields are terminated with a period (.); this can be an issue when the last field in an abbreviation or initial with a period, as two periods then display. The only solution is to not include the last period in the value for the set of fields.

Description

Authors

  • last: Surname of author. Do not wikilink—use authorlink instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use last to include the same format as the source. Aliases: last, author, authors, last1, 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 authorlink instead. Aliases: first, first1.
    • OR: for multiple authors, use last1, first1 through last9, first9 for up to nine authors. By default, if nine authors are defined, then only eight will show and "et al." will show in place of the last author. Aliases: last1, author1 through last9, author9.
  • authorlink: Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: authorlink, authorlink1, author-link, author1-link.
  • OR: for multiple authors, use authorlink1 through authorlink9. Aliases: authorlink1, author1-link through authorlink9, author9-link.
  • coauthors: (deprecated) Names of of coauthors. Use the same format as the authors.
  • others: To record other contributors to the work, such as "Illustrated by John Smith" or "Translated by John Smith."
When using Shortened footnotes or parenthetical referencing
styles with templates, do not use multiple names in one field 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 will only create a link to wikisource if chapter is also used.
    • anchor: In combination with title, chapter and/or wslink, 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 at parameter as well. This parameter can be used in addition to wspage 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 icons or templates.
  • 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. Examples: Thesis, Booklet, CD liner, Press release.
  • chapter: The title of the source. May be wikilinked or may use chapter-url, but not both. Displays in quotes.
    • trans_chapter: English translation of the title if the source cited is in a foreign language. Displays in square brackets after the chapter field; if chapter-url is defined, then trans_title 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: Full date of source being referenced in the same format as other publication dates in the citations.[1] Do not wikilink. Displays after the authors and enclosed in parentheses. If there is no author, then displays after publisher.
  • OR: year: Year of source being referenced.
    • month: Name of the month of publication. If you also have the day, use date instead; do not wikilink.
    • origyear: Original publication year; displays after the date or year. For clarity, please supply specifics; example: |origyear=First published 1859 or |origyear=Composed 1904.
  1. Publication dates in article references should all have the same format. See MOS:DATEUNIFY.

Publisher

  • publisher: Name of publisher; may be wikilinked if relevant. Not normally included for periodicals. Corporate designations such as "Ltd", "Inc" or "GmbH" are not usually included. Displays after title; if work is defined, then publisher and location are enclosed in parentheses.
  • location: 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 preceding publisher.
  • 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.

Edition, series, volume

  • edition: When the publication has more than one edition; for example: "2nd", "Revised" etc. Displays " ed." after this field, so |edition=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. Displays in bold after the title and series fields; if bolding is not desired, then include the volume information in the title field.

In-source locations

  • page: Page in the source that supports the content. Displays preceded with <syntaxhighlight lang="text" enclose="none">p.</syntaxhighlight> unless |nopp=y.
  • OR: 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 to indicate the total number of pages in the source. Displays preceded with <syntaxhighlight lang="text" enclose="none">pp.</syntaxhighlight> unless |nopp=y.
    • nopp: Set to y to suppress the <syntaxhighlight lang="text" enclose="none">p.</syntaxhighlight> or <syntaxhighlight lang="text" enclose="none">pp.</syntaxhighlight> notations where this is inappropriate; for example, where |page=Front cover.
  • OR: at: For sources where a page number is inappropriate or insufficient. Overridden by |page= or |pages=.
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

Identifiers

  • id: A unique identifier, used where none of the specialized identifiers are applicable; wikilink or use a template as applicable.

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.

Quote

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

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 editor4-last, editor4-first for up to four editors.
  • 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 editor1-link through editor4-link.
Display:
If authors: Authors are first, followed by the editors and the included work, 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."; more than three editors will be followed by "et al., eds."

Laysummary

  • laysummary: URL link to a non-technical summary or review of the source; the URL title is set to "Lay summary".
    • laysource: Name of the source of the laysummary. Displays in italics and preceded by an endash.
    • laydate: Date of the summary. Displays in parentheses.

Display options

  • author-mask: Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliography styles where multiple works by a single author are listed sequentially. Do not use in a list generated by {{reflist}}, <references></references> or similar as there is no control of the order in which references are displayed.
  • author-name-separator: Changes the separator between last and first names; defaults to a comma and space (, ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as &#32; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.
  • author-separator: Changes the separator between authors; defaults to a semicolon and space (; ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as &#32; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.
  • 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."; for example, use |display-authors=2 for only two authors. The "et al." may be suppressed altogether by setting |display-authors=9. Aliases: displayauthors.
  • lastauthoramp: When set to any value, changes the separator between the last two names of the author list to space ampersand space ( & ).
  • postscript: The closing punctuation for the citation; defaults to a period (.); if the parameter is present, but blank, no terminating punctuation will be used. Ignored if quote is defined.
  • separator: The punctuation used to separate lists of authors, editors, etc. Defaults to a period (.); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as &#32; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.

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 (Index: or Page:) and the filetype (usually .djvu). Example: |scan=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 |noicon=yes, then Wikisource icons will not be added to Wikisource links.
  • firsticon: If |firsticon=yes, then the Wikisource icon will be prepended.
  • vb: If |vb=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:

{{cite wikisource|work title|author|wikisource language}}

Only the first parameter is necessary; the rest are optional.

Examples

{{cite wikisource|Sense and Sensibility}}

Wikisource link to Sense and Sensibility. Wikisource. 

{{cite wikisource|Sense and Sensibility|Jane Austen}}

Jane Austen. Wikisource link to Sense and Sensibility. Wikisource. 

{{cite wikisource|Sentido y sensibilidad|Jane Austen|es}}

Jane Austen (in Lua error in package.lua at line 80: module 'Module:Language/data/ISO 639 override' not found.). Wikisource link to Sentido y sensibilidad. Wikisource. 

Related pages

Specific Wikisource citation templates

This template produces COinS metadata; see COinS in Wikipedia for background information.