Template:Citation: Difference between revisions
per TfD; |
English |
||
Line 1: | Line 1: | ||
< | {{Citation/core | ||
| | |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}} | ||
}}< | |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}} | ||
{{ | |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}} | ||
</noinclude> | |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|}}}}}}}}}}}} | |||
|Given2 = {{{first2|{{{given2|}}}}}} | |||
|Given3 = {{{first3|{{{given3|}}}}}} | |||
|Given4 = {{{first4|{{{given4|}}}}}} | |||
|Given5 = {{{first5|{{{given5|}}}}}} | |||
|Given6 = {{{first6|{{{given6|}}}}}} | |||
|Given7 = {{{first7|{{{given7|}}}}}} | |||
|Given8 = {{{first8|{{{given8|}}}}}} | |||
|Given9 = {{{first9|{{{given9|}}}}}} | |||
|Authorlink1 = {{{author-link|{{{author1-link|{{{author-link1|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}}}} | |||
|Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}} | |||
|Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}} | |||
|Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}} | |||
|Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}} | |||
|Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}} | |||
|Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}} | |||
|Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}} | |||
|Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}} | |||
|Year={{{year|{{ <!-- attempt to derive year from date, if possible --> | |||
#if: {{{date|}}} | |||
|{{ | |||
#iferror:{{#time:Y|{{{date|}}} }} | |||
|{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}} | |||
|{{#time:Y|{{{date|}}} }} | |||
}} | |||
|{{{publication-date|}}} <!-- last resort --> | |||
}} | |||
}}} | |||
|YearNote = {{{origyear|}}} | |||
|Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}} | |||
|DateFormat={{{dateformat|}}} | |||
|Title={{{title|}}} | |||
|URL={{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}} | |||
|Series={{{series|{{{version|}}}}}} | |||
|Periodical = {{{journal|{{{periodical|{{{newspaper|{{{magazine|{{{work|}}}}}}}}}}}}}}} | |||
|Volume = {{{volume|}}} | |||
|Issue = {{{issue|{{{number|}}}}}} | |||
|At = {{ | |||
#if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}} | |||
|{{{pages|{{{page|{{{at|}}}}}}}}} | |||
|{{ | |||
#if: {{{page|}}} | |||
|{{#if:{{{nopp|}}}||s. }}{{{page}}} | |||
|{{ | |||
#if: {{{pages|}}} | |||
|{{#if:{{{nopp|}}}||s. }}{{{pages}}} | |||
|{{{at|}}} | |||
}} | |||
}} | |||
}} | |||
|IncludedWorkTitle = {{{chapter|{{{contribution|}}}}}} | |||
|IncludedWorkURL = {{{chapter-url|{{{chapterurl|{{{contribution-url|}}}}}}}}} | |||
|Other = {{{others|}}} | |||
|Edition = {{{edition|}}} | |||
|Place = {{{place|{{{location|}}}}}} | |||
|PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}} | |||
|Publisher = {{{publisher|}}} | |||
|PublicationDate = {{{publication-date|}}} | |||
|EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}} | |||
|EditorSurname2 = {{{editor2-last|{{{editor2-surname|}}}}}} | |||
|EditorSurname3 = {{{editor3-last|{{{editor3-surname|}}}}}} | |||
|EditorSurname4 = {{{editor4-last|{{{editor4-surname|}}}}}} | |||
|EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}} | |||
|EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}} | |||
|EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}} | |||
|EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}} | |||
|Editorlink1={{{editor-link|{{{editor1-link|}}}}}} | |||
|Editorlink2={{{editor2-link|}}} | |||
|Editorlink3={{{editor3-link|}}} | |||
|Editorlink4={{{editor4-link|}}} | |||
|language = {{{language|{{{in|}}}}}} | |||
|format = {{{format|}}} | |||
|ID={{{id|{{{ID|}}}}}} | |||
|ISBN={{{isbn|{{{ISBN|}}}}}} | |||
|ISSN={{{issn|{{{ISSN|}}}}}} | |||
|OCLC={{{oclc|{{{OCLC|}}}}}} | |||
|PMID={{{pmid|{{{PMID|}}}}}} | |||
|PMC={{{pmc|{{{PMC|}}}}}} | |||
|Bibcode={{{bibcode|}}} | |||
|DOI={{{doi|{{{DOI|}}}}}} | |||
|DoiBroken={{{doi_brokendate|}}} | |||
|AccessDate={{{access-date|{{{accessdate|}}}}}} | |||
|laysummary = {{{laysummary|}}} | |||
|quote = {{{quote|}}} | |||
|laydate = {{{laydate|}}} | |||
|Ref={{{ref|}}} | |||
|Sep = {{#ifeq:{{{separator|{{{seperator}}}}}}|;|;|{{{separator|{{{seperator|,}}}}}}}} | |||
|PS = {{#if:{{{quote|}}}||{{{postscript|}}}}} | |||
|amp = {{{lastauthoramp|}}} | |||
|Archive = {{#if:{{{archiveurl|}}}|archived from {{#if:{{{url|}}}|[{{{url|}}} sourceaddress]|sourceaddress}} {{#if:{{{archivedate|}}}| on {{{archivedate}}}|. You must specify the date the page was archived through the parameter {{para|archivedate}}.{{#if: {{NAMESPACE}}|| }}}} | |||
}} | |||
}}<noinclude>{{documentation}}</noinclude> |
Revision as of 09:00, 4 February 2025
Usage
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, linked by #CITEREF followed by up to 4 author/editor last names and the date, 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 compulsory, where possible.
Citing books
Parameters (all are optional)
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | publication-date = | date = | year = | title = | edition = | volume = | series = | publication-place = | place = | publisher = | pages = | page = | id = | isbn = | doi = | oclc = | url = | accessdate = }} |
|
Citing journals, newspapers, magazines, or other periodicals
Parameters
{{Citation | last = | first = | author-link = | publication-date = | date = | year = | title = | periodical = | series = | publication-place = | place = | publisher = | volume = | issue = | pages = | url = | issn = | pmid= | pmc= | doi = | oclc = | accessdate = }} |
|
Citing edited books, or parts of edited books, including encyclopedias and encyclopedia articles
Parameters
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | year = | date = | publication-date = | contribution = | contribution-url = | editor-last = | editor-first = | editor-link = | editor2-last = | editor2-first = | editor2-link = | title = | edition = | series = | place = | publication-place = | publisher = | volume = | pages = | id = | isbn = | doi = | oclc = | url = }} |
|
Citing contributions, republications, or edited quotations in a periodical article
Parameters
{{Citation | last = | first = | author-link = | last2 = | first2 = | author2-link = | year = | date = | publication-date = | contribution = | contribution-url = | editor-last = | editor-first = | editor-link = | editor2-last = | editor2-first = | editor2-link = | title = | periodical = | series = | volume = | issue = | pages = | place = | publication-place = | publisher = | id = | issn = | doi = | oclc = | url = }} |
|
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 = }} |
|
Dates
The date and publication-date parameters should use one of the following formats
- date=February 14, 1990 (comma required)
- date=14 February 1990
- date=February 1990
- date=1990
For the accessdate parameter unlinked ISO 8601 format 2008-10-25 is preferred.
Tools
See Wikipedia:Citing sources#Tools for a list of tools which can help create a reference in the 'citation' format.