Jump to content

Template:Cite wikisource/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]

This template supports most of the parameters available to {{citation}}. For information about those parameters see that template's documentation.

All parameter names must be in lowercase.

cite wikisource-specific parameters

[edit]
  • |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.
  • |firsticon= – alias of |iconfirst=; when set to any value, the {{cite wikisource}} rendering will have a leading Wikisource icon; alias:
  • |iconfirst= – alias of |firsticon=
  • |noicon= – when set to any value, Wikisource icons will not be added to Wikisource links
  • |nolink= – when set to any value, Wikisource will not be linked when passed through to the |via= parameter
  • |plainchapter= – The chapter of the book, written in full; overrides |chapter= parameter and will not create a link to Wikisource
  • |plaintitle= – This, or |title=, is the only required parameter; overrides |title= parameter and will not create a link to Wikisource. Can be wikilinked but only to an existing Wikipedia article
  • |prescript= – alias of |vb=
  • |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
  • |vb= – alias of |prescript=; when set to any value, adds the text: 'This article incorporates text from a publication now in the public domain:' before the rendered citation
  • |wsat= – an in-source anchor on Wikisource when |wspage= or |wspages= is inappropriate; forms a linked in-source value to an anchor in the source for {{citation}} parameter |at=; use |at= to display an in-source location value different from the value assigned to |wsat=
  • |wslanguage= – ISO 639-1 (two-letter) or ISO 639-2 (three letter) language code of the wikisource hosting the work (if not English Wikisource) (For example, fr indicates French Wikisource.); overrides {{citation}} parameter |language=; (list of supported codes / names)
  • |wslink= – the full page name on Wikisource. To be used where the title is different from 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.
  • |wspage= – the page number on Wikisource; forms a linked page number value to a page-number anchor in the source for {{citation}} parameter |page=; use |page= to display a page number different from the value assigned to |wspage=
  • |wspages= – a page number on Wikisource; forms a linked page number value to a page-number anchor in the source for {{citation}} parameter |pages=; use |pages= to display the multiple page numbers and / or page range(s)
  • |_debug= – a useful aid when trying to understand why a {{cite wikisource}} template is not working; see §examples


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.

template skeletons
Full version (copy and paste text below and delete parameters you don't need)
{{cite wikisource |last1= |first1= |author-link1= |last2= |first2= |author-link2= |editor-first1= |editor-last1= |editor-link1= |others= |title= |trans-title= |plaintitle= |wslink= |archive-url= |archive-date= |type= |edition= |series= |volume= |date= |year= |orig-date= |publisher= |location= |language= |wslanguage= |isbn= |oclc= |doi= |id= |page= |pages= |at= |wspage= |trans-chapter= |chapter= |plainchapter= |quote= |ref= |bibcode= |lay-summary= |lay-date= |postscript= |last-author-amp= |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= |date= |publisher= |location= |page= |pages= |scan=}}

examples

[edit]
examples
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). "Aard-vark" . Encyclopædia Britannica (Eleventh ed.). Cambridge University Press – via Wikisource.

Example 2
{{cite wikisource
 |first=T. E.
 |last=Lounsbury
 |title=Sketch of George Jarvis Brush
 |wslink=Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush
 |magazine=[[Popular Science Monthly]]
 |volume=20
 |date=November 1881
 |wspage=117
 |publisher=[[D. Appleton & Company]]
 |issn=0161-7370
 |scan= Page:Popular Science Monthly Volume 20.djvu/127
 |nolink=yes
}}

Lounsbury, T. E. (November 1881). "Sketch of George Jarvis Brush" . Popular Science Monthly. Vol. 20. D. Appleton & Company. p. 117 . ISSN 0161-7370 – via Wikisource. [scan Wikisource link]

Example |_debug=yes
{{cite wikisource
 |first=T. E.
 |last=Lounsbury
 |title=Sketch of George Jarvis Brush
 |wslink=Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush
 |magazine=[[Popular Science Monthly]]
 |volume=20
 |date=November 1881
 |wspage=117
 |publisher=[[D. Appleton & Company]]
 |issn=0161-7370
 |scan= Page:Popular Science Monthly Volume 20.djvu/127
 |_debug=yes
}}

{{citation|date=November 1881|first=T. E.|issn=0161-7370|last=Lounsbury|magazine=[[Popular Science Monthly]]|mode=cs1|page=[[s:Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush#117|117]]|publisher=[[D. Appleton & Company]]|title=[[s:Popular Science Monthly/Volume 20/November 1881/Sketch of George Jarvis Brush|Sketch of George Jarvis Brush]]|via=[[Wikisource]]|volume=20}} [scan Wikisource link]

Backward compatibility

[edit]

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

[edit]
{{cite wikisource|Sense and Sensibility}}

Sense and Sensibility  – via Wikisource.

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

Jane Austen. Sense and Sensibility  – via Wikisource.

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

Jane Austen. Sentido y sensibilidad  (in Spanish) – via Wikisource.

See also

[edit]

Specific Wikisource citation templates

[edit]

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

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Cite wikisource in articles based on its TemplateData.

TemplateData for Cite wikisource

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

Template parameters

ParameterDescriptionTypeStatus
titletitle

Title of book on Wikisource. This must not be wikilinked. This must not have any formatting. It will be automatically linked to Wikisource.

Stringrequired
authorauthor

no description

Unknownoptional
datedate

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.

Dateoptional
firstfirst

no description

Unknownoptional
lastlast

no description

Unknownoptional
publication-datepublication-date

no description

Unknownoptional
11

no description

Unknownoptional
22

no description

Unknownoptional
33

no description

Unknownoptional
firsticonfirsticon

no description

Unknownoptional
iconfirsticonfirst

no description

Unknownoptional
vbvb

no description

Unknownoptional
classclass

no description

Unknownoptional
authormaskauthormask

no description

Unknownoptional
author-maskauthor-mask

no description

Unknownoptional
surnamesurname

no description

Unknownoptional
last1last1

no description

Unknownoptional
surname1surname1

no description

Unknownoptional
author1author1

no description

Unknownoptional
authorsauthors

no description

Unknownoptional
last2last2

no description

Unknownoptional
surname2surname2

no description

Unknownoptional
author2author2

no description

Unknownoptional
last3last3

no description

Unknownoptional
surname3surname3

no description

Unknownoptional
author3author3

no description

Unknownoptional
last4last4

no description

Unknownoptional
surname4surname4

no description

Unknownoptional
author4author4

no description

Unknownoptional
last5last5

no description

Unknownoptional
surname5surname5

no description

Unknownoptional
author5author5

no description

Unknownoptional
last6last6

no description

Unknownoptional
surname6surname6

no description

Unknownoptional
author6author6

no description

Unknownoptional
last7last7

no description

Unknownoptional
surname7surname7

no description

Unknownoptional
author7author7

no description

Unknownoptional
last8last8

no description

Unknownoptional
surname8surname8

no description

Unknownoptional
author8author8

no description

Unknownoptional
last9last9

no description

Unknownoptional
surname9surname9

no description

Unknownoptional
author9author9

no description

Unknownoptional
first1first1

no description

Unknownoptional
given1given1

no description

Unknownoptional
givengiven

no description

Unknownoptional
first2first2

no description

Unknownoptional
given2given2

no description

Unknownoptional
first3first3

no description

Unknownoptional
given3given3

no description

Unknownoptional
first4first4

no description

Unknownoptional
given4given4

no description

Unknownoptional
first5first5

no description

Unknownoptional
given5given5

no description

Unknownoptional
first6first6

no description

Unknownoptional
given6given6

no description

Unknownoptional
first7first7

no description

Unknownoptional
given7given7

no description

Unknownoptional
first8first8

no description

Unknownoptional
given8given8

no description

Unknownoptional
first9first9

no description

Unknownoptional
given9given9

no description

Unknownoptional
author-linkauthor-link

no description

Unknownoptional
author1-linkauthor1-link

no description

Unknownoptional
authorlinkauthorlink

no description

Unknownoptional
authorlink1authorlink1

no description

Unknownoptional
author2-linkauthor2-link

no description

Unknownoptional
authorlink2authorlink2

no description

Unknownoptional
author3-linkauthor3-link

no description

Unknownoptional
authorlink3authorlink3

no description

Unknownoptional
author4-linkauthor4-link

no description

Unknownoptional
authorlink4authorlink4

no description

Unknownoptional
author5-linkauthor5-link

no description

Unknownoptional
authorlink5authorlink5

no description

Unknownoptional
author6-linkauthor6-link

no description

Unknownoptional
authorlink6authorlink6

no description

Unknownoptional
author7-linkauthor7-link

no description

Unknownoptional
authorlink7authorlink7

no description

Unknownoptional
author8-linkauthor8-link

no description

Unknownoptional
authorlink8authorlink8

no description

Unknownoptional
author9-linkauthor9-link

no description

Unknownoptional
authorlink9authorlink9

no description

Unknownoptional
coauthorcoauthor

no description

Unknownoptional
coauthorscoauthors

no description

Unknownoptional
yearyear

no description

Unknownoptional
orig-dateorig-date

no description

Unknownoptional
dayday

no description

Unknownoptional
monthmonth

no description

Unknownoptional
plaintitleplaintitle

no description

Unknownoptional
noiconnoicon

no description

Unknownoptional
wslanguagewslanguage

no description

Unknownoptional
wslinkwslink

no description

Unknownoptional
anchoranchor

no description

Unknownoptional
trans_chaptertrans_chapter

no description

Unknownoptional
trans_titletrans_title

no description

Unknownoptional
archiveurlarchiveurl

no description

Unknownoptional
urlurl

no description

Unknownoptional
archivedatearchivedate

no description

Unknownoptional
typetype

no description

Unknownoptional
seriesseries

no description

Unknownoptional
volumevolume

no description

Unknownoptional
issueissue

no description

Unknownoptional
numbernumber

no description

Unknownoptional
wspagewspage

no description

Unknownoptional
wspageswspages

no description

Unknownoptional
chapterchapter

no description

Unknownoptional
pagespages

no description

Unknownoptional
pagepage

no description

Unknownoptional
atat

no description

Unknownoptional
noppnopp

no description

Unknownoptional
contributioncontribution

no description

Unknownoptional
plainchapterplainchapter

no description

Unknownoptional
chapter-urlchapter-url

no description

Unknownoptional
chapterurlchapterurl

no description

Unknownoptional
contribution-urlcontribution-url

no description

Unknownoptional
othersothers

no description

Unknownoptional
editionedition

no description

Unknownoptional
placeplace

no description

Unknownoptional
locationlocation

no description

Unknownoptional
publication-placepublication-place

no description

Unknownoptional
publisherpublisher

no description

Unknownoptional
editor-lasteditor-last

no description

Unknownoptional
editor-surnameeditor-surname

no description

Unknownoptional
editor1-lasteditor1-last

no description

Unknownoptional
editor1-surnameeditor1-surname

no description

Unknownoptional
editoreditor

no description

Unknownoptional
editorseditors

no description

Unknownoptional
editor2-lasteditor2-last

no description

Unknownoptional
editor2-surnameeditor2-surname

no description

Unknownoptional
editor3-lasteditor3-last

no description

Unknownoptional
editor3-surnameeditor3-surname

no description

Unknownoptional
editor4-lasteditor4-last

no description

Unknownoptional
editor4-surnameeditor4-surname

no description

Unknownoptional
editor-firsteditor-first

no description

Unknownoptional
editor-giveneditor-given

no description

Unknownoptional
editor1-firsteditor1-first

no description

Unknownoptional
editor1-giveneditor1-given

no description

Unknownoptional
editor2-firsteditor2-first

no description

Unknownoptional
editor2-giveneditor2-given

no description

Unknownoptional
editor3-firsteditor3-first

no description

Unknownoptional
editor3-giveneditor3-given

no description

Unknownoptional
editor4-firsteditor4-first

no description

Unknownoptional
editor4-giveneditor4-given

no description

Unknownoptional
editor-linkeditor-link

no description

Unknownoptional
editor1-linkeditor1-link

no description

Unknownoptional
editor2-linkeditor2-link

no description

Unknownoptional
editor3-linkeditor3-link

no description

Unknownoptional
editor4-linkeditor4-link

no description

Unknownoptional
languagelanguage

no description

Unknownoptional
inin

no description

Unknownoptional
formatformat

no description

Unknownoptional
arxivarxiv

no description

Unknownoptional
asinasin

no description

Unknownoptional
ASINASIN

no description

Unknownoptional
bibcodebibcode

no description

Unknownoptional
doidoi

no description

Unknownoptional
DOIDOI

no description

Unknownoptional
doi_inactivedatedoi_inactivedate

no description

Unknownoptional
doi_brokendatedoi_brokendate

no description

Unknownoptional
isbnisbn

no description

Unknownoptional
ISBNISBN

no description

Unknownoptional
issnissn

no description

Unknownoptional
ISSNISSN

no description

Unknownoptional
jfmjfm

no description

Unknownoptional
JFMJFM

no description

Unknownoptional
jstorjstor

no description

Unknownoptional
JSTORJSTOR

no description

Unknownoptional
lccnlccn

no description

Unknownoptional
LCCNLCCN

no description

Unknownoptional
mrmr

no description

Unknownoptional
MRMR

no description

Unknownoptional
oclcoclc

no description

Unknownoptional
OCLCOCLC

no description

Unknownoptional
olol

no description

Unknownoptional
OLOL

no description

Unknownoptional
ostiosti

no description

Unknownoptional
OSTIOSTI

no description

Unknownoptional
pmcpmc

no description

Unknownoptional
PMCPMC

no description

Unknownoptional
pmc-embargo-datepmc-embargo-date

no description

Unknownoptional
pmidpmid

no description

Unknownoptional
PMIDPMID

no description

Unknownoptional
rfcrfc

no description

Unknownoptional
RFCRFC

no description

Unknownoptional
ssrnssrn

no description

Unknownoptional
SSRNSSRN

no description

Unknownoptional
zblzbl

no description

Unknownoptional
idid

no description

Unknownoptional
IDID

no description

Unknownoptional
access-dateaccess-date

no description

Unknownoptional
accessdateaccessdate

no description

Unknownoptional
dateformatdateformat

no description

Unknownoptional
quotequote

no description

Unknownoptional
laysummarylaysummary

no description

Unknownoptional
laydatelaydate

no description

Unknownoptional
refref

no description

Unknownoptional
separatorseparator

no description

Unknownoptional
seperatorseperator

no description

Unknownoptional
postscriptpostscript

no description

Unknownoptional
author-separatorauthor-separator

no description

Unknownoptional
author-name-separatorauthor-name-separator

no description

Unknownoptional
display-authorsdisplay-authors

no description

Unknownoptional
lastauthoramplastauthoramp

no description

Unknownoptional
scanscan

no description

Unknownoptional
accessdaymonthaccessdaymonth

no description

Unknownoptional
accessmonthdayaccessmonthday

no description

Unknownoptional
accessdayaccessday

no description

Unknownoptional
accessmonthaccessmonth

no description

Unknownoptional
accessyearaccessyear

no description

Unknownoptional
workwork

no description

Unknownoptional