Template:Citation: Difference between revisions
[checked revision] | [checked revision] |
(creating from wikipedia) |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ | ||
#if: {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor|}}}}}}}}}}}}}}} | #if: {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor|{{{invent1|{{{invent-1|{{{country-code|{{{3|}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
<!-- | <!-- | ||
CITATIONS FOR PATENTS | CITATIONS FOR PATENTS | ||
--> | --> | ||
|{{Citation/patent | |{{Citation/patent | ||
|Surname1 = {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor}}}}}}}}}}}}}}} | |Surname1 = {{{inventor-surname|{{{inventor1-surname|{{{inventor-last|{{{inventor1-last|{{{inventor|{{{invent-1|{{{invent1|}}}}}}}}}}}}}}}}}}}}} | ||
|Surname2={{{inventor2-surname|{{{inventor2-last|{{{inventor2|}}}}}}}}} | |Surname2={{{inventor2-surname|{{{inventor2-last|{{{inventor2|{{{invent2|}}}}}}}}}}}} | ||
|Surname3={{{inventor3-surname|{{{inventor3-last|{{{inventor3|}}}}}}}}} | |Surname3={{{inventor3-surname|{{{inventor3-last|{{{inventor3|{{{invent3|}}}}}}}}}}}} | ||
|Surname4={{{inventor4-surname|{{{inventor4-last|{{{inventor4|}}}}}}}}} | |Surname4={{{inventor4-surname|{{{inventor4-last|{{{inventor4|{{{invent4|}}}}}}}}}}}} | ||
|Given1 = {{{inventor-given|{{{inventor1-given|{{{inventor-first|{{{inventor1-first|}}}}}}}}}}}} | |Given1 = {{{inventor-given|{{{inventor1-given|{{{inventor-first|{{{inventor1-first|}}}}}}}}}}}} | ||
|Given2={{{inventor2-given|{{{inventor2-first|}}}}}} | |Given2={{{inventor2-given|{{{inventor2-first|}}}}}} | ||
Line 18: | Line 18: | ||
|Inventorlink4={{{inventorlink4|}}} | |Inventorlink4={{{inventorlink4|}}} | ||
|Title={{{title|}}} | |Title={{{title|}}} | ||
|CountryCode={{{country-code}}} | |CountryCode={{{country-code|{{{country|{{{1|}}}}}}}}} | ||
|PublicationNumber={{{publication-number|{{{patent-number}}}}}} | |PublicationNumber={{{publication-number|{{{patent-number|{{{number|{{{2|}}}}}}}}}}}} | ||
|Description={{{description|}}} | |Description={{{description|{{{status|{{{3|}}}}}}}}} | ||
|PublicationDate={{{publication-date|}}} | |PublicationDate={{{publication-date|{{{pubdate|}}}}}} | ||
|IssueDate={{{issue-date|}}} | |IssueDate={{{issue-date|{{{gdate|}}}}}} | ||
|Year={{{year}}} | |Year={{{year}}} | ||
}} | |FilingDate={{{fdate|}}} | ||
|PriorityDate={{{pridate|}}} | |||
<!-- | |Assignee1={{{assign1|}}} | ||
|Assignee2={{{assign2|}}} | |||
|Ref={{{ref|harv}}} | |||
|Sep = {{#ifeq:{{{separator|{{{seperator}}}}}}|;|;|{{{separator|{{{seperator|,}}}}}}}} | |||
|PS = {{#if:{{{quote|}}}||{{{postscript|}}}|.}} | |||
|AuthorSep = {{#ifeq:{{{author-separator|}}}|;|;|{{{author-separator|;}}}}}  | |||
}}<!-- | |||
CITATIONS FOR THINGS LIKE BOOKS AND PERIODICALS | CITATIONS FOR THINGS LIKE BOOKS AND PERIODICALS | ||
--> | --> | ||
|{{Citation/core | |{{Citation/core | ||
|AuthorMask = {{{author-mask|{{{authormask|}}}}}} | |||
|Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|}}}}}}}}}}}}}}}}}}}}} | |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|}}}}}}}}}}}}}}}}}}}}} | ||
|Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}} | |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}} | ||
|Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}} | |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}} | ||
|Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}} | |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}} | ||
|Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}} | |||
|Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}} | |||
|Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}} | |||
|Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}} | |||
|Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}} | |||
|Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}} | |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}} | ||
|Given2 = {{{first2|{{{given2|}}}}}} | |Given2 = {{{first2|{{{given2|}}}}}} | ||
|Given3 = {{{first3|{{{given3|}}}}}} | |Given3 = {{{first3|{{{given3|}}}}}} | ||
|Given4 = {{{first4|{{{given4|}}}}}} | |Given4 = {{{first4|{{{given4|}}}}}} | ||
|Given5 = {{{first5|{{{given5|}}}}}} | |||
|Given6 = {{{first6|{{{given6|}}}}}} | |||
|Given7 = {{{first7|{{{given7|}}}}}} | |||
|Given8 = {{{first8|{{{given8|}}}}}} | |||
|Given9 = {{{first9|{{{given9|}}}}}} | |||
|Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}} | |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}} | ||
|Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}} | |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}} | ||
|Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}} | |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}} | ||
|Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}} | |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}} | ||
|Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}} | |||
|Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}} | |||
|Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}} | |||
|Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}} | |||
|Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}} | |||
|Coauthors = {{{coauthor|{{{coauthors|}}}}}} | |||
|Year={{{year|{{ <!-- attempt to derive year from date, if possible --> | |Year={{{year|{{ <!-- attempt to derive year from date, if possible --> | ||
#if: {{{date|}}} | #if: {{{date|}}} | ||
|{{ | |{{ | ||
# | #iferror:{{#time:Y|{{{date|}}} }} | ||
| | |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}} | ||
|{{#time:Y|{{{date|}}}}} | |{{#time:Y|{{{date|}}} }} | ||
}} | }} | ||
|{{{publication-date|}}} <!-- last resort --> | |{{{publication-date|}}} <!-- last resort --> | ||
}} | }} | ||
}}} | }}} | ||
|Date = {{{date|{{{year|{{{publication-date| | |YearNote = {{{origyear|}}} | ||
|Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}} | |||
|Title={{{title|}}} | |Title={{{title|}}} | ||
|URL={{{url|}}} | |TransTitle={{{trans_chapter|}}} | ||
|Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}} | |TransItalic={{{trans_title|}}} | ||
|TitleType={{{type|}}} | |||
|URL={{#if:{{{archiveurl|}}} | |||
| {{#ifeq: {{{deadurl|}}} | no | {{{url|}}} | {{{archiveurl|}}} }} | |||
| {{{url|}}} | |||
}} | |||
|Series={{{series|{{{version|}}}}}} | |||
|Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}} | |||
|Volume = {{{volume|}}} | |Volume = {{{volume|}}} | ||
|Issue = {{{issue|{{{number|}}}}}} | |Issue = {{{issue|{{{number|}}}}}} | ||
| | |At = {{ | ||
#if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}} | |||
|{{{pages|{{{page|{{{at|}}}}}}}}} | |||
|{{ | |||
#if: {{{page|}}} | |||
|{{#if:{{{nopp|}}}||p. }}{{{page}}} | |||
|{{ | |||
#if: {{{pages|}}} | |||
|{{#if:{{{nopp|}}}||pp. }}{{{pages}}} | |||
|{{{at|}}} | |||
}} | |||
}} | |||
}} | |||
|IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}} | |IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}} | ||
|IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}} | |IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}} | ||
|Other = {{{others|}}} | |||
|Edition = {{{edition|}}} | |Edition = {{{edition|}}} | ||
|Place = {{{place|{{{location|}}}}}} | |Place = {{{place|{{{location|}}}}}} | ||
|PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}} | |||
|Publisher = {{{publisher|}}} | |Publisher = {{{publisher|}}} | ||
|PublicationDate = {{{publication-date|}}} | |PublicationDate = {{{publication-date|}}} | ||
|EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}} | |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}} | ||
|EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}} | |EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}} | ||
|EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}} | |EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}} | ||
|EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}} | |EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}} | ||
|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|}}}}}} | ||
Line 77: | Line 122: | ||
|Editorlink3={{{editor3-link|}}} | |Editorlink3={{{editor3-link|}}} | ||
|Editorlink4={{{editor4-link|}}} | |Editorlink4={{{editor4-link|}}} | ||
|language = {{{language|{{{in|}}}}}} | |||
|format = {{{format|}}} | |||
|ARXIV={{{arxiv|}}} | |||
|ASIN={{{asin|{{{ASIN|}}}}}} | |||
|ASIN-TLD={{{asin-tld|}}} | |||
|BIBCODE={{{bibcode|}}} | |||
|DOI={{{doi|{{{DOI|}}}}}} | |||
|DoiBroken={{{doi_inactivedate|{{{doi_brokendate|}}}}}} | |||
|ISBN={{{isbn|{{{ISBN|}}}}}} | |||
|ISSN={{{issn|{{{ISSN|}}}}}} | |||
|JFM={{{jfm|{{{JFM|}}}}}} | |||
|JSTOR={{{jstor|{{{JSTOR|}}}}}} | |||
|LCCN={{{lccn|{{{LCCN|}}}}}} | |||
|MR={{{mr|{{{MR|}}}}}} | |||
|OCLC={{{oclc|{{{OCLC|}}}}}} | |||
|OL={{{ol|{{{OL|}}}}}} | |||
|OSTI={{{osti|{{{OSTI|}}}}}} | |||
|PMC={{{pmc|{{{PMC|}}}}}} | |||
|PMID={{{pmid|{{{PMID|}}}}}} | |||
|RFC={{{rfc|{{{RFC|}}}}}} | |||
|SSRN={{{ssrn|{{{SSRN|}}}}}} | |||
|ZBL={{{zbl|}}} | |||
|ID={{{id|{{{ID|}}}}}} | |ID={{{id|{{{ID|}}}}}} | ||
|AccessDate={{{access-date|{{{accessdate|}}}}}} | |AccessDate={{{access-date|{{{accessdate|}}}}}} | ||
| | |laysummary = {{{laysummary|}}} | ||
|laysource = {{{laysource|}}} | |||
|laydate = {{{laydate|}}} | |||
|quote = {{{quote|}}} | |||
|Ref={{{ref|harv}}} | |||
|Sep = {{#ifeq:{{{separator|{{{seperator}}}}}}|;|;|{{{separator|{{{seperator|,}}}}}}}} | |||
|PS = {{#if:{{{quote|}}}||{{{postscript|}}}}} | |||
|AuthorSep = {{#ifeq:{{{author-separator|}}}|;|;|{{{author-separator|;}}}}}  | |||
|NameSep = {{{author-name-separator|,}}}  | |||
|amp = {{{lastauthoramp|}}} | |||
|Trunc = {{#if:{{{display-authors|}}}|{{{display-authors}}}|8}} | |||
|ArchiveURL= {{{archiveurl|}}} | |||
|DeadURL = {{{deadurl|}}} | |||
|OriginalURL = {{{url|}}}|ArchiveDate= {{{archivedate|}}} | |||
}}}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}<noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
Latest revision as of 20:10, 11 December 2020
The Citation template is a versatile template for citing books, periodicals, contributions in collective works, patents, and web-sites. Its goal is to be an all-purpose citation template. It also has functionality to aid the use of the Harvard referencing style. The template allows author-date ("Harvard") citations in the main body of text to link to a full citation (generated by this template) in a "References" section at the end of the article via the Template:Harvard citation template. This template creates an HTML anchor to which the Harvard citation and related templates can link.
The template knows whether you are citing a book, periodical, or a chapter in a compilation, depending on which combination of parameters you use. For use with author-date systems such as the Harvard citation template, use of last and date parameters should be considered mandatory, where possible.
Citing books
Parameters (all are optional)
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | year = | date = | title = | place = | publisher = | edition = | volume = | id = | isbn = | url = }} |
|
Examples
One author | {{ 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, Rochester, New York: William Alling, 1851, http://olivercowdery.com/texts/1851Trn1.htm#turn1851. |
Three authors, a volume, and an edition | {{ Citation | last1=Lincoln | first1=A. | last2=Washington | first2=G. | last3=Adams | first3=J. | 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, XII (2nd ed.), Home Base, New York: The Pentagon, 2007. |
Citing journals, newspapers, magazines, or other periodicals
Parameters
{{Citation | last= | first= | author-link= | year= | title= | periodical= | volume= | issue= | pages= | url= }}. |
|
Examples
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, 1976, https://byustudies.byu.edu/shop/PDFSRC/12.2Hill.pdf. |
Newspaper article | {{Citation | last=Smith | first=Joseph III | author-link=Joseph Smith III | title=Last Testimony of Sister Emma | newspaper=The Saints' Herald | 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, "Last Testimony of Sister Emma", The Saints' Herald 26 (19): 289, October 1, 1879, http://www.sidneyrigdon.com/dbroadhu/IL/sain1872.htm#100179. |
Citing edited books, or parts of edited books, including encyclopedias and encyclopedia articles
Parameters
{{Citation | last= | first= | author-link= | last2= | first2= | author2-link | date= | year= | contribution= | contribution-url= | editor-last= | editor-first= | editor-link= | editor2-last= | editor2-first= | editor2-link= | title= | edition= | place= | publisher= | publication-date= | volume= | pages= | id= | url= }}. |
|
Examples
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-surname=Vogel | editor-first=Dan | title=Early Mormon Documents | volume=1 | publisher=Signature Books | publication-date=1996 | isbn=1-56085-072-8 }}. |
Bidamon, Emma Smith, "Letter to Emma S. Pilgrim", In Vogel, Dan, Early Mormon Documents, 1, Signature Books, 1996, ISBN 1-56085-072-8, March 27 1876. |
Work with an editor but no author | {{Citation | editor-surname=Vogel | editor-first=Dan | title=Early Mormon Documents | volume=1 | publisher=Signature Books | publication-date=1996 | isbn=1-56085-072-8 }}. |
Vogel, Dan, ed, (1996), Early Mormon Documents, 1, Signature Books, ISBN 1-56085-072-8, 1996. |
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, 1, London: Fitzroy Dearborn, 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, (1999), "Bernard Lewis", Encyclopedia of Historians and Historical Writing, 1, London: Fitzroy Dearborn, pp. 719–720, 1999, http://www.geocities.com/martinkramerorg/BernardLewis.htm. |
Citing contributions, republications, or edited quotations in a periodical article
Parameters
{{Citation | last= | first= | author-link= | last2= | first2= | author2-link | date= | year= | contribution= | contribution-url= | editor-last= | editor-first= | editor-link= | editor2-last= | editor2-first= | editor2-link= | title= | periodical= | volume= | issue= | pages= | id= | url= }}. |
|
Examples
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, 1833, https://byustudies.byu.edu/shop/PDFSRC/17.1Jessee.pdf. |
Tools
See Wikipedia:Citing sources#Tools for a list of tools which can help create a reference in the 'citation' format.