Template:Citation/doc: Difference between revisions

From Good Old TV Fan Wiki
m (1 revision imported)
 
No edit summary
 
Line 2: Line 2:
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{for2|the{{nbsp}} {{fake citation needed}} template|{{tl|citation needed}}}}
{{for2|the{{nbsp}} {{fake citation needed}} template|{{tl|citation needed}}}}
{{#ifeq: {{PAGENAME}}|{{ROOTPAGENAME}}|{{High-risk|152000+}}}}
{{#ifeq: {{PAGENAME}}|{{ROOTPAGENAME}}|{{Cascade-protected template}}}}
{{#ifeq: {{PAGENAME}}|{{ROOTPAGENAME}}|{{High-risk|189000+}}}}
{{csdoc|lua|lua=yes}}
{{csdoc|lua|lua=yes}}
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. As with other citation templates, this template can be used either in a footnote (between {{tag|ref}} tags) or in a section that lists sources. This template uses the same [[WP:Lua|Lua]] code as [[help:Citation Style 1|citation style 1 (CS1)]] templates with parameters to change the displayed format to [[help:Citation Style 2|citation style 2 (CS2)]].
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. As with other citation templates, this template can be used either in a footnote (between {{tag|ref}} tags) or in a section that lists sources. This template uses the same [[WP:Lua|Lua]] code as [[help:Citation Style 1|citation style 1 (CS1)]] templates with parameters to change the displayed format to [[help:Citation Style 2|citation style 2 (CS2)]].


If the correct parameters are used, this template produces output identical to that of the Cite templates, such as {{Tl|Cite book}} and {{Tl|Cite web}}, with one important exception: By default, this Citation template uses commas in places where the Cite templates use periods (full stops) by default; either type of template can use periods (full stops) or commas by using an optional parameter. Also, this template by default generates anchors for [[Harvard reference]]s whereas the Cite templates by default do not (although they can be made to do so).  
If the correct parameters are used, this template produces output identical to that of the Cite templates, such as {{Tl|Cite book}} and {{Tl|Cite web}}, with one important exception: By default, this Citation template uses commas in places where the Cite templates use periods (full stops) by default; either type of template can use periods (full stops) or commas by using an optional parameter.


Regardless of which citation templates are used or even if none are used at all, all citations should have the same format throughout an article in the saved, rendered text.
Regardless of which citation templates are used or even if none are used at all, all citations should have the same format throughout an article in the saved, rendered text.


Note: All parameter names must be [[lowercase]].
Notes:  
* All parameter names must be [[lowercase]].
* Invisible unicode space characters (see [[Help:CS1 errors#invisible_char|list]]) will return an error message. Non-intentional invisible characters should be removed; intentional ones should replaced with their corresponding HTML entity (e.g. <code>&amp;ZeroWidthSpace;</code>).


==Simple citations==
==Simple citations==
This section covers the most commonly used parameters. You can copy the horizontal form or vertical form below and then add in extra parameters from the full list. Spacing and ordering of the parameters within the template is irrelevant and does not affect the final, rendered text.
This section covers the most commonly used parameters. You can copy the horizontal form or vertical form below and then add in extra parameters from the full list. Spacing and ordering of the parameters within the template is irrelevant and does not affect the final, rendered text.


<code><nowiki>{{Citation |last= |first= |year= |title= |publisher= |publication-place= |page= |url= |accessdate= }}</nowiki></code>
<code><nowiki>{{Citation |last= |first= |year= |title= |publisher= |publication-place= |page= |url= |access-date=}}</nowiki></code>


{| class="wikitable"
{| class="wikitable"
|-
|-
| <pre>{{Citation
| <pre>{{Citation
| last       =
| last       =
| first     =
| first       =
| year       =
| year       =
| title     =
| title       =
| publisher =
| publisher   =
| publication-place =
| publication-place =
| page       =
| page       =
| url       =
| url         =
| accessdate =
| access-date =
}}</pre>
}}</pre>
|}
|}
Line 39: Line 42:
* '''page''': For use when one page is cited. Adds "p." before the page number. Do not use with '''pages'''.
* '''page''': For use when one page is cited. Adds "p." before the page number. Do not use with '''pages'''.
* '''url''': A [[Uniform resource locator|url]] of an online location where the item can be found. If the url includes double quotes, these must be encoded as "%22".
* '''url''': A [[Uniform resource locator|url]] of an online location where the item can be found. If the url includes double quotes, these must be encoded as "%22".
** '''accessdate''': Date<ref group = "n" name = "dates" /> when the url was accessed.
** '''access-date''': Date<ref group="n" name="dates" /> when the url was accessed.


===Example===
===Example===
Line 67: Line 70:


==Full citation parameters==
==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&nbsp;— these may be mutually exclusive where indicated. Some hyphenated names can also be placed without hyphens.
{{notice|This section needs to be edited. It includes deprecated parameters and does not include parameters that were added in the updates.}}
These can be used for all types of publication. All are optional and indentation is used simply to group related items&nbsp;— these may be mutually exclusive where indicated. Some hyphenated names can also be placed without hyphens.


{| class="wikitable"
{| class="wikitable"
Line 92: Line 96:
| editor-link  =
| editor-link  =
| editor2-link  =
| editor2-link  =
| translator-last =
| translator-last   =
| translator-first =
| translator-first =
| translator-link =  
| translator-link   =  
| translator2-last =
| translator2-last =
| translator2-first =
| translator2-first =
| translator2-link =
| translator2-link =
| others  =
| others  =
| publication-date =
| publication-date =
Line 114: Line 118:
| newspaper  =
| newspaper  =
| magazine  =
| magazine  =
| encyclopedia =
| work =
| work =
| edition =
| edition =
Line 125: Line 130:
| page  =
| page  =
| pages =
| pages =
| nopp =
| no-pp =
| at  =
| at  =
| id  =
| id  =
Line 135: Line 140:
| bibcode =
| bibcode =
| doi =
| doi =
| doi_inactivedate =
| doi-inactive-date=
| zbl =
| zbl =
| url =
| url =
| accessdate =
| access-date =
| format     =
| format       =
| archiveurl =
| archive-url =
| archivedate =
| archive-date =
| dead-url    =
| url-status  =
| quote      =
| quote      =
| layurl =
| lay-url    =
| laysource  =
| lay-source =
| laydate    =
| lay-date  =
| separator  =
| separator  =
| postscript =
| postscript =
Line 162: Line 167:
===COinS===
===COinS===
{{csdoc|coins|lua=yes}}
{{csdoc|coins|lua=yes}}
===What's new===
{{csdoc|whats new}}


===Deprecated===
===Deprecated===
Line 168: Line 176:
===Description===
===Description===
====Authors====
====Authors====
{{csdoc|author|lua=yes||contributor=yes|coauthors=yes|others=yes}}
{{csdoc|author|lua=yes||contributor=yes|others=yes}}


====Editors====
====Editors====
Line 182: Line 190:
{{csdoc|date|lua=yes}}
{{csdoc|date|lua=yes}}


====Periodical====
====Work====
{{csdoc|journal|lua=yes}}
{{csdoc|journal|lua=yes}}


Line 203: Line 211:


====Anchor====
====Anchor====
{{csdoc|ref2|lua=yes}}
{{csdoc|ref|lua=yes}}


====Identifiers====
====Identifiers====
Line 233: Line 241:
| last3  = Adams
| last3  = Adams
| first3 = J.
| first3 = J.
| lastauthoramp = yes
| name-list-style = amp
| title    = All the Presidents' Names
| title    = All the Presidents' Names
| publisher = The Pentagon
| publisher = The Pentagon
Line 249: Line 257:
| last3  = Adams
| last3  = Adams
| first3 = J.
| first3 = J.
| lastauthoramp = yes
| name-list-style = amp
| title  = All the Presidents' Names
| title  = All the Presidents' Names
| publisher = The Pentagon
| publisher = The Pentagon
Line 268: Line 276:
| work  = National Register of Historic Places
| work  = National Register of Historic Places
| publisher  = [[National Park Service]]
| publisher  = [[National Park Service]]
| accessdate = November 30, 2010
| access-date = November 30, 2010
| ref = none
| ref = none
}}
}}
Line 277: Line 285:
| work  = National Register of Historic Places
| work  = National Register of Historic Places
| publisher  = [[National Park Service]]
| publisher  = [[National Park Service]]
| accessdate = November 30, 2010
| access-date = November 30, 2010
| ref = none
| ref = none
}}
}}
Line 285: Line 293:
| url = http://liftoff.msfc.nasa.gov/academy/space/atmosphere.html
| url = http://liftoff.msfc.nasa.gov/academy/space/atmosphere.html
| title = Earth's Atmosphere
| title = Earth's Atmosphere
| accessdate = October 25, 2007
| access-date = October 25, 2007
| publisher  = [[National Aeronautics and Space Administration]]
| publisher  = [[National Aeronautics and Space Administration]]
| year  = 1995
| year  = 1995
| author = NASA
| author = NASA
| archiveurl = http://web.archive.org/web/20071013232332/http://
| archive-url = https://web.archive.org/web/20071013232332/http://
liftoff.msfc.nasa.gov/academy/space/atmosphere.html
liftoff.msfc.nasa.gov/academy/space/atmosphere.html
| archivedate = October 13, 2007
| archive-date = October 13, 2007
}}
}}
</pre>
</pre>
| {{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 = https://web.archive.org/web/20071013232332/http://liftoff.msfc.nasa.gov/academy/space/atmosphere.html | archivedate = October 13, 2007}}
| {{Citation | url = http://liftoff.msfc.nasa.gov/academy/space/atmosphere.html | title = Earth's Atmosphere | access-date = October 25, 2007 | publisher = [[National Aeronautics and Space Administration]] | year = 1995 | author = NASA | archive-url = https://web.archive.org/web/20071013232332/http://liftoff.msfc.nasa.gov/academy/space/atmosphere.html | archive-date = October 13, 2007}}
|}
|}


Line 330: Line 338:
| <pre>{{Citation
| <pre>{{Citation
| last1  = Mandelkern
| last1  = Mandelkern
| first1 = M,
| first1 = M
| last2  = Elias
| last2  = Elias
| first2 = J,
| first2 = J
| last3  = Eden
| last3  = Eden
| first3 = D,
| first3 = D
| last4  = Crothers
| last4  = Crothers
| first4 = D
| first4 = D
Line 341: Line 349:
| journal = J Mol Biol
| journal = J Mol Biol
| volume  = 152
| volume  = 152
| issue   = 1
| issue = 1
| pages   = 153–161
| pages = 153–161
| year   = 1981
| year = 1981
| pmid   = 7338906
| pmid = 7338906
| doi     = 10.1016/0022-2836(81)90099-1
| doi   = 10.1016/0022-2836(81)90099-1
}}
}}
</pre>
</pre>
| {{Citation
| {{Citation
| last1  = Mandelkern
| last1  = Mandelkern
| first1 = M,
| first1 = M
| last2  = Elias
| last2  = Elias
| first2 = J,
| first2 = J
| last3  = Eden
| last3  = Eden
| first3 = D,
| first3 = D
| last4  = Crothers
| last4  = Crothers
| first4 = D
| first4 = D
Line 375: Line 383:
| title = Last Testimony of Sister Emma
| title = Last Testimony of Sister Emma
| newspaper = The Saints' Herald
| newspaper = The Saints' Herald
| publication-place = Plano, IL
| location = Plano, IL
| volume = 26
| volume = 26
| issue  = 19
| issue  = 19
| date  = October 1, 1879
| date  = October 1, 1879
| page  = 289
| page  = 289
| url    = http://www.sidneyrigdon.com/dbroadhu/
| url    = http://www.sidneyrigdon.com/dbroadhu/
Line 391: Line 398:
| title = Last Testimony of Sister Emma
| title = Last Testimony of Sister Emma
| newspaper = The Saints' Herald
| newspaper = The Saints' Herald
| publication-place = Plano, IL
| location = Plano, IL
| volume = 26
| volume = 26
| issue  = 19
| issue  = 19
| date  = October 1, 1879
| date  = October 1, 1879
| page  = 289
| page  = 289
| url    = http://www.sidneyrigdon.com/dbroadhu/IL/sain1872.htm#100179
| url    = http://www.sidneyrigdon.com/dbroadhu/IL/sain1872.htm#100179
}}
}}
|}
|}
===Conference papers and public lectures===
===Conference papers and public lectures===
{| class="wikitable"
{| class="wikitable"
Line 413: Line 420:
| publisher = National Institute of Standards and Technology
| publisher = National Institute of Standards and Technology
| contribution-url = http://tf.nist.gov/timefreq/general/pdf/1485.pdf
| contribution-url = http://tf.nist.gov/timefreq/general/pdf/1485.pdf
| chapter-format = PDF
}}
}}
</pre>
</pre>
Line 424: Line 430:
| publisher = National Institute of Standards and Technology
| publisher = National Institute of Standards and Technology
| contribution-url = http://tf.nist.gov/timefreq/general/pdf/1485.pdf
| contribution-url = http://tf.nist.gov/timefreq/general/pdf/1485.pdf
| chapter-format = PDF}}
}}
|-
|-
| Lecture
| Lecture
Line 489: Line 495:
| volume = 1
| volume = 1
| publisher = Signature Books
| publisher = Signature Books
| publication-date = 1996
| date = 1996
| isbn = 1-56085-072-8
| isbn = 1-56085-072-8
}}
}}
Line 499: Line 505:
| volume = 1
| volume = 1
| publisher = Signature Books
| publisher = Signature Books
| publication-date = 1996
| date = 1996
| isbn = 1-56085-072-8
| isbn = 1-56085-072-8
}}
}}
Line 642: Line 648:
| Press release with quotation
| Press release with quotation
| <pre>{{Citation
| <pre>{{Citation
| url = http://www.apple.com/pr/library/2010/04/05ipad.html
| url = https://www.apple.com/pr/library/2010/04/05ipad.html
| title = Apple Sells Over 300,000 iPads First Day
| title = Apple Sells Over 300,000 iPads First Day
| publisher = Apple Inc
| publisher = Apple Inc
| accessdate = April 10, 2010
| access-date = April 10, 2010
| quote = in the US as of midnight Saturday, April 3
| quote = in the US as of midnight Saturday, April 3
| ref = none}}
| ref = none}}
</pre>
</pre>
| {{Citation
| {{Citation
| url = http://www.apple.com/pr/library/2010/04/05ipad.html
| url = https://www.apple.com/pr/library/2010/04/05ipad.html
| title = Apple Sells Over 300,000 iPads First Day
| title = Apple Sells Over 300,000 iPads First Day
| publisher = Apple Inc
| publisher = Apple Inc
| accessdate = April 10, 2010
| access-date = April 10, 2010
| quote = in the US as of midnight Saturday, April 3
| quote = in the US as of midnight Saturday, April 3
| ref = none}}
| ref = none}}
|}
==Citing patents==
===Parameters (all are optional)===
{| class="wikitable"
|-
| <pre>{{Citation
| inventor-last =
| inventor-first =
| inventorlink =
| inventor2-last =
| inventor2-first =
| inventorlink2 =
| publication-date =
| issue-date =
| title =
| country-code =
| description =
| patent-number =
| ref =
}}</pre>
|
* '''inventor-last''' (or '''inventor1-last'''): The inventor's surname or last name.
* '''inventor-first''' (or '''inventor1-first'''): The inventor's first or given name(s).
* '''inventorlink''' (or '''inventorlink1'''): Title of an existing Wikipedia article about the first inventor.
* '''inventor2-last''', '''inventor3-last''', '''inventor4-last''': The second, third, and fourth authors' surname or last name, if applicable.
* '''inventor2-first''', '''inventor3-first''', '''inventor4-first''': The second, third, and fourth inventors' first or given name(s), if applicable.
* '''inventorlink2''', '''inventorlink3''', '''inventorlink4''': Title of an existing Wikipedia article about the second, third, and fourth inventor, if applicable.
* '''publication-date''': Date of publication or filing.
* '''issue-date''' (or '''date'''): Date patent was issued by patent agency.
* '''title''': Title of the patent. If the title includes [square brackets], these must be encoded as "<code>&amp;#91;</code>" for "[" and "<code>&amp;#93;</code>" for "]"
* '''country-code''': [[ISO 3166-1 alpha-2|Two-letter abbreviation]] of the country issuing the patent.
* '''description''': Type of patent; shown between country code and number.
* '''patent-number''': The number of the patent.
* '''ref''': Anchor id.
|}
===Examples===
{| class="wikitable"
| United States patent with multiple inventors
| <pre>{{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}}
</pre>
| {{Citation
| inventor1-first = Mikael | inventor1-last = Degermark
| inventor2-first = Andrej | inventor2-last = Brodnik
| inventor3-first = Svante | inventor3-last = Carlsson
| inventor4-first = Stephen | inventor4-last = Pink
| 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}}
|}
|}


==Anchored citations==
==Anchored citations==
This template can generate a citation that can be combined with [[WP:CITESHORT|shortened footnotes]] or [[Wikipedia:Parenthetical referencing|parenthetical referencing]]. It does this by creating an [[HTML element#Anchor|HTML anchor]] containing an ID. The special parameter {{para|ref|harv}} generates an ID suitable for [[Harvard referencing]] templates such as {{tl|harv}} as specified in the next section; this is the default for the {{tl|citation}} template.  
This template can generate a citation that can be combined with [[WP:CITESHORT|shortened footnotes]] or [[Wikipedia:Parenthetical referencing|parenthetical referencing]]. It does this by creating an [[HTML element#Anchor|HTML anchor]] containing an ID. The special parameter {{para|ref}} generates an anchor ID suitable for [[Harvard referencing]] templates such as {{tl|harv}} as specified in the next section; an anchor ID is generated by default.  


To disable anchor generation, specify {{para|ref|none}} (in contrast, other Cite templates such as {{tl|cite book}} and {{tl|cite news}} do not create an anchor by default). You can also specify the ID directly, using the {{para|ref|<var>ID</var>}} parameter. For example, suppose an article's ''References'' section contains the markup:
To disable anchor generation, specify {{para|ref|none}}. You can also specify the ID directly, using the {{para|ref|<var>ID</var>}} parameter. For example, suppose an article's ''References'' section contains the markup:
* <code><nowiki>{{Citation |author=Sigmund Freud |title=Civilization and Its Discontents |year=1930 |ref=CivDis}}</nowiki></code>
* <code><nowiki>{{Citation |author=Sigmund Freud |title=Civilization and Its Discontents |date=1930 |ref=CivDis}}</nowiki></code>
which generates the citation:
which generates the citation:
* {{Citation |author=Sigmund Freud |title=Civilization and Its Discontents |year=1930 |ref=CivDis}}
* {{Citation |author=Sigmund Freud |title=Civilization and Its Discontents |date=1930 |ref=CivDis}}
Then, the markup "<code><nowiki>([[#CivDis|Freud 1930]])</nowiki></code>" generates a parenthetical reference "([[#CivDis|Freud 1930]])" containing a wikilink to the citation (try clicking on the wikilink).
Then, the markup "<code><nowiki>([[#CivDis|Freud 1930]])</nowiki></code>" generates a parenthetical reference "([[#CivDis|Freud 1930]])" containing a wikilink to the citation (try clicking on the wikilink).


===Anchors for Harvard referencing templates===
===Anchors for Harvard referencing templates===
IDs compatible with Harvard referencing templates such as {{tl|harv}} are computed from the last names of the authors and the year of the cited source. For example, the markup "<code><nowiki>{{harv|Wright|Evans|1851|p=ix}}</nowiki></code>" generates the Harvard reference "{{harv|Wright|Evans|1851|p=ix}}", which wikilinks to the citation whose markup and appearance are shown below:
IDs compatible with Harvard referencing templates such as {{tl|harv}} are computed from the last names of the authors (or editors, if no authors are given) and the year of the cited source. For example, the markup "<code><nowiki>{{harv|Wright|Evans|1851|p=ix}}</nowiki></code>" generates the Harvard reference "{{harv|Wright|Evans|1851|p=ix}}", which wikilinks to the citation whose markup and appearance are shown below:
* <code><nowiki>{{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}}</nowiki></code>
* <code><nowiki>{{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 |date=1851 |oclc=59510372}}</nowiki></code>
* {{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}}
* {{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 |date=1851 |oclc=59510372}}
In this example the {{tl|citation}} template defines, and the {{tl|harv}} template uses, the HTML ID "<code>CITEREFWrightEvans1851</code>", composed by concatenating the string "<code>CITEREF</code>" with the last names of the authors and the year. The {{tl|harvid}} template can be used to generate such IDs, for example, <code><nowiki>{{harvid|Wright|Evans|1851}}</nowiki></code> generates "<code>{{harvid|Wright|Evans|1851}}</code>".
In this example the {{tl|citation}} template defines, and the {{tl|harv}} template uses, the HTML ID "<code>CITEREFWrightEvans1851</code>", composed by concatenating the string "<code>CITEREF</code>" with the last names of the authors and the year. The {{tl|harvid}} template can be used to generate such IDs, for example, <code><nowiki>{{harvid|Wright|Evans|1851}}</nowiki></code> generates "<code>{{harvid|Wright|Evans|1851}}</code>".


Line 742: Line 682:
:17. {{harvnb|Wright|Evans|1851|p=ix}}
:17. {{harvnb|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 [[#Citing patents|patents]], inventor names are used instead of authors or editors. If these names are not given, this template does not generate an anchor.
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.


Last names are used, as specified by the parameters {{para|last1}} (or {{para|last}}), {{para|last2}}, {{para|last3}}, and {{para|last4}}, and similarly for {{para|editor1-last}} etc. and for {{para|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 "<code><nowiki>{{Citation | author = Sigmund Freud | title = The Ego and the Id | year = 1923}}</nowiki></code>" no last name is given, so this citation cannot be combined with the Harvard reference "<code><nowiki>{{harv|Freud|1923}}</nowiki></code>". To make these {{tl|citation}} and {{tl|harv}} invocations compatible, either replace "{{para|author|Sigmund Freud}}" with "{{para|first|Sigmund}} {{para|last|Freud}}", or add "{{para|ref|<nowiki>{{harvid|Freud|1923}}</nowiki>}}" to the {{tl|citation}} invocation, or add the same ref parameter (say, "{{para|ref|EgoId}}") to both the {{tl|citation}} and the {{tl|harv}} invocations.
Last names are used, as specified by the parameters {{para|last1}} (or {{para|last}}), {{para|last2}}, {{para|last3}}, and {{para|last4}}, and similarly for {{para|editor1-last}} etc. and for {{para|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 "<code><nowiki>{{Citation |author=Sigmund Freud |title=The Ego and the Id |date=1923}}</nowiki></code>" no last name is given, so this citation cannot be combined with the Harvard reference "<code><nowiki>{{harv|Freud|1923}}</nowiki></code>". To make these {{tl|citation}} and {{tl|harv}} invocations compatible, either replace "{{para|author|Sigmund Freud}}" with "{{para|first|Sigmund}} {{para|last|Freud}}", or add "{{para|ref|<nowiki>{{harvid|Freud|1923}}</nowiki>}}" to the {{tl|citation}} invocation, or add the same ref parameter (say, "{{para|ref|EgoId}}") to both the {{tl|citation}} and the {{tl|harv}} invocations.


Similarly, the year is used, as specified by {{para|year}}. If no year is given, this template attempts to derive the year from {{para|date}} (or, if no date is given, from {{para|publication-date}}) by applying the [[mw:Help:Extension:ParserFunctions##time|MediaWiki §&nbsp;Time function]]. This heuristic works with many common date formats (American, International and [[ISO 8601#Calendar dates|ISO 8601 standard format]] 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 {{para|year}}. Note that if only a year, say 2005, is known you must use {{para|year|2005}} rather than {{para|date|2005}}.
<!-- This paragraph appears to be outdated and probably needs to be updated to reflect current CS1/CS2 functionality: -->Similarly, the year is used, as specified by {{para|year}}. If no year is given, this template attempts to derive the year from {{para|date}} (or, if no date is given, from {{para|publication-date}}) by applying the [[mw:Help:Extension:ParserFunctions##time|MediaWiki §&nbsp;Time function]]. This heuristic works with most common date formats (American, International and [[ISO 8601#Calendar dates|ISO 8601 standard format]] 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 {{para|year}}.


===IDs must be unique===
===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 {{tl|harv}}-compatible IDs:
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 {{tl|harv}}-compatible IDs:
* {{Citation |last1=Montes |first1=G. |last2=Halterman |first2=J. S. |year=2008a |journal=Pediatrics |volume=121 |issue=4 |pages=e821–e826 |title=Association of Childhood Autism Spectrum Disorders and Loss of Family Income |doi=10.1542/peds.2007-1594 |pmid=18381511 |url= http://pediatrics.aappublications.org/cgi/content/full/121/4/e821 }}
* {{Citation |last1=Montes |first1=G. |last2=Halterman |first2=J. S. |date=2008a |journal=Pediatrics |volume=121 |issue=4 |pages=e821–e826 |title=Association of Childhood Autism Spectrum Disorders and Loss of Family Income |doi=10.1542/peds.2007-1594 |pmid=18381511 |url=http://pediatrics.aappublications.org/cgi/content/full/121/4/e821}}
* {{Citation |last1=Montes |first1=G. |last2=Halterman |first2=J. S. |year=2008b |journal=Pediatrics |volume=122 |issue=1 |pages=e202–e208 |title=Child Care Problems and Employment Among Families with Preschool-aged Children with Autism in the United States |doi=10.1542/peds.2007-3037 |pmid=18595965 |url= http://pediatrics.aappublications.org/cgi/content/full/122/1/e202 }}
* {{Citation |last1=Montes |first1=G. |last2=Halterman |first2=J. S. |date=2008b |journal=Pediatrics |volume=122 |issue=1 |pages=e202–e208 |title=Child Care Problems and Employment Among Families with Preschool-aged Children with Autism in the United States |doi=10.1542/peds.2007-3037 |pmid=18595965 |url=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 "<code>CITEREFMontesHalterman2008</code>". To avoid this problem, distinguish the citations by appending suffixes to the years, e.g. "{{para|year|2008a}}" and "{{para|year|2008b}}", as was done above. Any Harvard references to these citations should use years with the same suffixes.
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 "<code>CITEREFMontesHalterman2008</code>". To avoid this problem, distinguish the citations by appending suffixes to the years, e.g. "{{para|date|2008a}}" and "{{para|date|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|External links]]''.
It is good practice to verify that a page does not contain duplicate IDs by using the [[W3C Markup Validation Service]]; see ''[[#External links|External links]]''.
Line 774: Line 714:


==TemplateData==
==TemplateData==
{{notice|This template data section needs to be edited. It includes deprecated parameters and does not include parameters that were added in the Lua updates. It also includes a mix of patent and non-patent parameters.}}
{{notice|This template data section needs to be edited. It includes deprecated parameters and does not include parameters that were added in the Lua updates.}}


{{TemplateDataHeader}}
{{TemplateData header}}
{{#invoke:cs1 documentation support|template_data_validate|{{ROOTPAGENAME}}}}
<templatedata>
<templatedata>
{
{
"description": "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.",
"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": {
"params": {
"1": {
"last": {
"label": "1",
"label": "Last name",
"type": "string",
"description": "The surname of the author; don't wikilink, use 'author-link' instead; can suffix with a numeral to add additional authors",
"required": false
"aliases": [
},
"author",
"2": {
"author1",
"label": "2",
"last1"
"type": "string",
],
"required": false
"type": "line",
},
"suggested": true
"3": {
"label": "3",
"type": "string",
"required": false
},
"last": {
"label": "author surname",
"type": "string",
"description": "surname of the author of the cited material"
},
},
"first": {
"first": {
"label": "author given name",
"label": "First name",
"type": "string",
"description": "Given or first name, middle names, or initials of the author; don't wikilink, use 'author-link' instead; can suffix with a numeral to add additional authors",
"description": "given name (first name) of the author of the cited material"
"aliases": [
"first1"
],
"type": "line",
"suggested": true
},
},
"title": {
"title": {
"label": "title of source",
"label": "Title of source",
"type": "string",
"type": "string",
"description": "Title of source; displays in italics."
"description": "Title of source. Works display in italics and articles surrounded in quotation marks.",
"required": true
},
},
"date": {
"date": {
"label": "date of source",
"label": "Date of source",
"type": "string",
"type": "string",
"description": "Full date of source being referenced in the same format as other publication dates in the citations.[1] Do not wikilink. Displays after the authors and enclosed in parentheses. If there is no author, then displays after publisher."
"description": "Full date of source being referenced in the same format as other publication dates in the citations.[1] Do not wikilink. Displays after the authors and enclosed in parentheses. If there is no author, then displays after publisher."
},
},
"url": {
"url": {
"label": "url of source",
"label": "URL of source",
"type": "string",
"type": "string",
"description": "URL of an online location where the text of the publication can be found."
"description": "URL of an online location where the text of the publication can be found."
},
},
"inventor-surname": {
"publication-date": {
"label": "inventor-surname",
"label": "Publication date",
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Date of publication when different from the date the work was written. Displays only if year or date are defined and only if different, else publication-date is used and displayed as date. Use the same format as other dates in the article; do not wikilink. Follows publisher; if work is not defined, then publication-date is preceded by \"published\" and enclosed in parenthesis."
},
},
"inventor1-surname": {
"df": {
"label": "inventor1-surname",
"label": "Date format",
"type": "string",
"description": "Sets rendered dates to the specified format",
"required": false
"type": "string"
},
},
"inventor-last": {
"year": {
"label": "inventor-last",
"label": "Year of publication",
"type": "string",
"description": "Year of the source being referenced; recommended only when date parameter format is YYYY-MM-DD and a CITEREF disambiguator is needed",
"required": false
"type": "number"
},
},
"inventor1-last": {
"postscript": {
"label": "inventor1-last",
"label": "Postscript",
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Controls the closing punctuation for a citation; defaults to a period (.); for no terminating punctuation, specify |postscript=none – leaving |postscript= empty is the same as omitting it, but is ambiguous. Ignored if quote is defined."
},
},
"inventor": {
"author-mask": {
"label": "inventor",
"label": "Author mask",
"type": "string",
"type": "string",
"required": false
"required": false,
"aliases": [
],
"description": "Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, \"with\". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliographies or bibliography styles where multiple works by a single author are listed sequentially such as shortened footnotes. Do not use in a list generated by {{reflist}}, <references /> or similar as there is no control of the order in which references are displayed. You can also use editor-mask and translator-mask in the same way."
},
},
"invent1": {
"last2": {
"label": "invent1",
"label": "Last name 2",
"type": "string",
"description": "The surname of the second author; don't wikilink, use 'author-link2' instead.",
"required": false
"aliases": [
"author2",
"surname2"
],
"type": "line"
},
},
"invent-1": {
"first2": {
"label": "invent-1",
"label": "First name 2",
"type": "string",
"description": "Given or first name, middle names, or initials of the second author; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"given2"
]
},
},
"country-code": {
"last3": {
"label": "country-code",
"label": "Last name 3",
"type": "string",
"description": "The surname of the third author; don't wikilink, use 'author-link3' instead.",
"required": false
"aliases": [
"author3",
"surname3"
],
"type": "line"
},
},
"inventor2-surname": {
"first3": {
"label": "inventor2-surname",
"label": "First name 3",
"type": "string",
"description": "Given or first name, middle names, or initials of the third author; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"given3"
]
},
},
"inventor2-last": {
"last4": {
"label": "inventor2-last",
"label": "Last name 4",
"type": "string",
"description": "The surname of the forth author; don't wikilink, use 'author-link4' instead.",
"required": false
"aliases": [
"author4",
"surname4"
],
"type": "line"
},
},
"inventor2": {
"first4": {
"label": "inventor2",
"label": "First name 4",
"type": "string",
"description": "Given or first name, middle names, or initials of the forth author; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"given4"
]
},
},
"invent2": {
"last5": {
"label": "invent2",
"label": "Last name 5",
"type": "string",
"description": "The surname of the fifth author; don't wikilink, use 'author-link5' instead.",
"required": false
"aliases": [
"author5",
"surname5"
],
"type": "line"
},
},
"inventor3-surname": {
"first5": {
"label": "inventor3-surname",
"label": "First name 5",
"type": "string",
"description": "Given or first name, middle names, or initials of the fifth author; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"given5"
]
},
},
"inventor3-last": {
"last6": {
"label": "inventor3-last",
"label": "Last name 6",
"type": "string",
"description": "The surname of the sixth author; don't wikilink, use 'author-link6' instead.",
"required": false
"aliases": [
"author6",
"surname6"
],
"type": "line"
},
},
"inventor3": {
"first6": {
"label": "inventor3",
"label": "First name 6",
"type": "string",
"description": "Given or first name, middle names, or initials of the sixth author; don't wikilink.",
"required": false
"type": "line"
},
},
"invent3": {
"last7": {
"label": "invent3",
"label": "Last name 7",
"type": "string",
"description": "The surname of the seventh author; don't wikilink, use 'author-link7' instead.",
"required": false
"aliases": [
"author7",
"surname7"
],
"type": "line"
},
},
"inventor4-surname": {
"first7": {
"label": "inventor4-surname",
"label": "First name 7",
"type": "string",
"description": "Given or first name, middle names, or initials of the seventh author; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"given7"
]
},
},
"inventor4-last": {
"last8": {
"label": "inventor4-last",
"label": "Last name 8",
"type": "string",
"description": "The surname of the eighth author; don't wikilink, use 'author-link8' instead.",
"required": false
"aliases": [
"author8",
"surname8"
],
"type": "line"
},
},
"inventor4": {
"first8": {
"label": "inventor4",
"label": "First name 8",
"type": "string",
"description": "Given or first name, middle names, or initials of the eighth author; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"given8"
]
},
},
"invent4": {
"last9": {
"label": "invent4",
"label": "Last name 9",
"type": "string",
"description": "The surname of the ninth author; don't wikilink, use 'author-link9' instead. If nine authors are defined, then only eight will show and 'et al.' will show in place of the last author.",
"required": false
"aliases": [
"author9",
"surname9"
],
"type": "line"
},
},
"inventor-given": {
"first9": {
"label": "inventor-given",
"label": "First name 9",
"type": "string",
"description": "Given or first name, middle names, or initials of the ninth author; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"given9"
]
},
},
"inventor1-given": {
"author-link": {
"label": "inventor1-given",
"label": "Author link",
"type": "string",
"description": "Title of existing Wikipedia article about the author; can suffix with a numeral to add additional authors",
"required": false
"type": "wiki-page-name",
"aliases": [
"author1-link",
"author-link1"
]
},
},
"inventor-first": {
"author-link2": {
"label": "inventor-first",
"label": "Author link 2",
"type": "string",
"description": "Title of existing Wikipedia article about the second author.",
"required": false
"type": "wiki-page-name",
"aliases": [
"author2-link"
]
},
},
"inventor1-first": {
"author-link3": {
"label": "inventor1-first",
"label": "Author link 3",
"type": "string",
"description": "Title of existing Wikipedia article about the third author.",
"required": false
"type": "wiki-page-name",
"aliases": [
"author3-link"
]
},
},
"inventor2-given": {
"author-link4": {
"label": "inventor2-given",
"label": "Author link 4",
"type": "string",
"description": "Title of existing Wikipedia article about the forth author.",
"required": false
"type": "wiki-page-name",
"aliases": [
"author4-link"
]
},
},
"inventor2-first": {
"author-link5": {
"label": "inventor2-first",
"label": "Author link 5",
"type": "string",
"description": "Title of existing Wikipedia article about the sixth author.",
"required": false
"type": "wiki-page-name",
"aliases": [
"author5-link"
]
},
},
"inventor3-given": {
"author-link6": {
"label": "inventor3-given",
"label": "Author link 6",
"type": "string",
"description": "Title of existing Wikipedia article about the sixth author.",
"required": false
"type": "wiki-page-name",
"aliases": [
"author6-link"
]
},
},
"inventor3-first": {
"author-link7": {
"label": "inventor3-first",
"label": "Author link 7",
"type": "string",
"description": "Title of existing Wikipedia article about the seventh author.",
"required": false
"type": "wiki-page-name",
"aliases": [
"author7-link"
]
},
},
"inventor4-given": {
"author-link8": {
"label": "inventor4-given",
"label": "Author link 8",
"type": "string",
"description": "Title of existing Wikipedia article about the eighth author.",
"required": false
"type": "wiki-page-name",
"aliases": [
"author8-link"
]
},
},
"inventor4-first": {
"author-link9": {
"label": "inventor4-first",
"label": "Author link 9",
"type": "string",
"description": "Title of existing Wikipedia article about the ninth author.",
"required": false
"type": "wiki-page-name",
"aliases": [
"author9-link"
]
},
},
"inventorlink1": {
"orig-year": {
"label": "inventorlink1",
"label": "Original year",
"type": "string",
"description": "Original year of publication; provide specifics",
"required": false
"type": "number"
},
},
"inventorlink": {
"trans-title": {
"label": "inventorlink",
"label": "Translated title",
"type": "string",
"description": "An English language title, if the source cited is in a foreign language; 'language' is recommended",
"required": false
"type": "content"
},
},
"inventorlink2": {
"trans-chapter": {
"label": "inventorlink2",
"label": "Translated chapter title",
"type": "string",
"description": "An English language chapter title, if the source cited is in a foreign language; 'language' is recommended",
"required": false
"type": "content"
},
},
"inventorlink3": {
"type": {
"label": "inventorlink3",
"label": "Type",
"type": "string",
"description": "Additional information about the media type of the source; format in sentence case",
"required": false
"type": "content"
},
},
"inventorlink4": {
"archive-url": {
"label": "inventorlink4",
"label": "Archive URL",
"type": "string",
"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'",
"required": false
"type": "line"
},
},
"country": {
"series": {
"label": "country",
"label": "Series",
"type": "string",
"description": "Series identifier when the source is part of a series, such as a book series or a journal; alias of 'version'",
"required": false
"type": "content",
"aliases": [
"version"
]
},
},
"publication-number": {
"work": {
"label": "publication-number",
"label": "Work",
"description": "Name of the work in which the cited title is found",
"type": "string",
"type": "string",
"required": false
"aliases": [
"journal",
"website",
"newspaper",
"magazine",
"encyclopedia",
"encyclopaedia",
"dictionary",
"periodical"
]
},
},
"patent-number": {
"volume": {
"label": "patent-number",
"label": "Volume",
"type": "string",
"description": "For one publication published in several volumes",
"required": false
"type": "line",
"suggested": true
},
},
"number": {
"issue": {
"label": "number",
"label": "Issue",
"description": "Issue number",
"type": "string",
"type": "string",
"required": false
"aliases": [
"number"
]
},
},
"description": {
"page": {
"label": "description",
"label": "Page",
"type": "string",
"description": "Page in the source that supports the content; displays after 'p.'",
"required": false
"type": "line"
},
},
"status": {
"pages": {
"label": "status",
"label": "Pages",
"type": "string",
"description": "Pages in the source that support the content (not an indication of the number of pages in the source; displays after 'pp.'",
"required": false
"type": "line",
"suggested": true
},
},
"publication-date": {
"at": {
"label": "publication-date",
"label": "At",
"type": "string",
"description": "May be used instead of 'page' or 'pages' where a page number is inappropriate or insufficient",
"required": false
"type": "line"
},
},
"pubdate": {
"no-pp": {
"label": "pubdate",
"label": "No pp",
"type": "string",
"description": "Set to 'y' to suppress the 'p.' or 'pp.' display with 'page' or 'pages' when inappropriate (such as 'Front cover')",
"required": false
"type": "line"
},
},
"issue-date": {
"chapter": {
"label": "issue-date",
"label": "Chapter",
"type": "string",
"description": "The chapter heading of the source",
"required": false
"type": "string"
},
},
"gdate": {
"contribution": {
"label": "gdate",
"label": "contribution",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"year": {
"chapter-url": {
"label": "year",
"label": "chapter-url",
"type": "string",
"type": "string",
"required": false
"required": false,
"aliases": [
"chapterurl"
]
},
},
"fdate": {
"contribution-url": {
"label": "fdate",
"label": "contribution-url",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"pridate": {
"chapter-format": {
"label": "pridate",
"label": "chapter-format",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"assign1": {
"others": {
"label": "assign1",
"label": "Others",
"type": "string",
"type": "string",
"required": false
"required": false,
"description": "Free-text field for people involved in creating a work who cannot be added with another name parameter such as author or editor"
},
},
"assign2": {
"edition": {
"label": "assign2",
"label": "Edition",
"type": "string",
"description": "When the publication has more than one edition; for example: '2nd', 'Revised' etc.; suffixed with ' ed.'",
"required": false
"type": "line"
},
},
"ref": {
"place": {
"label": "ref",
"label": "Location of publication",
"description": "Geographical place of publication; usually not wikilinked",
"type": "string",
"type": "string",
"required": false
"aliases": [
"location"
]
},
},
"separator": {
"publication-place": {
"label": "separator",
"label": "Place of publication",
"type": "string",
"description": "Publication place shows after title; if 'place' or 'location' are also given, they are displayed before the title prefixed with 'written at'",
"required": false
"type": "content"
},
},
"quote": {
"publisher": {
"label": "quote",
"label": "Publisher",
"type": "string",
"description": "Name of the publisher; displays after title",
"required": false
"type": "content"
},
},
"postscript": {
"language": {
"label": "postscript",
"label": "Language",
"type": "string",
"description": "The language in which the source is written, if not English; use the ISO 639 language code (preferred) or the full language name; do not use icons or templates",
"required": false
"type": "content"
},
},
"author-separator": {
"format": {
"label": "author-separator",
"label": "Format",
"type": "string",
"description": "Format of the work referred to by 'url' ('url' is required when using 'format'); examples: PDF, DOC, XLS; do not specify HTML",
"required": false
"type": "content"
},
},
"author-mask": {
"arxiv": {
"label": "author-mask",
"label": "arXiv identifier",
"type": "string",
"description": "An identifier for arXive electronic preprints of scientific papers",
"required": false
"type": "line"
},
},
"authormask": {
"asin": {
"label": "authormask",
"label": "ASIN",
"type": "string",
"description": "Amazon Standard Identification Number; 10 characters",
"required": false
"type": "line",
"aliases": [
"ASIN"
]
},
"asin-tld": {
"label": "ASIN TLD",
"description": "ASIN top-level domain for Amazon sites other than the US",
"type": "line"
},
},
"surname": {
"bibcode": {
"label": "surname",
"label": "Bibcode",
"type": "string",
"description": "Bibliographic Reference Code (REFCODE); 19 characters",
"required": false
"type": "line"
},
},
"last1": {
"biorxiv": {
"label": "last1",
"label": "biorXiv",
"type": "string",
"description": "biorXiv identifier; 6 digits",
"required": false
"type": "line"
},
},
"surname1": {
"citeseerx": {
"label": "surname1",
"label": "CiteSeerX",
"type": "string",
"description": "CiteSeerX identifier; found after the 'doi=' query parameter",
"required": false
"type": "line"
},
},
"author1": {
"doi": {
"label": "author1",
"label": "DOI",
"description": "Digital Object Identifier; begins with '10.'",
"type": "string",
"type": "string",
"required": false
"aliases": [
"DOI"
]
},
},
"author": {
"doi-broken-date": {
"label": "author",
"label": "DOI broken date",
"type": "string",
"description": "The date that the DOI was determined to be broken",
"required": false
"type": "date"
},
},
"authors": {
"isbn": {
"label": "authors",
"label": "ISBN",
"type": "string",
"description": "International Standard Book Number; use the 13-digit ISBN where possible",
"required": false
"type": "line"
},
},
"last2": {
"issn": {
"label": "last2",
"label": "ISSN",
"type": "string",
"description": "International Standard Serial Number (print); 8 characters; usually split into two groups of four using a hyphen",
"required": false
"type": "line"
},
},
"surname2": {
"eissn": {
"label": "surname2",
"label": "eISSN",
"type": "string",
"description": "International Standard Serial Number (online); 8 characters; usually split into two groups of four using a hyphen",
"required": false
"type": "line"
},
},
"author2": {
"jfm": {
"label": "author2",
"label": "jfm code",
"type": "string",
"description": "Jahrbuch über die Fortschritte der Mathematik classification code",
"required": false
"type": "line"
},
},
"last3": {
"jstor": {
"label": "last3",
"label": "JSTOR",
"type": "string",
"description": "JSTOR identifier",
"required": false
"type": "line"
},
},
"surname3": {
"lccn": {
"label": "surname3",
"label": "LCCN",
"type": "string",
"description": "Library of Congress Control Number",
"required": false
"type": "line"
},
},
"author3": {
"mr": {
"label": "author3",
"label": "MR",
"type": "string",
"description": "Mathematical Reviews identifier",
"required": false
"type": "line"
},
},
"last4": {
"oclc": {
"label": "last4",
"label": "OCLC",
"type": "string",
"description": "Online Computer Library Center number",
"required": false
"type": "number"
},
},
"surname4": {
"ol": {
"label": "surname4",
"label": "OL",
"type": "string",
"description": "Open Library identifier",
"required": false
"type": "line"
},
},
"author4": {
"osti": {
"label": "author4",
"label": "OSTI",
"type": "string",
"description": "Office of Scientific and Technical Information identifier",
"required": false
"type": "line"
},
},
"last5": {
"pmc": {
"label": "last5",
"label": "PMC",
"type": "string",
"description": "PubMed Center article number",
"required": false
"type": "number"
},
},
"surname5": {
"pmid": {
"label": "surname5",
"label": "PMID",
"type": "string",
"description": "PubMed Unique Identifier",
"required": false
"type": "line"
},
},
"author5": {
"rfc": {
"label": "author5",
"label": "RFC",
"type": "string",
"description": "Request for Comments number",
"required": false
"type": "number"
},
},
"last6": {
"ssrn": {
"label": "last6",
"label": "SSRN",
"type": "string",
"description": "Social Science Research Network",
"required": false
"type": "line"
},
},
"surname6": {
"zbl": {
"label": "surname6",
"label": "Zbl",
"type": "string",
"description": "Zentralblatt MATH journal identifier",
"required": false
"type": "line"
},
},
"author6": {
"id": {
"label": "author6",
"label": "id",
"type": "string",
"description": "A unique identifier used where none of the specialized ones are applicable",
"required": false
"type": "line"
},
},
"last7": {
"quote": {
"label": "last7",
"label": "Quote",
"type": "string",
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; needs to include terminating punctuation",
"required": false
"type": "content"
},
},
"surname7": {
"ref": {
"label": "surname7",
"label": "Ref",
"type": "string",
"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",
"required": false
"type": "line"
},
},
"author7": {
"access-date": {
"label": "author7",
"label": "URL access date",
"type": "string",
"description": "The full date when the original URL was accessed; do not wikilink",
"required": false
"type": "date"
},
},
"last8": {
"lay-source": {
"label": "last8",
"label": "Lay source",
"description": "Name of the source of the laysummary; displays in italics, preceded by an en dash",
"type": "string",
"type": "string",
"required": false
"aliases": [
]
},
},
"surname8": {
"lay-date": {
"label": "surname8",
"label": "Lay date",
"type": "string",
"description": "Date of the summary; displays in parentheses",
"required": false
"type": "date",
"aliases": [
]
},
},
"author8": {
"archive-date": {
"label": "author8",
"label": "Archive date",
"type": "string",
"description": "Date when the original URL was archived; do not wikilink",
"required": false
"type": "date"
},
},
"last9": {
"editor-last": {
"label": "last9",
"label": "Editor last name",
"type": "string",
"description": "The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors",
"required": false
"aliases": [
"editor",
"editor-surname",
"editor-last1",
"editor-surname1",
"editor1",
"editor1-last",
"editor1-surname",
"editors"
]
},
},
"surname9": {
"editor-first": {
"label": "surname9",
"label": "Editor first name",
"type": "string",
"description": "The surname of the editor; don't wikilink, use 'editor-link'; can suffix with a numeral to add additional editors",
"required": false
"aliases": [
"editor-first1",
"editor-given1",
"editor1-first",
"editor1-given"
]
},
},
"author9": {
"editor2-last": {
"label": "author9",
"label": "Editor last name 2",
"type": "string",
"description": "The surname of the second editor; don't wikilink, use 'editor2-link'.",
"required": false
"aliases": [
"editor2"
],
"type": "line"
},
},
"first1": {
"editor2-first": {
"label": "first1",
"label": "Editor first name 2",
"type": "string",
"description": "Given or first name, middle names, or initials of the second editor; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"editor2-given"
]
},
},
"given1": {
"editor3-last": {
"label": "given1",
"label": "Editor last name 3",
"type": "string",
"description": "The surname of the third editor; don't wikilink, use 'editor3-link'.",
"required": false
"aliases": [
"editor3"
],
"type": "line"
},
},
"given": {
"editor3-first": {
"label": "given",
"label": "Editor first name 3",
"type": "string",
"description": "Given or first name, middle names, or initials of the third editor; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"editor3-given"
]
},
},
"first2": {
"editor4-last": {
"label": "first2",
"label": "Editor last name 4",
"type": "string",
"description": "The surname of the fourth editor; don't wikilink, use 'editor4-link'.",
"required": false
"aliases": [
"editor4"
],
"type": "line"
},
},
"given2": {
"editor4-first": {
"label": "given2",
"label": "Editor first name 4",
"type": "string",
"description": "Given or first name, middle names, or initials of the fourth editor; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"editor4-given"
]
},
},
"first3": {
"editor5-last": {
"label": "first3",
"label": "Editor last name 5",
"type": "string",
"description": "The surname of the fifth editor; don't wikilink, use 'editor5-link'.",
"required": false
"aliases": [
"editor5"
],
"type": "line"
},
},
"given3": {
"editor5-first": {
"label": "given3",
"label": "Editor first name 5",
"type": "string",
"description": "Given or first name, middle names, or initials of the fifth editor; don't wikilink.",
"required": false
"type": "line",
"aliases": [
"editor5-given"
]
},
"editor6-last": {
"label": "Editor last name 6",
"description": "The surname of the sixth editor; don't wikilink, use 'editor6-link'.",
"aliases": [
"editor6"
],
"type": "line"
},
"editor6-first": {
"label": "Editor first name 6",
"description": "Given or first name, middle names, or initials of the sixth editor; don't wikilink.",
"type": "line",
"aliases": [
"editor6-given"
]
},
"editor7-last": {
"label": "Editor last name 7",
"description": "The surname of the seventh editor; don't wikilink, use 'editor7-link'.",
"aliases": [
"editor7"
],
"type": "line"
},
"editor7-first": {
"label": "Editor first name 7",
"description": "Given or first name, middle names, or initials of the seventh editor; don't wikilink.",
"type": "line",
"aliases": [
"editor7-given"
]
},
"editor8-last": {
"label": "Editor last name 8",
"description": "The surname of the eighth editor; don't wikilink, use 'editor8-link'.",
"aliases": [
"editor8"
],
"type": "line"
},
"editor8-first": {
"label": "Editor first name 8",
"description": "Given or first name, middle names, or initials of the eighth editor; don't wikilink.",
"type": "line",
"aliases": [
"editor8-given"
]
},
"editor9-last": {
"label": "Editor last name 9",
"description": "The surname of the ninth editor; don't wikilink, use 'editor9-link'.",
"aliases": [
"editor9"
],
"type": "line"
},
"editor9-first": {
"label": "Editor first name 9",
"description": "Given or first name, middle names, or initials of the ninth editor; don't wikilink.",
"type": "line",
"aliases": [
"editor9-given"
]
},
},
"first4": {
"editor-link": {
"label": "first4",
"label": "editor-link",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"given4": {
"editor1-link": {
"label": "given4",
"label": "editor1-link",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"first5": {
"editor2-link": {
"label": "first5",
"label": "editor2-link",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"given5": {
"editor3-link": {
"label": "given5",
"label": "editor3-link",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"first6": {
"editor4-link": {
"label": "first6",
"label": "editor4-link",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"given6": {
"translator-last": {
"label": "given6",
"label": "Translator last name",
"type": "string",
"description": "The surname of the translator; don't wikilink, use 'translator-link'; can suffix with a numeral to add additional translators.",
"required": false
"aliases": [
"translator",
"translator-last1",
"translator1",
"translator1-last"
],
"type": "string"
},
},
"first7": {
"translator-first": {
"label": "first7",
"label": "Translator first name",
"type": "string",
"description": "Given or first name, middle names, or initials of the translator; don't wikilink, use 'translator-link'; can suffix with a numeral to add additional translators.",
"required": false
"aliases": [
"translator1-first",
"translator-first1"
],
"type": "string"
},
},
"given7": {
"translator-link": {
"label": "given7",
"label": "Translator link",
"type": "string",
"description": "Title of existing Wikipedia article about the translator; can suffix with a numeral to add additional translators.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator-link1",
"translator1-link"
]
},
},
"first8": {
"translator-last2": {
"label": "first8",
"label": "Translator last name 2",
"type": "string",
"description": "The surname of the second translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator2",
"translator2-last"
],
"type": "string"
},
},
"given8": {
"translator-first2": {
"label": "given8",
"label": "Translator first name 2",
"type": "string",
"description": "Given or first name, middle names, or initials of the second translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator2-first"
],
"type": "string"
},
},
"first9": {
"translator-last3": {
"label": "first9",
"label": "Translator last name 3",
"type": "string",
"description": "The surname of the third translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator3",
"translator3-last"
],
"type": "string"
},
},
"given9": {
"translator-first3": {
"label": "given9",
"label": "Translator first name 3",
"type": "string",
"description": "Given or first name, middle names, or initials of the third translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator3-first"
],
"type": "string"
},
},
"author-link": {
"translator-last4": {
"label": "author-link",
"label": "Translator last name 4",
"type": "string",
"description": "The surname of the fourth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator4",
"translator4-last"
],
"type": "string"
},
},
"author1-link": {
"translator-first4": {
"label": "author1-link",
"label": "Translator first name 4",
"type": "string",
"description": "Given or first name, middle names, or initials of the fourth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator4-first"
],
"type": "string"
},
},
"authorlink": {
"translator-last5": {
"label": "authorlink",
"label": "Translator last name 5",
"type": "string",
"description": "The surname of the fifth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator5",
"translator5-last"
],
"type": "string"
},
},
"authorlink1": {
"translator-first5": {
"label": "authorlink1",
"label": "Translator first name 5",
"type": "string",
"description": "Given or first name, middle names, or initials of the fifth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator5-first"
],
"type": "string"
},
},
"author2-link": {
"translator-last6": {
"label": "author2-link",
"label": "Translator last name 6",
"type": "string",
"description": "The surname of the sixth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator6",
"translator6-last"
],
"type": "string"
},
},
"authorlink2": {
"translator-first6": {
"label": "authorlink2",
"label": "Translator first name 6",
"type": "string",
"description": "Given or first name, middle names, or initials of the sixth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator6-first"
],
"type": "string"
},
},
"author3-link": {
"translator-last7": {
"label": "author3-link",
"label": "Translator last name 7",
"type": "string",
"description": "The surname of the seventh translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator7",
"translator7-last"
],
"type": "string"
},
},
"authorlink3": {
"translator-first7": {
"label": "authorlink3",
"label": "Translator first name 7",
"type": "string",
"description": "Given or first name, middle names, or initials of the seventh translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator7-first"
],
"type": "string"
},
},
"author4-link": {
"translator-last8": {
"label": "author4-link",
"label": "Translator last name 8",
"type": "string",
"description": "The surname of the eighth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator8",
"translator8-last"
],
"type": "string"
},
},
"authorlink4": {
"translator-first8": {
"label": "authorlink4",
"label": "Translator first name 8",
"type": "string",
"description": "Given or first name, middle names, or initials of the eighth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator8-first"
],
"type": "string"
},
},
"author5-link": {
"translator-last9": {
"label": "author5-link",
"label": "Translator last name 9",
"type": "string",
"description": "The surname of the ninth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator9",
"translator9-last"
],
"type": "string"
},
},
"authorlink5": {
"translator-first9": {
"label": "authorlink5",
"label": "Translator first name 9",
"type": "string",
"description": "Given or first name, middle names, or initials of the ninth translator; don't wikilink, use 'translator-link'.",
"required": false
"aliases": [
"translator9-first"
],
"type": "string"
},
},
"author6-link": {
"translator-link2": {
"label": "author6-link",
"label": "Translator link 2",
"type": "string",
"description": "Title of existing Wikipedia article about the second translator.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator2-link"
]
},
},
"authorlink6": {
"translator-link3": {
"label": "authorlink6",
"label": "Translator link 3",
"type": "string",
"description": "Title of existing Wikipedia article about the third translator.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator3-link"
]
},
},
"author7-link": {
"translator-link4": {
"label": "author7-link",
"label": "Translator link 4",
"type": "string",
"description": "Title of existing Wikipedia article about the fourth translator.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator4-link"
]
},
},
"authorlink7": {
"translator-link5": {
"label": "authorlink7",
"label": "Translator link 5",
"type": "string",
"description": "Title of existing Wikipedia article about the fifth translator.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator5-link"
]
},
},
"author8-link": {
"translator-link6": {
"label": "author8-link",
"label": "Translator link 6",
"type": "string",
"description": "Title of existing Wikipedia article about the sixth translator.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator6-link"
]
},
},
"authorlink8": {
"translator-link7": {
"label": "authorlink8",
"label": "Translator link 7",
"type": "string",
"description": "Title of existing Wikipedia article about the seventh translator.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator7-link"
]
},
},
"author9-link": {
"translator-link8": {
"label": "author9-link",
"label": "Translator link 8",
"type": "string",
"description": "Title of existing Wikipedia article about the eighth translator.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator8-link"
]
},
},
"authorlink9": {
"translator-link9": {
"label": "authorlink9",
"label": "Translator link 9",
"type": "string",
"description": "Title of existing Wikipedia article about the ninth translator.",
"required": false
"type": "wiki-page-name",
"aliases": [
"translator9-link"
]
},
},
"coauthor": {
"lay-url": {
"label": "coauthor",
"aliases": [
"type": "string",
],
"required": false
"label": "Lay URL",
"description": "URL link to a non-technical summary or review of the source",
"type": "line"
},
},
"coauthors": {
"display-authors": {
"label": "coauthors",
"label": "Display authors",
"type": "string",
"description": "number of authors to display before 'et al.' is used; must be less than the number listed",
"required": false
"type": "number"
},
},
"origyear": {
"name-list-style": {
"label": "origyear",
"aliases": [
"type": "string",
"name-list-format"
"required": false
],
},
"label": "Name list style",
"month": {
"description": "Sets the style for the list. Accepts 'amp', 'and', and 'vanc'. amp displays an ampersand after the penultimate name; and the same with 'and', and vanc displays in Vancouver format",
"label": "month",
"type": "string"
"type": "string",
}
"required": false
},
},
"maps": {
"trans_chapter": {
"citoid": {
"label": "trans_chapter",
"edition": "edition",
"type": "string",
"title": "title",
"required": false
"caseName": "title",
},
"nameOfAct": "title",
"trans_title": {
"url": "url",
"label": "trans_title",
"label": "publisher",
"type": "string",
"company": "publisher",
"required": false
"studio": "publisher",
},
"network": "publisher",
"type": {
"distributor": "publisher",
"label": "type",
"publisher": "publisher",
"type": "string",
"publicationTitle": "work",
"required": false
"dictionaryTitle": "work",
},
"encyclopediaTitle": "work",
"archiveurl": {
"bookTitle": "work",
"label": "archiveurl",
"date": "date",
"type": "string",
"dateEnacted": "date",
"required": false
"dateDecided": "date",
},
"accessDate": "access-date",
"deadurl": {
"place": "place",
"label": "deadurl",
"ISSN": [
"type": "string",
"issn"
"required": false
],
},
"ISBN": [
"series": {
"isbn"
"label": "series",
],
"type": "string",
"PMCID": "pmc",
"required": false
"PMID": "pmid",
},
"oclc": "oclc",
"version": {
"pages": "pages",
"label": "version",
"firstPage": "pages",
"type": "string",
"codePages": "pages",
"required": false
"volume": "volume",
},
"reporterVolume": "volume",
"journal": {
"codeVolume": "volume",
"label": "journal",
"series": "series",
"type": "string",
"programTitle": "series",
"required": false
"episodeNumber": "issue",
},
"billNumber": "issue",
"periodical": {
"documentNumber": "issue",
"label": "periodical",
"publicLawNumber": "issue",
"type": "string",
"docketNumber": "issue",
"required": false
"issue": "issue",
},
"type": "type",
"newspaper": {
"genre": "type",
"label": "newspaper",
"letterType": "type",
"type": "string",
"mapType": "type",
"required": false
"DOI": "doi",
},
"language": "language",
"magazine": {
"podcaster": [
"label": "magazine",
[
"type": "string",
"first",
"required": false
"last"
},
],
"work": {
[
"label": "work",
"first2",
"type": "string",
"last2"
"required": false
],
},
[
"volume": {
"first3",
"label": "volume",
"last3"
"type": "string",
],
"required": false
[
},
"first4",
"issue": {
"last4"
"label": "issue",
],
"type": "string",
[
"required": false
"first5",
},
"last5"
"pages": {
],
"label": "pages",
[
"type": "string",
"first6",
"required": false
"last6"
},
],
"page": {
[
"label": "page",
"first7",
"type": "string",
"last7"
"required": false
],
},
[
"at": {
"first8",
"label": "at",
"last8"
"type": "string",
],
"required": false
[
},
"first9",
"nopp": {
"last9"
"label": "nopp",
]
"type": "string",
],
"required": false
"cartographer": [
},
[
"chapter": {
"first",
"label": "chapter",
"last"
"type": "string",
],
"required": false
[
},
"first2",
"contribution": {
"last2"
"label": "contribution",
],
"type": "string",
[
"required": false
"first3",
},
"last3"
"chapter-url": {
],
"label": "chapter-url",
[
"type": "string",
"first4",
"required": false
"last4"
},
],
"chapterurl": {
[
"label": "chapterurl",
"first5",
"type": "string",
"last5"
"required": false
],
},
[
"contribution-url": {
"first6",
"label": "contribution-url",
"last6"
"type": "string",
],
"required": false
[
},
"first7",
"chapter-format": {
"last7"
"label": "chapter-format",
],
"type": "string",
[
"required": false
"first8",
},
"last8"
"others": {
],
"label": "others",
[
"type": "string",
"first9",
"required": false
"last9"
},
]
"edition": {
],
"label": "edition",
"interviewee": [
"type": "string",
[
"required": false
"first",
},
"last"
"place": {
],
"label": "place",
[
"type": "string",
"first2",
"required": false
"last2"
},
],
"location": {
[
"label": "location",
"first3",
"type": "string",
"last3"
"required": false
],
},
[
"publication-place": {
"first4",
"label": "publication-place",
"last4"
"type": "string",
],
"required": false
[
},
"first5",
"publisher": {
"last5"
"label": "publisher",
],
"type": "string",
[
"required": false
"first6",
},
"last6"
"editor-last": {
],
"label": "editor-last",
[
"type": "string",
"first7",
"required": false
"last7"
},
],
"editor-surname": {
[
"label": "editor-surname",
"first8",
"type": "string",
"last8"
"required": false
],
},
[
"editor1-last": {
"first9",
"label": "editor1-last",
"last9"
"type": "string",
]
"required": false
],
},
"performer": [
"editor1-surname": {
[
"label": "editor1-surname",
"first",
"type": "string",
"last"
"required": false
],
},
[
"editor1": {
"first2",
"label": "editor1",
"last2"
"type": "string",
],
"required": false
[
},
"first3",
"editor": {
"last3"
"label": "editor",
],
"type": "string",
[
"required": false
"first4",
},
"last4"
"editors": {
],
"label": "editors",
[
"type": "string",
"first5",
"required": false
"last5"
},
],
"editor2-last": {
[
"label": "editor2-last",
"first6",
"type": "string",
"last6"
"required": false
],
},
[
"editor2-surname": {
"first7",
"label": "editor2-surname",
"last7"
"type": "string",
],
"required": false
[
},
"first8",
"editor2": {
"last8"
"label": "editor2",
],
"type": "string",
[
"required": false
"first9",
},
"last9"
"editor3-last": {
]
"label": "editor3-last",
],
"type": "string",
"programmer": [
"required": false
[
},
"first",
"editor3-surname": {
"last"
"label": "editor3-surname",
],
"type": "string",
[
"required": false
"first2",
},
"last2"
"editor3": {
],
"label": "editor3",
[
"type": "string",
"first3",
"required": false
"last3"
},
],
"editor4-last": {
[
"label": "editor4-last",
"first4",
"type": "string",
"last4"
"required": false
],
},
[
"editor4-surname": {
"first5",
"label": "editor4-surname",
"last5"
"type": "string",
],
"required": false
[
},
"first6",
"editor4": {
"last6"
"label": "editor4",
],
"type": "string",
[
"required": false
"first7",
},
"last7"
"editor-first": {
],
"label": "editor-first",
[
"type": "string",
"first8",
"required": false
"last8"
},
],
"editor-given": {
[
"label": "editor-given",
"first9",
"type": "string",
"last9"
"required": false
]
},
],
"editor1-first": {
"sponsor": [
"label": "editor1-first",
[
"type": "string",
"first",
"required": false
"last"
},
],
"editor1-given": {
[
"label": "editor1-given",
"first2",
"type": "string",
"last2"
"required": false
],
},
[
"editor2-first": {
"first3",
"label": "editor2-first",
"last3"
"type": "string",
],
"required": false
[
},
"first4",
"editor2-given": {
"last4"
"label": "editor2-given",
],
"type": "string",
[
"required": false
"first5",
},
"last5"
"editor3-first": {
],
"label": "editor3-first",
[
"type": "string",
"first6",
"required": false
"last6"
},
],
"editor3-given": {
[
"label": "editor3-given",
"first7",
"type": "string",
"last7"
"required": false
],
},
[
"editor4-first": {
"first8",
"label": "editor4-first",
"last8"
"type": "string",
],
"required": false
[
},
"first9",
"editor4-given": {
"last9"
"label": "editor4-given",
]
"type": "string",
],
"required": false
"artist": [
},
[
"editor-link": {
"first",
"label": "editor-link",
"last"
"type": "string",
],
"required": false
[
},
"first2",
"editor1-link": {
"last2"
"label": "editor1-link",
],
"type": "string",
[
"required": false
"first3",
},
"last3"
"editor2-link": {
],
"label": "editor2-link",
[
"type": "string",
"first4",
"required": false
"last4"
},
],
"editor3-link": {
[
"label": "editor3-link",
"first5",
"type": "string",
"last5"
"required": false
],
},
[
"editor4-link": {
"first6",
"label": "editor4-link",
"last6"
"type": "string",
],
"required": false
[
},
"first7",
"language": {
"last7"
"label": "language",
],
"type": "string",
[
"required": false
"first8",
},
"last8"
"in": {
],
"label": "in",
[
"type": "string",
"first9",
"required": false
"last9"
},
]
"format": {
],
"label": "format",
"director": [
"type": "string",
[
"required": false
"first",
},
"last"
"arxiv": {
],
"label": "arxiv",
[
"type": "string",
"first2",
"required": false
"last2"
},
],
"asin": {
[
"label": "asin",
"first3",
"type": "string",
"last3"
"required": false
],
},
[
"ASIN": {
"first4",
"label": "ASIN",
"last4"
"type": "string",
],
"required": false
[
},
"first5",
"asin-tld": {
"last5"
"label": "asin-tld",
],
"type": "string",
[
"required": false
"first6",
},
"last6"
"bibcode": {
],
"label": "bibcode",
[
"type": "string",
"first7",
"required": false
"last7"
},
],
"doi": {
[
"label": "doi",
"first8",
"type": "string",
"last8"
"required": false
],
},
[
"DOI": {
"first9",
"label": "DOI",
"last9"
"type": "string",
]
"required": false
],
},
"contributor": "others",
"doi_inactivedate": {
"author": [
"label": "doi_inactivedate",
[
"type": "string",
"first",
"required": false
"last"
},
],
"doi_brokendate": {
[
"label": "doi_brokendate",
"first2",
"type": "string",
"last2"
"required": false
],
},
[
"isbn": {
"first3",
"label": "isbn",
"last3"
"type": "string",
],
"required": false
[
},
"first4",
"ISBN": {
"last4"
"label": "ISBN",
],
"type": "string",
[
"required": false
"first5",
},
"last5"
"issn": {
],
"label": "issn",
[
"type": "string",
"first6",
"required": false
"last6"
},
],
"ISSN": {
[
"label": "ISSN",
"first7",
"type": "string",
"last7"
"required": false
],
},
[
"jfm": {
"first8",
"label": "jfm",
"last8"
"type": "string",
],
"required": false
[
},
"first9",
"JFM": {
"last9"
"label": "JFM",
]
"type": "string",
],
"required": false
"translator": [
},
[
"jstor": {
"translator-first",
"label": "jstor",
"translator-last"
"type": "string",
],
"required": false
[
},
"translator-first2",
"JSTOR": {
"translator-last2"
"label": "JSTOR",
],
"type": "string",
[
"required": false
"translator-first3",
},
"translator-last3"
"lccn": {
],
"label": "lccn",
[
"type": "string",
"translator-first4",
"required": false
"translator-last4"
},
],
"LCCN": {
[
"label": "LCCN",
"translator-first5",
"type": "string",
"translator-last5"
"required": false
],
},
[
"mr": {
"translator-first6",
"label": "mr",
"translator-last6"
"type": "string",
],
"required": false
[
},
"translator-first7",
"MR": {
"translator-last7"
"label": "MR",
],
"type": "string",
[
"required": false
"translator-first8",
},
"translator-last8"
"oclc": {
],
"label": "oclc",
[
"type": "string",
"translator-first9",
"required": false
"translator-last9"
},
]
"OCLC": {
],
"label": "OCLC",
"editor": [
"type": "string",
[
"required": false
"editor-first",
},
"editor-last"
"ol": {
],
"label": "ol",
[
"type": "string",
"editor2-first",
"required": false
"editor2-last"
},
],
"OL": {
[
"label": "OL",
"editor3-first",
"type": "string",
"editor3-last"
"required": false
],
},
[
"osti": {
"editor4-first",
"label": "osti",
"editor4-last"
"type": "string",
]
"required": false
]
},
}
"OSTI": {
"label": "OSTI",
"type": "string",
"required": false
},
"pmc": {
"label": "pmc",
"type": "string",
"required": false
},
"PMC": {
"label": "PMC",
"type": "string",
"required": false
},
"pmid": {
"label": "pmid",
"type": "string",
"required": false
},
"PMID": {
"label": "PMID",
"type": "string",
"required": false
},
"rfc": {
"label": "rfc",
"type": "string",
"required": false
},
"RFC": {
"label": "RFC",
"type": "string",
"required": false
},
"ssrn": {
"label": "ssrn",
"type": "string",
"required": false
},
"SSRN": {
"label": "SSRN",
"type": "string",
"required": false
},
"zbl": {
"label": "zbl",
"type": "string",
"required": false
},
"id": {
"label": "id",
"type": "string",
"required": false
},
"ID": {
"label": "ID",
"type": "string",
"required": false
},
"access-date": {
"label": "access-date",
"type": "string",
"required": false
},
"accessdate": {
"label": "accessdate",
"type": "string",
"required": false
},
"laysummary": {
"label": "laysummary",
"type": "string",
"required": false
},
"laysource": {
"label": "laysource",
"type": "string",
"required": false
},
"laydate": {
"label": "laydate",
"type": "string",
"required": false
},
"author-name-separator": {
"label": "author-name-separator",
"type": "string",
"required": false
},
"lastauthoramp": {
"label": "lastauthoramp",
"type": "string",
"required": false
},
"display-authors": {
"label": "display-authors",
"type": "string",
"required": false
},
"archivedate": {
"label": "archivedate",
"type": "string",
"required": false
},
"translator-first": {},
"translator-last": {},
"translator2-first": {},
"translator2-last": {}
},
},
"maps": {
"paramOrder": [
"citoid": {
"last",
"edition": "edition",
"first",
"title": "title",
"title",
"caseName": "title",
"date",
"nameOfAct": "title",
"url",
"url": "url",
"work",
"label": "publisher",
"volume",
"company": "publisher",
"issue",
"studio": "publisher",
"page",
"network": "publisher",
"pages",
"distributor": "publisher",
"publication-date",
"publisher": "publisher",
"df",
"publicationTitle": "journal",
"year",
"date": "date",
"postscript",
"issueDate": "date",
"editor-last",
"dateEnacted": "date",
"editor-first",
"dateDecided": "date",
"author-mask",
"accessDate": "accessdate",
"orig-year",
"location": "location",
"trans-title",
"ISSN": [
"trans-chapter",
"issn"
"type",
],
"archive-url",
"ISBN": [
"series",
"isbn"
"at",
],
"no-pp",
"PMCID": "pmc",
"chapter",
"PMID": "pmid",
"contribution",
"oclc": "oclc",
"chapter-url",
"pages": "pages",
"contribution-url",
"firstPage": "pages",
"chapter-format",
"codePages": "pages",
"others",
"volume": "volume",
"edition",
"reporterVolume": "volume",
"place",
"codeVolume": "volume",
"publication-place",
"series": "series",
"publisher",
"programTitle": "series",
"language",
"patentNumber": "issue",
"format",
"episodeNumber": "issue",
"arxiv",
"billNumber": "issue",
"asin",
"documentNumber": "issue",
"asin-tld",
"publicLawNumber": "issue",
"bibcode",
"docketNumber": "issue",
"biorxiv",
"issue": "issue",
"citeseerx",
"DOI": "doi",
"doi",
"language": "language",
"doi-broken-date",
"podcaster": [
"isbn",
[
"issn",
"first",
"eissn",
"last"
"jfm",
],
"jstor",
[
"lccn",
"first2",
"mr",
"last2"
"oclc",
],
"ol",
[
"osti",
"first3",
"pmc",
"last3"
"pmid",
],
"rfc",
[
"ssrn",
"first4",
"zbl",
"last4"
"id",
],
"quote",
[
"ref",
"first5",
"access-date",
"last5"
"lay-url",
],
"lay-source",
[
"lay-date",
"first6",
"name-list-style",
"last6"
"display-authors",
],
"archive-date",
[
"last2",
"first7",
"first2",
"last7"
"last3",
],
"first3",
[
"last4",
"first8",
"first4",
"last8"
"last5",
],
"first5",
[
"last6",
"first9",
"first6",
"last9"
"last7",
]
"first7",
],
"last8",
"cartographer": [
"first8",
[
"last9",
"first",
"first9",
"last"
"author-link",
],
"author-link2",
[
"author-link3",
"first2",
"author-link4",
"last2"
"author-link5",
],
"author-link6",
[
"author-link7",
"first3",
"author-link8",
"last3"
"author-link9",
],
"editor2-last",
[
"editor2-first",
"first4",
"editor3-last",
"last4"
"editor3-first",
],
"editor4-last",
[
"editor4-first",
"first5",
"editor5-last",
"last5"
"editor5-first",
],
"editor6-last",
[
"editor6-first",
"first6",
"editor7-last",
"last6"
"editor7-first",
],
"editor8-last",
[
"editor8-first",
"first7",
"editor9-last",
"last7"
"editor9-first",
],
"editor-link",
[
"editor1-link",
"first8",
"editor2-link",
"last8"
"editor3-link",
],
"editor4-link",
[
"translator-last",
"first9",
"translator-first",
"last9"
"translator-link",
]
"translator-last2",
],
"translator-first2",
"interviewee": [
"translator-last3",
[
"translator-first3",
"first",
"translator-last4",
"last"
"translator-first4",
],
"translator-last5",
[
"translator-first5",
"first2",
"translator-last6",
"last2"
"translator-first6",
],
"translator-last7",
[
"translator-first7",
"first3",
"translator-last8",
"last3"
"translator-first8",
],
"translator-last9",
[
"translator-first9",
"first4",
"translator-link2",
"last4"
"translator-link3",
],
"translator-link4",
[
"translator-link5",
"first5",
"translator-link6",
"last5"
"translator-link7",
],
"translator-link8",
[
"translator-link9"
"first6",
]
"last6"
}
],
</templatedata>
[
 
"first7",
{{UF-COinS}}
"last7"
 
],
== See also ==
[
* [[Wikipedia:Citation templates]]
"first8",
* [[Wikipedia:Inline citation]]
"last8"
* [[Wikipedia:Parenthetical referencing]]
],
* For a comparison of citations using templates with citations written freehand, see [[Wikipedia:Citing sources/Example edits for different methods#Footnotes|Wikipedia:Citing sources/Example edits for different methods §&nbsp;Footnotes]]
[
"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"
]
],
"contributor": [
[
"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"
]
],
"translator": [
[
"translator-first",
"translator-last"
],
[
"translator2-first",
"translator2-last"
]
],
"inventor": [
[
"inventor-first",
"inventor-last"
],
[
"inventor2-first",
"inventor2-last"
],
[
"inventor3-first",
"inventor3-last"
]
],
"editor": [
[
"editor-first",
"editor-last"
],
[
"editor2-first",
"editor2-last"
]
]
}
}
}
</templatedata>


{{UF-COinS}}
== Notes ==
{{Reflist}}


== See also ==
* [[Wikipedia:Citation templates]]
* [[Wikipedia:Inline citation]]
* [[Wikipedia:Parenthetical referencing]]
* For a comparison of citations using templates with citations written freehand, see [[Wikipedia:Citing sources/Example edits for different methods#Footnotes|Wikipedia:Citing sources/Example edits for different methods §&nbsp;Footnotes]]
{{Wikipedia referencing}}
{{Wikipedia referencing}}
{{Help navigation}}
{{Wikipedia help pages}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Citation Style 2 templates]]
[[Category:Citation Style 2 templates]]
}}</includeonly>
}}</includeonly>

Latest revision as of 17:09, 27 April 2021


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. As with other citation templates, this template can be used either in a footnote (between <ref>...</ref> tags) or in a section that lists sources. This template uses the same Lua code as citation style 1 (CS1) templates with parameters to change the displayed format to citation style 2 (CS2).

If the correct parameters are used, this template produces output identical to that of the Cite templates, such as {{Cite book}} and {{Cite web}}, with one important exception: By default, this Citation template uses commas in places where the Cite templates use periods (full stops) by default; either type of template can use periods (full stops) or commas by using an optional parameter.

Regardless of which citation templates are used or even if none are used at all, all citations should have the same format throughout an article in the saved, rendered text.

Notes:

  • All parameter names must be lowercase.
  • Invisible unicode space characters (see list) will return an error message. Non-intentional invisible characters should be removed; intentional ones should replaced with their corresponding HTML entity (e.g. &ZeroWidthSpace;).

Simple citations[edit]

This section covers the most commonly used parameters. You can copy the horizontal form or vertical form below and then add in extra parameters from the full list. Spacing and ordering of the parameters within the template is irrelevant and does not affect the final, rendered text.

{{Citation |last= |first= |year= |title= |publisher= |publication-place= |page= |url= |access-date=}}

{{Citation
| last        =
| first       =
| year        =
| title       =
| publisher   =
| publication-place =
| page        =
| url         =
| access-date =
}}
  • last: The author's surname or last name. Don't use with the author parameter.
  • first: The author's first or given name(s).
  • year: Year of authorship or publication. Mandatory for use with links from Template:Harvard citation, unless |date= specifies both month and year.
  • title: Title of the work. Mandatory for web references.
  • publisher: The name of the publisher. Omit terms such as Publishers, Co., Inc., Ltd., etc., but retain the words Books or Press. Not normally included where the publication is a periodical which has its own Wikipedia article (e.g. Newsweek, Billboard).
    • publication-place (or place or location): The city of publication. If more than one town/city is listed on the title page, give the first one or the location of the publisher's head office. Omit when the publication is a periodical whose name specifies the location (e.g. The New York Times, The Times of India)
  • page: For use when one page is cited. Adds "p." before the page number. Do not use with pages.
  • url: A url of an online location where the item can be found. If the url includes double quotes, these must be encoded as "%22".
    • access-date: Date[n 1] when the url was accessed.

Example[edit]

{{Citation
| last      = Turner
| first     = Orsamus
| title     = History of the pioneer settlement of
Phelps and Gorham's purchase, and Morris' reserve
| publisher = William Alling
| place     = Rochester, New York
| year      = 1851
| ol        = 7120924W
}}
Turner, Orsamus (1851), History of the pioneer settlement of Phelps and Gorham's purchase, and Morris' reserve, Rochester, New York: William Alling, OL 7120924W

Full citation parameters[edit]

These can be used for all types of publication. 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 =
| editor        =
| editor-last   =
| editor-first  =
| editor2       =
| editor2-last  =
| editor2-first =
| editor-link   =
| editor2-link  =
| translator-last   =
| translator-first  =
| translator-link   = 
| translator2-last  =
| translator2-first =
| translator2-link  =
| others   =
| publication-date =
| date     =
| year     =
| origyear =
| title    =
| chapter  =
| chapter-url  =
| chapter-format  =
| contribution =
| contribution-url =
| type    =
| journal =
| periodical =
| newspaper  =
| magazine   =
| encyclopedia =
| work =
| edition =
| series  =
| volume  =
| issue   =
| publisher =
| publication-place =
| place    =
| language =
| page  =
| pages =
| no-pp  =
| at   =
| id   =
| isbn =
| issn =
| oclc =
| pmid =
| pmc  =
| bibcode =
| doi =
| doi-inactive-date=
| zbl =
| url =
| access-date  =
| format       =
| archive-url  =
| archive-date =
| url-status   =
| quote      =
| lay-url    =
| lay-source =
| lay-date   =
| separator  =
| postscript =
| ref =
}}

Parameters[edit]

Syntax[edit]

Nested parameters rely on their parent parameters:

  • parent
  • OR: parent2—may be used instead of parent
    • child—may be used with parent (and is ignored if parent is not used)
    • OR: child2—may be used instead of child (and is ignored if parent2 is not used)
Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.

By default, sets of fields are terminated with a comma (,).

COinS[edit]

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata.