Difference between revisions of "Template:Citation"
m (1 revision) |
Shawndouglas (talk | contribs) (access-date deprecated) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 75: | Line 75: | ||
}} | }} | ||
}}} | }}} | ||
|YearNote = {{{ | |YearNote = {{{orig-year|}}} | ||
|Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date| | |Date = {{#if:{{{date|}}}|{{date|{{{date|}}}}}|{{{date|}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}} | ||
|DateFormat={{{ | |DateFormat={{{df|none}}} | ||
|Title={{{title|}}} | |Title={{{title|}}} | ||
|TransTitle={{{ | |TransTitle={{{trans-chapter|}}} | ||
|TransItalic={{{ | |TransItalic={{{trans-title|}}} | ||
|TitleType={{{type|}}} | |TitleType={{{type|{{{medium|}}}}}} | ||
|URL={{#if:{{{archiveurl|}}} | |URL={{#if:{{{archiveurl|}}} | ||
|{{{archiveurl}}} | |{{{archiveurl}}} | ||
Line 95: | Line 95: | ||
}} | }} | ||
|Series={{{series|{{{version|}}}}}} | |Series={{{series|{{{version|}}}}}} | ||
|Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{ | |Periodical = {{{work|{{{journal|{{{website{{{{{{periodical|{{{newspaper|{{{magazine|{{{encyclopedia|{{{dictionary|}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
|Volume = {{{volume|}}} | |Volume = {{{volume|}}} | ||
|Issue = {{{issue|{{{number|}}}}}} | |Issue = {{{issue|{{{number|}}}}}} | ||
|At = {{ | |At = {{ | ||
#if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}} | #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}} | ||
|{{{pages|{{{page|{{{at|}}}}}}}}} | |{{{pages|{{{page|{{{at|}}}}}}}}} | ||
|{{ | |{{ | ||
Line 111: | Line 111: | ||
}} | }} | ||
}} | }} | ||
|IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}} | |IncludedWorkTitle = {{{chapter|{{{contribution|{{{section|}}}}}}}}} | ||
|IncludedWorkURL = {{{chapter-url|{{{ | |IncludedWorkURL = {{{chapter-url|{{{contribution-url|{{{section-url|}}}}}}}}} | ||
|Other = {{{others|}}} | |Other = {{{others|}}} | ||
|Edition = {{{edition|}}} | |Edition = {{{edition|}}} | ||
Line 119: | Line 119: | ||
|Publisher = {{{publisher|}}} | |Publisher = {{{publisher|}}} | ||
|PublicationDate = {{{publication-date|}}} | |PublicationDate = {{{publication-date|}}} | ||
|EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname | |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}} | ||
|EditorSurname2 = {{{editor2-last|{{{editor2-surname | |EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}} | ||
|EditorSurname3 = {{{editor3-last|{{{editor3-surname | |EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}} | ||
|EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{ | |EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}} | ||
|EditorSurname5 = {{{editor5-last|{{{editor5-surname|}}}}}} | |||
|EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}} | |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}} | ||
|EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}} | |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}} | ||
|EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}} | |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}} | ||
|EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}} | |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}} | ||
|Editorlink1={{{editor-link|{{{editor1-link|}}}}}} | |EditorGiven5={{{editor5-first|{{{editor5-given|}}}}}} | ||
|Editorlink2={{{editor2-link|}}} | |Editorlink1={{{editor-link|{{{editor1-link|{{{editorlink|{{{editorlink1|}}}}}}}}}}}} | ||
|Editorlink3={{{editor3-link|}}} | |Editorlink2={{{editor2-link|{{{editorlink2|}}}}}} | ||
|Editorlink4={{{editor4-link|}}} | |Editorlink3={{{editor3-link|{{{editorlink3|}}}}}} | ||
|Editorlink4={{{editor4-link|{{{editorlink4|}}}}}} | |||
|Editorlink5={{{editor5-link|{{{editorlink5|}}}}}} | |||
|language = {{{language|{{{in|}}}}}} | |language = {{{language|{{{in|}}}}}} | ||
|format = {{{format|}}} | |format = {{{format|}}} | ||
|ARXIV={{{arxiv|}}} | |ARXIV={{{arxiv|}}} | ||
|ASIN={{{asin|{{{ASIN|}}}}}} | |ASIN={{{asin|{{{ASIN|}}}}}} | ||
|ASIN-TLD={{{asin-tld|}}} | |||
|BIBCODE={{{bibcode|}}} | |BIBCODE={{{bibcode|}}} | ||
|BIORXIV={{{biorxiv}}} | |||
|CITESEERX={{{citeseerx}}} | |||
|DOI={{{doi|{{{DOI|}}}}}} | |DOI={{{doi|{{{DOI|}}}}}} | ||
|DoiBroken={{{ | |DoiBroken={{{doi-inactive-date|{{{doi-broken-date|}}}}}} | ||
|ISBN={{{isbn|{{{ISBN|}}}}}} | |ISBN={{{isbn|{{{ISBN|}}}}}} | ||
|ISSN={{{issn|{{{ISSN|}}}}}} | |ISSN={{{issn|{{{ISSN|}}}}}} | ||
Line 148: | Line 154: | ||
|OSTI={{{osti|{{{OSTI|}}}}}} | |OSTI={{{osti|{{{OSTI|}}}}}} | ||
|PMC={{{pmc|{{{PMC|}}}}}} | |PMC={{{pmc|{{{PMC|}}}}}} | ||
|PMID={{{pmid|{{{PMID|}}}}}} | |PMID={{{pmid|{{{PMID|}}}}}} | ||
|RFC={{{rfc|{{{RFC|}}}}}} | |RFC={{{rfc|{{{RFC|}}}}}} | ||
Line 154: | Line 159: | ||
|ZBL={{{zbl|}}} | |ZBL={{{zbl|}}} | ||
|ID={{{id|{{{ID|}}}}}} | |ID={{{id|{{{ID|}}}}}} | ||
|AccessDate={{{ | |AccessDate={{{accessdate|}}} | ||
|laysource = {{{laysource|}}} | |||
|laysummary = {{{laysummary|}}} | |laysummary = {{{laysummary|}}} | ||
|laydate = {{{laydate|}}} | |||
|quote = {{{quote|}}} | |quote = {{{quote|}}} | ||
|Ref={{{ref|harv}}} | |Ref={{{ref|harv}}} | ||
|PS = {{#if:{{{quote|}}}||{{{postscript|}}}}} | |PS = {{#if:{{{quote|}}}||{{{postscript|}}}}} | ||
|Trunc = {{#if:{{{display-authors|}}}|{{{display-authors}}}|8}} | |Trunc = {{#if:{{{display-authors|}}}|{{{display-authors}}}|8}} | ||
|ArchiveURL= {{{archiveurl|}}} | |ArchiveURL= {{{archiveurl|}}} | ||
| | |ArchiveDate= {{{archivedate|}}} | ||
}}}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude> | |OriginalURL = {{{url|}}} | ||
}}}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly> | |||
<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<templatedata> | |||
{ | |||
"description": "The Citation template generates a citation for a book, periodical, contribution in a collective work, or a web page. It determines the citation type by examining which parameters are used.", | |||
"params": { | |||
"url": { | |||
"label": "URL", | |||
"description": "The URL of the online location where the text of the publication can be found. Requires schemes of the type \"http://...\" or maybe even the protocol relative scheme \"//...\"", | |||
"type": "line", | |||
"aliases": [ | |||
"URL" | |||
], | |||
"suggested": true, | |||
"example": "https://www.nytimes.com/..." | |||
}, | |||
"title": { | |||
"label": "Title of source", | |||
"description": "Title of source. Works display in italics and articles surrounded in quotation marks.", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"last": { | |||
"label": "Last name", | |||
"description": "The surname of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors", | |||
"aliases": [ | |||
"author", | |||
"author1", | |||
"authors", | |||
"last1" | |||
], | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"first": { | |||
"label": "First name", | |||
"description": "Given or first name, middle names, or initials of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors", | |||
"aliases": [ | |||
"first1" | |||
], | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"last2": { | |||
"label": "Last name 2", | |||
"description": "The surname of the second author; don't wikilink, use 'author-link2'.", | |||
"aliases": [ | |||
"author2" | |||
], | |||
"type": "line" | |||
}, | |||
"first2": { | |||
"label": "First name 2", | |||
"description": "Given or first name, middle names, or initials of the second author; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"date": { | |||
"label": "Source date", | |||
"description": "Date of the source; do not wikilink. As listed in the publication", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"work": { | |||
"label": "Work", | |||
"description": "Name of the work in which the cited title is found", | |||
"type": "string", | |||
"aliases": [ | |||
"journal", | |||
"website", | |||
"newspaper", | |||
"magazine", | |||
"encyclopedia", | |||
"dictionary", | |||
"periodical" | |||
], | |||
"suggested": true | |||
}, | |||
"publisher": { | |||
"label": "Publisher", | |||
"description": "Name of the publisher; displays after title", | |||
"type": "content", | |||
"suggested": true, | |||
"example": "[[University of Chicago Press]]" | |||
}, | |||
"issue": { | |||
"label": "Issue", | |||
"description": "Issue identifier when the source is part of a series that is published periodically", | |||
"aliases": [ | |||
"number" | |||
], | |||
"type": "line" | |||
}, | |||
"doi": { | |||
"label": "DOI", | |||
"description": "Digital Object Identifier; begins with '10.'", | |||
"type": "string" | |||
}, | |||
"doi-broken-date": { | |||
"label": "DOI broken date", | |||
"description": "The date that the DOI was determined to be broken", | |||
"aliases": [ | |||
"doi-inactive-date" | |||
], | |||
"type": "date" | |||
}, | |||
"others": { | |||
"label": "Others", | |||
"description": "Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith'", | |||
"type": "content" | |||
}, | |||
"year": { | |||
"label": "Year of publication", | |||
"description": "Year of the source being referenced; recommended only when date parameter format is YYYY-MM-DD and a CITEREF disambiguator is needed", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"orig-year": { | |||
"label": "Original year", | |||
"description": "Original year of publication; provide specifics", | |||
"type": "string" | |||
}, | |||
"editor-last": { | |||
"label": "Editor last name", | |||
"description": "The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-last', 'editor'", | |||
"aliases": [ | |||
"editor", | |||
"editor1-last", | |||
"editors" | |||
], | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"editor-first": { | |||
"label": "Editor first name", | |||
"description": "Given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-first'", | |||
"aliases": [ | |||
"editor1-first" | |||
], | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"editor-link": { | |||
"label": "Editor link", | |||
"description": "Title of existing LIMSwiki article about the editor; can suffix with a numeral to add additional editors; alias of 'editor1-link'", | |||
"aliases": [ | |||
"editorlink", | |||
"editor1-link" | |||
], | |||
"type": "wiki-page-name" | |||
}, | |||
"series": { | |||
"label": "Series", | |||
"description": "Series identifier when the source is part of a series, such as a book series or a journal; alias of 'version'", | |||
"type": "content", | |||
"aliases": [ | |||
"version" | |||
] | |||
}, | |||
"place": { | |||
"label": "Location of publication", | |||
"description": "Geographical place of publication; usually not wikilinked; omit when the publication name includes place; alias of 'place'", | |||
"aliases": [ | |||
"location" | |||
], | |||
"type": "string" | |||
}, | |||
"publication-place": { | |||
"label": "Place of publication", | |||
"description": "Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at'", | |||
"aliases": [ | |||
"place", | |||
"location" | |||
], | |||
"type": "content" | |||
}, | |||
"publication-date": { | |||
"label": "Publication date", | |||
"description": "Date of publication when different from the date the work was written; do not wikilink", | |||
"type": "date" | |||
}, | |||
"edition": { | |||
"label": "Edition", | |||
"description": "When the publication has more than one edition; for example: '2nd', 'Revised' etc.; suffixed with ' ed.'", | |||
"type": "line" | |||
}, | |||
"volume": { | |||
"label": "Volume", | |||
"description": "For one publication published in several volumes", | |||
"type": "line" | |||
}, | |||
"page": { | |||
"label": "Page", | |||
"description": "Page in the source that supports the content; displays after 'p.'", | |||
"type": "line" | |||
}, | |||
"pages": { | |||
"label": "Pages", | |||
"description": "Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.'", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"at": { | |||
"label": "At", | |||
"description": "May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"language": { | |||
"label": "Language", | |||
"description": "The language in which the source is written, if not English; use the full language name; do not use icons or templates", | |||
"type": "content" | |||
}, | |||
"trans-title": { | |||
"label": "Translated title", | |||
"description": "An English language title, if the source cited is in a foreign language; 'language' is recommended", | |||
"type": "content" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "Additional information about the media type of the source; format in sentence case", | |||
"type": "string", | |||
"aliases": [ | |||
"medium" | |||
] | |||
}, | |||
"format": { | |||
"label": "Format", | |||
"description": "Format of the work referred to by 'url' ('url' is required when using 'format'); examples: PDF, DOC, XLS; do not specify HTML", | |||
"type": "content" | |||
}, | |||
"arxiv": { | |||
"label": "arXiv identifier", | |||
"description": "An identifier for arXive electronic preprints of scientific papers", | |||
"type": "line" | |||
}, | |||
"asin": { | |||
"label": "ASIN", | |||
"description": "Amazon Standard Identification Number; 10 characters", | |||
"type": "line" | |||
}, | |||
"asin-tld": { | |||
"label": "ASIN TLD", | |||
"description": "ASIN top-level domain for Amazon sites other than the US", | |||
"type": "line" | |||
}, | |||
"bibcode": { | |||
"label": "Bibcode", | |||
"description": "Bibliographic Reference Code (REFCODE); 19 characters", | |||
"type": "line" | |||
}, | |||
"biorxiv": { | |||
"label": "biorXiv", | |||
"description": "biorXiv identifier; full doi", | |||
"type": "line" | |||
}, | |||
"citeseerx": { | |||
"label": "CiteSeerX", | |||
"description": "CiteSeerX identifier; found after the 'doi=' query parameter", | |||
"type": "line" | |||
}, | |||
"isbn": { | |||
"label": "ISBN", | |||
"description": "International Standard Book Number; use the 13-digit ISBN where possible", | |||
"type": "line" | |||
}, | |||
"issn": { | |||
"label": "ISSN", | |||
"description": "International Standard Serial Number (print); 8 characters; usually split into two groups of four using a hyphen", | |||
"type": "line" | |||
}, | |||
"jfm": { | |||
"label": "jfm code", | |||
"description": "Jahrbuch über die Fortschritte der Mathematik classification code", | |||
"type": "line" | |||
}, | |||
"jstor": { | |||
"label": "JSTOR", | |||
"description": "JSTOR identifier", | |||
"type": "line" | |||
}, | |||
"lccn": { | |||
"label": "LCCN", | |||
"description": "Library of Congress Control Number", | |||
"type": "line" | |||
}, | |||
"mr": { | |||
"label": "MR", | |||
"description": "Mathematical Reviews identifier", | |||
"type": "line" | |||
}, | |||
"oclc": { | |||
"label": "OCLC", | |||
"description": "Online Computer Library Center number", | |||
"type": "number" | |||
}, | |||
"ol": { | |||
"label": "OL", | |||
"description": "Open Library identifier", | |||
"type": "line" | |||
}, | |||
"osti": { | |||
"label": "OSTI", | |||
"description": "Office of Scientific and Technical Information identifier", | |||
"type": "line" | |||
}, | |||
"pmc": { | |||
"label": "PMC", | |||
"description": "PubMed Center article number", | |||
"type": "number" | |||
}, | |||
"pmid": { | |||
"label": "PMID", | |||
"description": "PubMed Unique Identifier", | |||
"type": "line" | |||
}, | |||
"rfc": { | |||
"label": "RFC", | |||
"description": "Request for Comments number", | |||
"type": "number" | |||
}, | |||
"ssrn": { | |||
"label": "SSRN", | |||
"description": "Social Science Research Network", | |||
"type": "line" | |||
}, | |||
"zbl": { | |||
"label": "Zbl", | |||
"description": "Zentralblatt MATH journal identifier", | |||
"type": "line" | |||
}, | |||
"id": { | |||
"label": "id", | |||
"description": "A unique identifier used where none of the specialized ones are applicable", | |||
"type": "line" | |||
}, | |||
"quote": { | |||
"label": "Quote", | |||
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation", | |||
"type": "content" | |||
}, | |||
"ref": { | |||
"label": "Ref", | |||
"description": "An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv and sfn templates", | |||
"type": "line" | |||
}, | |||
"postscript": { | |||
"label": "Postscript", | |||
"description": "The closing punctuation for the citation; ignored if 'quote' is defined; to suppress use reserved keyword 'none'", | |||
"type": "line", | |||
"default": "." | |||
}, | |||
"last3": { | |||
"label": "Last name 3", | |||
"description": "The surname of the third author; don't wikilink, use 'author-link3'.", | |||
"aliases": [ | |||
"author3" | |||
], | |||
"type": "line" | |||
}, | |||
"first3": { | |||
"label": "First name 3", | |||
"description": "Given or first name, middle names, or initials of the third author; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"last4": { | |||
"label": "Last name 4", | |||
"description": "The surname of the forth author; don't wikilink, use 'author-link4'.", | |||
"aliases": [ | |||
"author4" | |||
], | |||
"type": "line" | |||
}, | |||
"first4": { | |||
"label": "First name 4", | |||
"description": "Given or first name, middle names, or initials of the forth author; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"last5": { | |||
"label": "Last name 5", | |||
"description": "The surname of the fifth author; don't wikilink, use 'author-link5'.", | |||
"aliases": [ | |||
"author5" | |||
], | |||
"type": "line" | |||
}, | |||
"first5": { | |||
"label": "First name 5", | |||
"description": "Given or first name, middle names, or initials of the fifth author; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"last6": { | |||
"label": "Last name 6", | |||
"description": "The surname of the sixth author; don't wikilink, use 'author-link6'.", | |||
"aliases": [ | |||
"author6" | |||
], | |||
"type": "line" | |||
}, | |||
"first6": { | |||
"label": "First name 6", | |||
"description": "Given or first name, middle names, or initials of the sixth author; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"last7": { | |||
"label": "Last name 7", | |||
"description": "The surname of the seventh author; don't wikilink, use 'author-link7'.", | |||
"aliases": [ | |||
"author7" | |||
], | |||
"type": "line" | |||
}, | |||
"first7": { | |||
"label": "First name 7", | |||
"description": "Given or first name, middle names, or initials of the seventh author; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"last8": { | |||
"label": "Last name 8", | |||
"description": "The surname of the eighth author; don't wikilink, use 'author-link8'.", | |||
"aliases": [ | |||
"author8" | |||
], | |||
"type": "line" | |||
}, | |||
"first8": { | |||
"label": "First name 8", | |||
"description": "Given or first name, middle names, or initials of the eighth author; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"last9": { | |||
"label": "Last name 9", | |||
"description": "The surname of the ninth author; don't wikilink, use 'author-link9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author.", | |||
"aliases": [ | |||
"author9" | |||
], | |||
"type": "line" | |||
}, | |||
"first9": { | |||
"label": "First name 9", | |||
"description": "Given or first name, middle names, or initials of the ninth author; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"editor2-last": { | |||
"label": "Editor last name 2", | |||
"description": "The surname of the second editor; don't wikilink, use 'editor2-link'.", | |||
"aliases": [ | |||
"editor2" | |||
], | |||
"type": "line" | |||
}, | |||
"editor2-first": { | |||
"label": "Editor first name 2", | |||
"description": "Given or first name, middle names, or initials of the second editor; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"editor3-last": { | |||
"label": "Editor last name 3", | |||
"description": "The surname of the third editor; don't wikilink, use 'editor3-link'.", | |||
"aliases": [ | |||
"editor3" | |||
], | |||
"type": "line" | |||
}, | |||
"editor3-first": { | |||
"label": "Editor first name 3", | |||
"description": "Given or first name, middle names, or initials of the third editor; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"editor4-last": { | |||
"label": "Editor last name 4", | |||
"description": "The surname of the fourth editor; don't wikilink, use 'editor4-link'.", | |||
"aliases": [ | |||
"editor4" | |||
], | |||
"type": "line" | |||
}, | |||
"editor4-first": { | |||
"label": "Editor first name 4", | |||
"description": "Given or first name, middle names, or initials of the fourth editor; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"editor5-last": { | |||
"label": "Editor last name 5", | |||
"description": "The surname of the fifth editor; don't wikilink, use 'editor5-link'.", | |||
"aliases": [ | |||
"editor5" | |||
], | |||
"type": "line" | |||
}, | |||
"editor5-first": { | |||
"label": "Editor first name 5", | |||
"description": "Given or first name, middle names, or initials of the fifth editor; don't wikilink.", | |||
"type": "line" | |||
}, | |||
"author-mask": { | |||
"label": "Author mask", | |||
"description": "Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead", | |||
"type": "string" | |||
}, | |||
"author-link": { | |||
"label": "Author link", | |||
"description": "Title of existing LIMSwiki article about the author; can suffix with a numeral to add additional authors", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author-link1", | |||
"author1-link" | |||
] | |||
}, | |||
"author-link2": { | |||
"label": "Author link 2", | |||
"description": "Title of existing LIMSwiki article about the second author.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author2-link" | |||
] | |||
}, | |||
"accessdate": { | |||
"label": "URL access date", | |||
"description": "The full date when the original URL was accessed; do not wikilink", | |||
"type": "date" | |||
}, | |||
"archiveurl": { | |||
"label": "Archive URL", | |||
"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'", | |||
"type": "line" | |||
}, | |||
"archivedate": { | |||
"label": "Archive date", | |||
"description": "Date when the original URL was archived; do not wikilink", | |||
"type": "date" | |||
}, | |||
"laysummary": { | |||
"label": "Lay summary URL", | |||
"description": "URL link to a non-technical summary or review of the source", | |||
"type": "line", | |||
"aliases": [ | |||
] | |||
}, | |||
"laysource": { | |||
"label": "Lay source", | |||
"description": "Name of the source of the lay URL; displays in italics, preceded by an en dash", | |||
"type": "string", | |||
"aliases": [ | |||
] | |||
}, | |||
"laydate": { | |||
"label": "Lay date", | |||
"description": "Date of the summary; displays in parentheses", | |||
"type": "date", | |||
"aliases": [ | |||
] | |||
}, | |||
"author-link3": { | |||
"label": "Author link 3", | |||
"description": "Title of existing LIMSwiki article about the third author.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author3-link" | |||
] | |||
}, | |||
"author-link4": { | |||
"label": "Author link 4", | |||
"description": "Title of existing LIMSwiki article about the forth author.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author4-link" | |||
] | |||
}, | |||
"author-link5": { | |||
"label": "Author link 5", | |||
"description": "Title of existing LIMSwiki article about the fifth author.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author5-link" | |||
] | |||
}, | |||
"author-link6": { | |||
"label": "Author link 6", | |||
"description": "Title of existing LIMSwiki article about the sixth author.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author6-link" | |||
] | |||
}, | |||
"author-link7": { | |||
"label": "Author link 7", | |||
"description": "Title of existing LIMSwiki article about the seventh author.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author7-link" | |||
] | |||
}, | |||
"author-link8": { | |||
"label": "Author link 8", | |||
"description": "Title of existing LIMSwiki article about the eighth author.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author8-link" | |||
] | |||
}, | |||
"author-link9": { | |||
"label": "Author link 9", | |||
"description": "Title of existing LIMSwiki article about the ninth author.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"author9-link" | |||
] | |||
}, | |||
"editor2-link": { | |||
"label": "Editor link 2", | |||
"description": "Title of existing LIMSwiki article about the second editor.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"editor-link2" | |||
] | |||
}, | |||
"editor3-link": { | |||
"label": "Editor link 3", | |||
"description": "Title of existing LIMSwiki article about the third editor.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"editor-link3" | |||
] | |||
}, | |||
"editor4-link": { | |||
"label": "Editor link 4", | |||
"description": "Title of existing LIMSwiki article about the fourth editor.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"editor-link4" | |||
] | |||
}, | |||
"editor5-link": { | |||
"label": "Editor link 5", | |||
"description": "Title of existing LIMSwiki article about the fifth editor.", | |||
"type": "wiki-page-name", | |||
"aliases": [ | |||
"editor-link5" | |||
] | |||
}, | |||
"chapter": { | |||
"label": "Chapter", | |||
"description": "The chapter heading of the source", | |||
"aliases": [ | |||
"contribution", | |||
"section" | |||
], | |||
"type": "string" | |||
}, | |||
"chapter-url": { | |||
"label": "Chapter URL", | |||
"description": "The URL for the source chapter", | |||
"aliases": [ | |||
"contribution-url", | |||
"section-url" | |||
], | |||
"type": "line" | |||
}, | |||
"trans-chapter": { | |||
"label": "Translated chapter", | |||
"description": "An English language chapter heading, if the source cited is in a foreign language; 'language' is recommended", | |||
"type": "string", | |||
"aliases": [ | |||
] | |||
}, | |||
"display-authors": { | |||
"label": "Display authors", | |||
"description": "number of authors to display before 'et al.' is used;", | |||
"type": "number" | |||
}, | |||
"df": { | |||
"label": "Date format", | |||
"description": "Sets rendered dates to the specified format", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"last", | |||
"first", | |||
"author-link", | |||
"last2", | |||
"first2", | |||
"author-link2", | |||
"last3", | |||
"first3", | |||
"author-link3", | |||
"last4", | |||
"first4", | |||
"author-link4", | |||
"last5", | |||
"first5", | |||
"author-link5", | |||
"last6", | |||
"first6", | |||
"author-link6", | |||
"last7", | |||
"first7", | |||
"author-link7", | |||
"last8", | |||
"first8", | |||
"author-link8", | |||
"last9", | |||
"first9", | |||
"author-link9", | |||
"display-authors", | |||
"author-mask", | |||
"date", | |||
"year", | |||
"orig-year", | |||
"df", | |||
"editor-last", | |||
"editor-first", | |||
"editor-link", | |||
"editor2-last", | |||
"editor2-first", | |||
"editor2-link", | |||
"editor3-last", | |||
"editor3-first", | |||
"editor3-link", | |||
"editor4-last", | |||
"editor4-first", | |||
"editor4-link", | |||
"editor5-last", | |||
"editor5-first", | |||
"editor5-link", | |||
"others", | |||
"title", | |||
"trans-title", | |||
"trans-chapter", | |||
"url", | |||
"type", | |||
"format", | |||
"work", | |||
"chapter", | |||
"chapter-url", | |||
"series", | |||
"language", | |||
"edition", | |||
"place", | |||
"publisher", | |||
"publication-place", | |||
"publication-date", | |||
"volume", | |||
"issue", | |||
"page", | |||
"pages", | |||
"at", | |||
"arxiv", | |||
"asin", | |||
"asin-tld", | |||
"bibcode", | |||
"biorxiv", | |||
"citeseerx", | |||
"doi", | |||
"doi-broken-date", | |||
"isbn", | |||
"issn", | |||
"jfm", | |||
"jstor", | |||
"lccn", | |||
"mr", | |||
"oclc", | |||
"ol", | |||
"osti", | |||
"pmc", | |||
"pmid", | |||
"rfc", | |||
"ssrn", | |||
"zbl", | |||
"id", | |||
"archiveurl", | |||
"archivedate", | |||
"accessdate", | |||
"laysummary", | |||
"laysource", | |||
"laydate", | |||
"quote", | |||
"postscript", | |||
"ref" | |||
], | |||
"maps": { | |||
"citoid": { | |||
"title": "title", | |||
"caseName": "title", | |||
"nameOfAct": "title", | |||
"url": "url", | |||
"label": "publisher", | |||
"company": "publisher", | |||
"studio": "publisher", | |||
"network": "publisher", | |||
"distributor": "publisher", | |||
"publisher": "publisher", | |||
"publicationTitle": "work", | |||
"proceedingsTitle": "work", | |||
"encyclopediaTitle": "work", | |||
"dictionaryTitle": "work", | |||
"bookTitle": "work", | |||
"edition": "edition", | |||
"date": "date", | |||
"dateEnacted": "date", | |||
"dateDecided": "date", | |||
"accessDate": "accessdate", | |||
"place": "place", | |||
"ISSN": [ | |||
"issn" | |||
], | |||
"ISBN": [ | |||
"isbn" | |||
], | |||
"PMCID": "pmc", | |||
"PMID": "pmid", | |||
"pages": "pages", | |||
"firstPage": "pages", | |||
"codePages": "pages", | |||
"volume": "volume", | |||
"reporterVolume": "volume", | |||
"codeVolume": "volume", | |||
"seriesNumber": "volume", | |||
"series": "series", | |||
"programTitle": "series", | |||
"episodeNumber": "issue", | |||
"billNumber": "issue", | |||
"documentNumber": "issue", | |||
"publicLawNumber": "issue", | |||
"docketNumber": "issue", | |||
"issue": "issue", | |||
"issue": "issue", | |||
"type": "type", | |||
"genre": "type", | |||
"letterType": "type", | |||
"mapType": "type", | |||
"DOI": "doi", | |||
"oclc": "oclc", | |||
"language": "language", | |||
"contributor": "others", | |||
"podcaster": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"cartographer": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"interviewee": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"performer": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"programmer": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"sponsor": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"artist": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"director": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"author": [ | |||
[ | |||
"first", | |||
"last" | |||
], | |||
[ | |||
"first2", | |||
"last2" | |||
], | |||
[ | |||
"first3", | |||
"last3" | |||
], | |||
[ | |||
"first4", | |||
"last4" | |||
], | |||
[ | |||
"first5", | |||
"last5" | |||
], | |||
[ | |||
"first6", | |||
"last6" | |||
], | |||
[ | |||
"first7", | |||
"last7" | |||
], | |||
[ | |||
"first8", | |||
"last8" | |||
], | |||
[ | |||
"first9", | |||
"last9" | |||
] | |||
], | |||
"editor": [ | |||
[ | |||
"editor-first", | |||
"editor-last" | |||
], | |||
[ | |||
"editor2-first", | |||
"editor2-last" | |||
], | |||
[ | |||
"editor3-first", | |||
"editor3-last" | |||
], | |||
[ | |||
"editor4-first", | |||
"editor4-last" | |||
], | |||
[ | |||
"editor5-first", | |||
"editor5-last" | |||
] | |||
] | |||
} | |||
}, | |||
"format": "{{_ |_=_}}" | |||
} | |||
</templatedata> | |||
[[Category:Citation templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 18:28, 6 October 2021
The Citation template generates a citation for a book, periodical, contribution in a collective work, patent, or a web page. It determines the citation type by examining which parameters are used.
If invoked with the right parameters, this template produces output identical to that of the Cite templates, such as {{Cite book}} and {{Cite web}}. The default behavior sometimes differs from that of the Cite templates; for example, this template by default generates anchors for Harvard references whereas the Cite templates do not (although they can be made to do so), and this template by default uses commas to separate some fields that the Cite templates separate with periods (full stops).
The template should be inserted after punctuation, such as a period or comma.
All parameter names are lowercase.
Simple citation
The table below gives the most commonly used attributes; you can copy the horizontal form below or vertical form in the left hand column and then add in extra attributes from the full list. Spacing and ordering is irrelevant.
{{Citation|last= |first= |year= |title= |publisher= |publication-place= |page= |url= |accessdate= }}
{{Citation |last= |first= |year= |title= |publisher= | publication-place= |page= |url= | accessdate= }} |
|
Example
{{ Citation | last=Turner | first=O. | title=History of the Pioneer Settlement of Phelps and Gorham's Purchase, and Morris' Reserve | publisher=William Alling | place=Rochester, New York | year=1851 | url = http://olivercowdery.com/texts/1851Trn1.htm#turn1851 }} |
Turner, O., "History of the Pioneer Settlement of Phelps and Gorham's Purchase, and Morris' Reserve", {{{website{{{}}}}}} (Rochester, New York: William Alling), http://olivercowdery.com/texts/1851Trn1.htm#turn1851 |
Full citation parameters
These can be used for all types of publication except patents. All are optional and indentation is used simply to group related items—these may be mutually exclusive where indicated. Some hyphenated names can also be placed without hyphens.
{{Citation |author= | last= | first= | author2= | last2= | first2= | author-link= | author2-link= | author-separator= | author-name-separator= | author=mask= | display-authors= | coauthors= |editor= | editor-last= | editor-first= | editor2= | editor2-last= | editor2-first= | editor-link= | editor2-link= |others= |publication-date= | year= | month= | origyear= |title= |chapter= | chapter-url= | contribution= | contribution-url= |type= | journal= | periodical= | newspaper= | magazine= | work= |edition= | series= | volume= | issue= |publisher= | publication-place= | place= |language= |page= | pages= | nopp= | at= |id= | isbn= | issn= | oclc= | pmid= | pmc= | pmc-embargo-date: | bibcode= | doi= | doi-inactive= |url= | accessdate= | format= | archiveurl= | archivedate= |quote= |lay-summary= | lay-source= | lay-date= |separator= |postscript= |ref= }} |
|
Examples
Books
Three authors, a volume, and an edition. Ampersand (&) forced before final author's name. | {{ Citation | last1=Lincoln | first1=A. | last2=Washington | first2=G. | last3=Adams | first3=J. | lastauthoramp=yes | title=All the Presidents' Names | publisher=The Pentagon | place=Home Base, New York | volume=XII | edition=2nd | year=2007 }} |
Lincoln, A.; Washington, G.; Adams, J., "All the Presidents' Names", {{{website{{{}}}}}} (Home Base, New York: The Pentagon) XII |
Web
Web page | {{Citation |url=http://nrhp.focus.nps.gov |title=NPS Focus |work=National Register of Historic Places |publisher=[[National Park Service]] |accessdate=November 30, 2010 }} |
"NPS Focus", National Register of Historic Places (National Park Service), http://nrhp.focus.nps.gov. Retrieved November 30, 2010 |
archived page | {{citation |url=http://liftoff.msfc.nasa.gov/academy/space/atmosphere.html |title=Earth's Atmosphere |accessdate=October 25, 2007 |publisher=[[National Aeronautics and Space Administration]] |year=1995 |author=NASA |archiveurl = http://web.archive.org/web/20071013232332/ http://liftoff.msfc.nasa.gov/academy/space/atmosphere.html |archivedate = October 13, 2007 }} |
NASA, "Earth's Atmosphere", {{{website{{{}}}}}} (National Aeronautics and Space Administration), archived from the original on October 13, 2007, http://web.archive.org/web/20071013232332/http://liftoff.msfc.nasa.gov/academy/space/atmosphere.html. Retrieved October 25, 2007 |
Journals, newspapers, magazines, or other periodicals
Journal article | {{Citation | last=Hill | first=Marvin S. | title=Joseph Smith and the 1826 Trial: New Evidence and New Difficulties | journal=BYU Studies | volume=12 | issue=2 | year=1976 | pages=1–8 | url=https://byustudies.byu.edu/ shop/PDFSRC/12.2Hill.pdf }} |
Hill, Marvin S., "Joseph Smith and the 1826 Trial: New Evidence and New Difficulties", BYU Studies 12 (2): 1–8, https://byustudies.byu.edu/shop/PDFSRC/12.2Hill.pdf |
Journal article with multiple authors and identifier | {{citation |last1=Mandelkern |first1= M, |last2=Elias |first2= J, |last3=Eden |first3= D, |last4=Crothers |first4= D |display-authors=2 |title=The dimensions of DNA in solution |journal=J Mol Biol |volume=152 |issue=1 |pages=153–61 |year=1981 |pmid=7338906 |doi=10.1016/0022-2836(81)90099-1 }} |
Mandelkern, M,; Elias, J, et al.., "The dimensions of DNA in solution", J Mol Biol 152 (1): 153–61, doi:10.1016/0022-2836(81)90099-1, PMID 7338906
|
Newspaper article | {{Citation | last=Smith | first=Joseph III | author-link=Joseph Smith III | title=Last Testimony of Sister Emma | newspaper=The Saints' Herald | publication-place=Plano, IL | volume=26 | issue=19 | date=October 1, 1879 | year=1879 | month=October | page=289 | url=http://www.sidneyrigdon.com/ dbroadhu/IL/sain1872.htm#100179 }} |
Smith, Joseph III (1 October 1879), "Last Testimony of Sister Emma", {{{website{{{The Saints' Herald}}}}}} (Plano, IL) 26 (19): 289, http://www.sidneyrigdon.com/dbroadhu/IL/sain1872.htm#100179 |
Conference paper | {{citation | last = Sullivan | first = D.B. | contribution = Time and frequency measurement at NIST: The first 100 years | year = 2001 | title = 2001 IEEE Int'l Frequency Control Symp. | publisher = National Institute of Standards and Technology | url = http://tf.nist.gov/timefreq/general/pdf/1485.pdf | format = PDF }} |
Sullivan, D.B., Time and frequency measurement at NIST: The first 100 years, "2001 IEEE Int'l Frequency Control Symp." (PDF), {{{website{{{}}}}}} (National Institute of Standards and Technology), http://tf.nist.gov/timefreq/general/pdf/1485.pdf |
Parts of books, including encyclopedia articles
Manuscript published in an edited compilation | {{Citation | last=Bidamon | first=Emma Smith | author-link=Emma Hale Smith | chapter=Letter to Emma S. Pilgrim | date=March 27, 1876 | year=1876 | editor-last=Vogel | editor-first=Dan | title=Early Mormon Documents | volume=1 | publisher=Signature Books | publication-date=1996 | isbn=1–56085–072–8 }} |
Bidamon, Emma Smith (27 March 1876), Letter to Emma S. Pilgrim, in Vogel, Dan, "Early Mormon Documents", {{{website{{{}}}}}} (Signature Books) 1, 1996, ISBN 1–56085–072–8 |
Work with an editor but no author | {{Citation | editor-last=Vogel | editor-first=Dan | title=Early Mormon Documents | volume=1 | publisher=Signature Books | publication-date=1996 | isbn=1–56085–072–8 }} |
Vogel, Dan, ed., "Early Mormon Documents", {{{website{{{}}}}}} (Signature Books) 1 (published 1996), ISBN 1–56085–072–8 |
Encyclopedia article by a named author | {{Citation | last = Kramer | first = Martin | author-link = Martin Kramer | contribution = Bernard Lewis | editor-last = Boyd | editor-first = Kelley | title = Encyclopedia of Historians and Historical Writing | volume = 1 | pages = 719–720 | publisher = Fitzroy Dearborn | place = London | publication-date = 1999 | contribution-url = http:// www.geocities.com/martinkramerorg/ BernardLewis.htm }} |
Kramer, Martin, Bernard Lewis, in Boyd, Kelley, "Encyclopedia of Historians and Historical Writing", {{{website{{{}}}}}} (London: Fitzroy Dearborn) 1: pp. 719–720, 1999, http://www.geocities.com/martinkramerorg/BernardLewis.htm |
Encyclopedia article with no named author | {{Citation | contribution = Bernard Lewis | editor-last = Boyd | editor-first = Kelley | title = Encyclopedia of Historians and Historical Writing | volume = 1 | pages = 719–720 | publisher = Fitzroy Dearborn | place = London | year = 1999 | contribution-url = http:// www.geocities.com/martinkramerorg/ BernardLewis.htm }} |
Boyd, Kelley, ed., Bernard Lewis, "Encyclopedia of Historians and Historical Writing", {{{website{{{}}}}}} (London: Fitzroy Dearborn) 1: pp. 719–720, http://www.geocities.com/martinkramerorg/BernardLewis.htm |
Republications, or edited quotations in a periodical article
Manuscript edited and published in a journal | {{Citation | last=Knight | first=Joseph, Sr. | year=1833 | editor-last=Jessee | editor-first=Dean | title=Joseph Knight's Recollection of Early Mormon History | journal=BYU Studies | volume=17 | issue=1 | publication-date=1976 | pages=35 | url=https://byustudies.byu.edu/ shop/PDFSRC/17.1Jessee.pdf }} |
Knight, Joseph, Sr., Jessee, Dean, ed., "Joseph Knight's Recollection of Early Mormon History", BYU Studies 17 (1): 35, 1976, https://byustudies.byu.edu/shop/PDFSRC/17.1Jessee.pdf |
Manuscript written at one date and place, then published in a periodical at a different date and place with commentary by the editor. | {{Citation | last=Klingensmith | first=Philip | contribution=Affidavit | year=1872 | date=September 5, 1872 | place=Lincoln County, Nevada | title=Mountain Meadows Massacre | editor-last=Toohy | editor-first=Dennis J. | journal=Corinne Daily Reporter | publication-date=September 24, 1872 | publication-place=Corinne, Utah | volume=5 | issue=252 | pages=1 | contribution-url=http:// udn.lib.utah.edu/u?/corinne,5359 }} |
Klingensmith, Philip (5 September 1872), Affidavit, written at Lincoln County, Nevada, in Toohy, Dennis J., "Mountain Meadows Massacre", Corinne Daily Reporter (Corinne, Utah) 5 (252): 1, September 24, 1872, http://udn.lib.utah.edu/u?/corinne,5359 |
Press release
Press release with quotation | {{cite press release | url=http://www.apple.com/pr/library/2010/04/05ipad.html | title=Apple Sells Over 300,000 iPads First Day | publisher=Apple Inc| accessdate=April 10, 2010 | quote=in the US as of midnight Saturday, April 3}} |
Apple Inc. "Apple Sells Over 300,000 iPads First Day". Press release. http://www.apple.com/pr/library/2010/04/05ipad.html. Retrieved April 10, 2010. "in the US as of midnight Saturday, April 3" |
Citing patents
Parameters (all are optional)
{{Citation | inventor-last = | inventor-first = | inventorlink = | inventor2-last = | inventor2-first = | inventorlink2 = | publication-date = | issue-date = | title = | country-code = | description = | patent-number = }} |
|
Examples
United States patent with multiple inventors | {{Citation | inventor1-last = Degermark | inventor1-first = Mikael | inventor2-last = Brodnik | inventor2-first = Andrej | inventor3-last = Carlsson | inventor3-first = Svante | inventor4-last = Pink | inventor4-first = Stephen | title = Fast routing lookup system using complete prefix tree, bit vector, and pointers in a routing table for determining where to route IP datagrams | issue-date = 2001 | patent-number = 6266706 | country-code = US}} |
US 6266706, Degermark, Mikael; Andrej Brodnik & Svante Carlsson et al., "Fast routing lookup system using complete prefix tree, bit vector, and pointers in a routing table for determining where to route IP datagrams", issued 2001 |
Anchored citations
This template can generate a citation that can be combined with shortened footnotes or parenthetical referencing. It does this by creating an HTML anchor containing an ID. The special parameter |ref=harv
generates an ID suitable for Harvard referencing templates such as {{harv}} as specified in the next section; this is the default for the {{citation}} template. If an empty |ref=
is given, no anchor is generated; this is the default for the Cite templates such as {{cite book}} and {{cite news}}. You can also specify the ID directly, using the |ref=ID
parameter. For example, suppose an article's References section contains the markup:
{{Citation |author=Sigmund Freud |title=Civilization and Its Discontents |year=1930 |ref=CivDis}}
which generates the citation:
- Sigmund Freud, "Civilization and Its Discontents", {{{website{{{}}}}}}
Then, the markup "([[#CivDis|Freud 1930]])
" generates a parenthetical reference "(Freud 1930)" containing a wikilink to the citation (try clicking on the wikilink).
Anchors for Harvard referencing templates
IDs compatible with Harvard referencing templates such as {{harv}} are computed from the last names of the authors and the year of the cited source. For example, the markup "{{harv|Wright|Evans|1851|p=ix}}
" generates the Harvard reference "(Wright & Evans 1851, p. ix)", which wikilinks to the citation whose markup and appearance are shown below:
{{Citation |last1=Wright |first1=Thomas |last2=Evans |first2=R.H. |title=Historical and Descriptive Account of the Caricatures of James Gillray |location=London |publisher=Henry G. Bohn |year=1851 |oclc=59510372 }}
- Wright, Thomas; Evans, R.H., "Historical and Descriptive Account of the Caricatures of James Gillray", {{{website{{{}}}}}} (London: Henry G. Bohn), OCLC 59510372
In this example the {{citation}} template defines, and the {{harv}} template uses, the HTML ID "CITEREFWrightEvans1851
", composed by concatenating the string "CITEREF
" with the last names of the authors and the year. The {{harvid}} template can be used to generate such IDs, for example, {{harvid|Wright|Evans|1851}}
generates "CITEREFWrightEvans1851
".
Related methods which leave only a number in the text are to use the {{harvnb}} template enclosed in the <ref></ref> html code, or to use the {{sfn}} template alone. The example above would be <ref>{{harvnb|Wright|Evans|1851|p=ix}}</ref>
or {{sfn|Wright|Evans|1851|p=ix}}
both of which generate a footnote such as
- 17. Wright & Evans 1851, p. ix
The names of only the first four authors are used; other author names are not concatenated to the ID. If no author names are given, editor names are used instead. For patents, inventor names are used instead of authors or editors. If these names are not given, this template does not generate an anchor.
Last names are used, as specified by the parameters |last1=
(or |last=
), |last2=
, |last3=
, and |last4=
, and similarly for |editor1-last=
etc. and for |inventor1-last=
etc. If a full name is given but no last name is specified, this template falls back on the full name, but this usage is not recommended. For example, in "{{Citation |author=Sigmund Freud |title=The Ego and the Id |year=1923}}
" no last name is given, so this citation cannot be combined with the Harvard reference "{{harv|Freud|1923}}
". To make these {{citation}} and {{harv}} invocations compatible, either replace "|author=Sigmund Freud
" with "|first=Sigmund
|last=Freud
", or add "|ref={{harvid|Freud|1923}}
" to the {{citation}} invocation, or add the same ref parameter (say, "|ref=EgoId
") to both the {{citation}} and the {{harv}} invocations.
Similarly, the year is used, as specified by |year=
. If no year is given, this template attempts to derive the year from |date=
(or, if no date is given, from |publication-date=
) by applying the MediaWiki #time function. This heuristic works with many common date formats (American, International and YYYY-MM-DD as listed in WP:MOS) but may not work as expected with other formats, so when in doubt it may be safer to use |year=
. Note that if only a year, say 2005, is known you must use |year=2005
rather than |date=2005
.
IDs must be unique
Names, years, and hand-specified IDs must be chosen so that the IDs are unique within a page; otherwise the HTML will not conform to the W3C standards, and any references to the citations will not work reliably. For example, suppose a page contains the following two citations with {{harv}}-compatible IDs:
- Montes, G; Halterman, JS, "Association of childhood autism spectrum disorders and loss of family income", Pediatrics 121 (4): e821–6, doi:10.1542/peds.2007-1594, PMID 18381511, http://pediatrics.aappublications.org/cgi/content/full/121/4/e821
- Montes, G; Halterman, JS, "Child care problems and employment among families with preschool-aged children with autism in the United States", Pediatrics 122 (1): e202–8, doi:10.1542/peds.2007-3037, PMID 18595965, http://pediatrics.aappublications.org/cgi/content/full/122/1/e202
If these citations were altered to say "2008" rather than "2008a" and "2008b", the resulting page would not work, because the two different citations would both attempt to use the ID "CITEREFMontesHalterman2008
". To avoid this problem, distinguish the citations by appending suffixes to the years, e.g., "|year=2008a
" and "|year=2008b
", as was done above. Any Harvard references to these citations should use years with the same suffixes.
It is good practice to verify that a page does not contain duplicate IDs by using the W3C Markup Validation Service; see External links.
Dates
- ↑ 1.0 1.1 1.2 1.3 1.4
- The format of dates in the references of an article should use a consistent and unambiguous style. Example formats used in Wikipedia citations include:
- 2009
- 2009-09-14
- 14 September 2009
- September 14, 2009 (with comma)
- 2009 Sep 14
- September 2009
- Sept./Oct. 2009
- As indicated above, month names are sometimes abbreviated (e.g., September to "Sept" or "Sept." or "Sep" or "Sep.")
- Dates should not be linked in references.
- Please see Wikipedia:Manual of Style (dates and numbers)#Dates for more guidance about formatting dates.
Tools
See Wikipedia:Citing sources#Citation templates and tools for a list of tools which can help create a reference in the 'citation' format.
COinS
This template produces COinS metadata; see COinS in Wikipedia for background information.
Additional parameters
author-mask – This parameter is primarily intended for use in bibliographies where multiple works by a single author are listed. It replaces the name of the first author (which must still be provided to garner metadata) with a strike-thru dash (—) author-mask em in length. So if |author-mask=1
then the dash will be one em in length, if |author-mask=2
it will be two em long and so on. Set author-mask to a text value to display a word instead – for example, 'with'. You must still include |last=
and |first=
for metadata purposes.
ar:قالب:استشهاد
da:Skabelon:Citation
et:Mall:Viide
eo:Ŝablono:Cito
es:Plantilla:Obra citada
eu:Txantiloi:Erreferentzia
gu:ઢાંચો:Citation
ko:틀:인용
ja:Template:Citation
no:mal:Citation
ro:Format:Citation
ru:Шаблон:Citation
sl:Predloga:Citat
sr:Шаблон:Citation
sv:Mall:Citation
th:แม่แบบ:Citation
tr:Şablon:Citation
zh:Template:Citation
The above documentation is transcluded from Template:Citation/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
The Citation template generates a citation for a book, periodical, contribution in a collective work, or a web page. It determines the citation type by examining which parameters are used.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Last name | last author author1 authors last1 | The surname of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors | Line | suggested |
First name | first first1 | Given or first name, middle names, or initials of the author; don't wikilink, use 'author-link'; can suffix with a numeral to add additional authors | Line | suggested |
Author link | author-link author-link1 author1-link | Title of existing LIMSwiki article about the author; can suffix with a numeral to add additional authors | Page name | optional |
Last name 2 | last2 author2 | The surname of the second author; don't wikilink, use 'author-link2'. | Line | optional |
First name 2 | first2 | Given or first name, middle names, or initials of the second author; don't wikilink. | Line | optional |
Author link 2 | author-link2 author2-link | Title of existing LIMSwiki article about the second author. | Page name | optional |
Last name 3 | last3 author3 | The surname of the third author; don't wikilink, use 'author-link3'. | Line | optional |
First name 3 | first3 | Given or first name, middle names, or initials of the third author; don't wikilink. | Line | optional |
Author link 3 | author-link3 author3-link | Title of existing LIMSwiki article about the third author. | Page name | optional |
Last name 4 | last4 author4 | The surname of the forth author; don't wikilink, use 'author-link4'. | Line | optional |
First name 4 | first4 | Given or first name, middle names, or initials of the forth author; don't wikilink. | Line | optional |
Author link 4 | author-link4 author4-link | Title of existing LIMSwiki article about the forth author. | Page name | optional |
Last name 5 | last5 author5 | The surname of the fifth author; don't wikilink, use 'author-link5'. | Line | optional |
First name 5 | first5 | Given or first name, middle names, or initials of the fifth author; don't wikilink. | Line | optional |
Author link 5 | author-link5 author5-link | Title of existing LIMSwiki article about the fifth author. | Page name | optional |
Last name 6 | last6 author6 | The surname of the sixth author; don't wikilink, use 'author-link6'. | Line | optional |
First name 6 | first6 | Given or first name, middle names, or initials of the sixth author; don't wikilink. | Line | optional |
Author link 6 | author-link6 author6-link | Title of existing LIMSwiki article about the sixth author. | Page name | optional |
Last name 7 | last7 author7 | The surname of the seventh author; don't wikilink, use 'author-link7'. | Line | optional |
First name 7 | first7 | Given or first name, middle names, or initials of the seventh author; don't wikilink. | Line | optional |
Author link 7 | author-link7 author7-link | Title of existing LIMSwiki article about the seventh author. | Page name | optional |
Last name 8 | last8 author8 | The surname of the eighth author; don't wikilink, use 'author-link8'. | Line | optional |
First name 8 | first8 | Given or first name, middle names, or initials of the eighth author; don't wikilink. | Line | optional |
Author link 8 | author-link8 author8-link | Title of existing LIMSwiki article about the eighth author. | Page name | optional |
Last name 9 | last9 author9 | The surname of the ninth author; don't wikilink, use 'author-link9'. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author. | Line | optional |
First name 9 | first9 | Given or first name, middle names, or initials of the ninth author; don't wikilink. | Line | optional |
Author link 9 | author-link9 author9-link | Title of existing LIMSwiki article about the ninth author. | Page name | optional |
Display authors | display-authors | number of authors to display before 'et al.' is used; | Number | optional |
Author mask | author-mask | Replaces the name of the first author with em dashes or text; set to a numeric value 'n' to set the dash 'n' em spaces wide; set to a text value to display the text without a trailing author separator; for example, 'with' instead | String | optional |
Source date | date | Date of the source; do not wikilink. As listed in the publication | Date | suggested |
Year of publication | year | Year of the source being referenced; recommended only when date parameter format is YYYY-MM-DD and a CITEREF disambiguator is needed | Number | suggested |
Original year | orig-year | Original year of publication; provide specifics | String | optional |
Date format | df | Sets rendered dates to the specified format | String | optional |
Editor last name | editor-last editor editor1-last editors | The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-last', 'editor' | Line | suggested |
Editor first name | editor-first editor1-first | Given or first name, middle names, or initials of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors; alias of 'editor1-first' | Line | suggested |
Editor link | editor-link editorlink editor1-link | Title of existing LIMSwiki article about the editor; can suffix with a numeral to add additional editors; alias of 'editor1-link' | Page name | optional |
Editor last name 2 | editor2-last editor2 | The surname of the second editor; don't wikilink, use 'editor2-link'. | Line | optional |
Editor first name 2 | editor2-first | Given or first name, middle names, or initials of the second editor; don't wikilink. | Line | optional |
Editor link 2 | editor2-link editor-link2 | Title of existing LIMSwiki article about the second editor. | Page name | optional |
Editor last name 3 | editor3-last editor3 | The surname of the third editor; don't wikilink, use 'editor3-link'. | Line | optional |
Editor first name 3 | editor3-first | Given or first name, middle names, or initials of the third editor; don't wikilink. | Line | optional |
Editor link 3 | editor3-link editor-link3 | Title of existing LIMSwiki article about the third editor. | Page name | optional |
Editor last name 4 | editor4-last editor4 | The surname of the fourth editor; don't wikilink, use 'editor4-link'. | Line | optional |
Editor first name 4 | editor4-first | Given or first name, middle names, or initials of the fourth editor; don't wikilink. | Line | optional |
Editor link 4 | editor4-link editor-link4 | Title of existing LIMSwiki article about the fourth editor. | Page name | optional |
Editor last name 5 | editor5-last editor5 | The surname of the fifth editor; don't wikilink, use 'editor5-link'. | Line | optional |
Editor first name 5 | editor5-first | Given or first name, middle names, or initials of the fifth editor; don't wikilink. | Line | optional |
Editor link 5 | editor5-link editor-link5 | Title of existing LIMSwiki article about the fifth editor. | Page name | optional |
Others | others | Used to record other contributions to the work, such as 'Illustrated by John Smith' or 'Translated by John Smith' | Content | optional |
Title of source | title | Title of source. Works display in italics and articles surrounded in quotation marks. | Content | required |
Translated title | trans-title | An English language title, if the source cited is in a foreign language; 'language' is recommended | Content | optional |
Translated chapter | trans-chapter | An English language chapter heading, if the source cited is in a foreign language; 'language' is recommended | String | optional |
URL | url URL | The URL of the online location where the text of the publication can be found. Requires schemes of the type "http://..." or maybe even the protocol relative scheme "//..."
| Line | suggested |
Type | type medium | Additional information about the media type of the source; format in sentence case | String | optional |
Format | format | Format of the work referred to by 'url' ('url' is required when using 'format'); examples: PDF, DOC, XLS; do not specify HTML | Content | optional |
Work | work journal website newspaper magazine encyclopedia dictionary periodical | Name of the work in which the cited title is found | String | suggested |
Chapter | chapter contribution section | The chapter heading of the source | String | optional |
Chapter URL | chapter-url contribution-url section-url | The URL for the source chapter | Line | optional |
Series | series version | Series identifier when the source is part of a series, such as a book series or a journal; alias of 'version' | Content | optional |
Language | language | The language in which the source is written, if not English; use the full language name; do not use icons or templates | Content | optional |
Edition | edition | When the publication has more than one edition; for example: '2nd', 'Revised' etc.; suffixed with ' ed.' | Line | optional |
Location of publication | place location | Geographical place of publication; usually not wikilinked; omit when the publication name includes place; alias of 'place' | String | optional |
Publisher | publisher | Name of the publisher; displays after title
| Content | suggested |
Place of publication | publication-place place location | Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at' | Content | optional |
Publication date | publication-date | Date of publication when different from the date the work was written; do not wikilink | Date | optional |
Volume | volume | For one publication published in several volumes | Line | optional |
Issue | issue number | Issue identifier when the source is part of a series that is published periodically | Line | optional |
Page | page | Page in the source that supports the content; displays after 'p.' | Line | optional |
Pages | pages | Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.' | Line | suggested |
At | at | May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient | Line | suggested |
arXiv identifier | arxiv | An identifier for arXive electronic preprints of scientific papers | Line | optional |
ASIN | asin | Amazon Standard Identification Number; 10 characters | Line | optional |
ASIN TLD | asin-tld | ASIN top-level domain for Amazon sites other than the US | Line | optional |
Bibcode | bibcode | Bibliographic Reference Code (REFCODE); 19 characters | Line | optional |
biorXiv | biorxiv | biorXiv identifier; full doi | Line | optional |
CiteSeerX | citeseerx | CiteSeerX identifier; found after the 'doi=' query parameter | Line | optional |
DOI | doi | Digital Object Identifier; begins with '10.' | String | optional |
DOI broken date | doi-broken-date doi-inactive-date | The date that the DOI was determined to be broken | Date | optional |
ISBN | isbn | International Standard Book Number; use the 13-digit ISBN where possible | Line | optional |
ISSN | issn | International Standard Serial Number (print); 8 characters; usually split into two groups of four using a hyphen | Line | optional |
jfm code | jfm | Jahrbuch über die Fortschritte der Mathematik classification code | Line | optional |
JSTOR | jstor | JSTOR identifier | Line | optional |
LCCN | lccn | Library of Congress Control Number | Line | optional |
MR | mr | Mathematical Reviews identifier | Line | optional |
OCLC | oclc | Online Computer Library Center number | Number | optional |
OL | ol | Open Library identifier | Line | optional |
OSTI | osti | Office of Scientific and Technical Information identifier | Line | optional |
PMC | pmc | PubMed Center article number | Number | optional |
PMID | pmid | PubMed Unique Identifier | Line | optional |
RFC | rfc | Request for Comments number | Number | optional |
SSRN | ssrn | Social Science Research Network | Line | optional |
Zbl | zbl | Zentralblatt MATH journal identifier | Line | optional |
id | id | A unique identifier used where none of the specialized ones are applicable | Line | optional |
Archive URL | archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date' | Line | optional |
Archive date | archivedate | Date when the original URL was archived; do not wikilink | Date | optional |
URL access date | accessdate | The full date when the original URL was accessed; do not wikilink | Date | optional |
Lay summary URL | laysummary | URL link to a non-technical summary or review of the source | Line | optional |
Lay source | laysource | Name of the source of the lay URL; displays in italics, preceded by an en dash | String | optional |
Lay date | laydate | Date of the summary; displays in parentheses | Date | optional |
Quote | quote | Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation | Content | optional |
Postscript | postscript | The closing punctuation for the citation; ignored if 'quote' is defined; to suppress use reserved keyword 'none'
| Line | optional |
Ref | ref | An anchor identifier; can be made the target of wikilinks to full references; special value 'harv' generates an anchor suitable for the harv and sfn templates | Line | optional |