Difference between revisions of "Template:Citation/doc"

From WikiChem
Jump to: navigation, search
(Examples)
(Parameters)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
{{Documentation subpage}}<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<!-- PLEASE ADD CATEGORIES AND COPYRIGHT TAGS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND COPYRIGHT TAGS AT THE BOTTOM OF THIS PAGE -->
 +
 +
'''Citation''' is a suite of formatting templates which produce references in [[ACS style]] for a wide variety of source documents. They also add [[COinS]] tags to the HTML code (these are invisible on the screen) to allow automated parsing of references.
 +
 +
<nowiki>{{</nowiki>Citation}} itself is a metatemplate which transforms a wide variety of parameter names into a standardized set for use by {{tl|Citation/patent}} (for patents) or {{tl|Citation/core}} (for other types of source document). It also add some formatting into page numbers, depending on the type of source document.
  
 
=== Usage ===
 
=== Usage ===
  
 
=== Parameters ===
 
=== Parameters ===
 +
====Patents====
 +
*<code>inventor-surname</code> ''or'' <code>inventor1-surname</code> ''or'' <code>inventor-last</code> ''or'' <code>inventor1-last</code> ''or'' <code>inventor</code>
 +
**one of these parameters is obligatory
 +
*<code>inventor-given</code> ''or'' <code>inventor1-given</code> ''or'' <code>inventor-first</code> ''or'' <code>inventor1-first</code>
 +
*<code>inventorlink1</code> ''or'' <code>inventorlink</code>
 +
*<code>inventor2-surname</code> ''or'' <code>inventor2-last</code> ''or'' <code>inventor2</code>
 +
*<code>inventor2-given</code> ''or'' <code>inventor2-first</code>
 +
*<code>inventorlink2</code>
 +
*<code>inventor3-surname</code> ''or'' <code>inventor3-last</code> ''or'' <code>inventor3</code>
 +
*<code>inventor3-given</code> ''or'' <code>inventor3-first</code>
 +
*<code>inventorlink3</code>
 +
*<code>inventor4-surname</code> ''or'' <code>inventor4-last</code> ''or'' <code>inventor4</code>
 +
*<code>assignee</code> ''or'' <code>applicant</code> ''or'' <code>owner</code> ''or'' <code>company</code>
 +
*<code>assigneelink</code> ''or'' <code>applicantlink</code> ''or'' <code>ownerlink</code> ''or'' <code>companylink</code>
 +
*<code>title</code>
 +
*<code>country-code</code>
 +
**obligatory
 +
*<code>publication-number</code> ''or'' <code>patent-number</code>
 +
**one of these parameters is obligatory
 +
*<code>description</code>
 +
**eg, Patent
 +
*<code>publication-date</code> ''or'' <code>issue-date</code>
 +
 +
====Other documents====
 +
*<code>last</code> ''or'' <code>surname</code> ''or'' <code>last1</code> ''or'' <code>surname1</code> ''or'' <code>author1</code> ''or'' <code>author</code> ''or'' <code>authors</code>
 +
*<code>first1</code> ''or'' <code>given1</code> ''or'' <code>first</code> ''or'' <code>given</code>
 +
*<code>author-link</code> ''or'' <code>author1-link</code> ''or'' <code>authorlink</code> ''or'' <code>authorlink1</code>
 +
*<code>last2</code> ''or'' <code>surname2</code> ''or'' <code>author2</code> ''or'' <code>coauthor</code> ''or'' <code>coauthors</code>
 +
*<code>first2</code> ''or'' <code>given2</code>
 +
*<code>author2-link</code> ''or'' <code>authorlink2</code>
 +
*<code>last3</code> ''or'' <code>surname3</code> ''or'' <code>author3</code>
 +
*<code>first3</code> ''or'' <code>given3</code>
 +
*<code>author3-link</code> ''or'' <code>authorlink3</code>
 +
*<code>last4</code> ''or'' <code>surname4</code> ''or'' <code>author4</code>
 +
*<code>first4</code> ''or'' <code>given4</code>
 +
*<code>author4-link</code> ''or'' <code>authorlink4</code>
 +
*<code>last5</code> ''or'' <code>surname5</code> ''or'' <code>author5</code>
 +
*<code>first5</code> ''or'' <code>given5</code>
 +
*<code>author5-link</code> ''or'' <code>authorlink5</code>
 +
*<code>last6</code> ''or'' <code>surname6</code> ''or'' <code>author6</code>
 +
*<code>first6</code> ''or'' <code>given6</code>
 +
*<code>author6-link</code> ''or'' <code>authorlink6</code>
 +
*<code>last7</code> ''or'' <code>surname7</code> ''or'' <code>author7</code>
 +
*<code>first7</code> ''or'' <code>given7</code>
 +
*<code>author7-link</code> ''or'' <code>authorlink7</code>
 +
*<code>last8</code> ''or'' <code>surname8</code> ''or'' <code>author8</code>
 +
*<code>first8</code> ''or'' <code>given8</code>
 +
*<code>author8-link</code> ''or'' <code>authorlink8</code>
 +
*<code>last9</code> ''or'' <code>surname9</code> ''or'' <code>author9</code>
 +
*<code>year</code>
 +
*<code>origyear</code>
 +
*<code>date</code>
 +
*<code>day</code> ''and'' <code>month</code>
 +
*<code>dateformat</code>
 +
*<code>title</code>
 +
*<code>archiveurl</code>
 +
*<code>url</code>
 +
*<code>conference</code>
 +
*<code>series</code> ''or'' <code>version</code>
 +
*<code>journal</code> ''or'' <code>periodical</code> ''or'' <code>newspaper</code> ''or'' <code>magazine</code>
 +
*<code>journallink</code> ''or'' <code>periodicallink</code> ''or'' <code>newspaperlink</code> ''or'' <code>magazinelink</code>
 +
**no functionality
 +
*<code>work</code>
 +
*<code>volume</code>
 +
*<code>chapter</code>
 +
*<code>issue</code> ''or'' <code>number</code>
 +
*<code>pages</code> ''or'' <code>page</code> ''or'' <code>at</code>
 +
*<code>nopp</code>
 +
*<code>chapter-title</code> ''or'' <code>chaptertitle</code> ''or'' <code>contribution</code>
 +
*<code>chapter-url</code> ''or'' <code>chapterurl</code> ''or'' <code>contribution-url</code>
 +
*<code>others</code>
 +
*<code>edition</code>
 +
*<code>place</code> ''or'' <code>location</code>
 +
*<code>publication-place</code>
 +
*<code>publisher</code>
 +
*<code>publication-date</code>
 +
*<code>editor-last</code> ''or'' <code>editor-surname</code> ''or'' <code>editor1-last</code> ''or'' <code>editor1-surname</code> ''or'' <code>editor1</code> ''or'' <code>editor</code> ''or'' <code>editors</code>
 +
*<code>editor-first</code> ''or'' <code>editor-given</code> ''or'' <code>editor1-first</code> ''or'' <code>editor1-given</code>
 +
*<code>editor-link</code> ''or'' <code>editor1-link</code>
 +
*<code>editor2-last</code> ''or'' <code>editor2-surname</code> ''or'' <code>editor2</code>
 +
*<code>editor2-first</code> ''or'' <code>editor2-given</code>
 +
*<code>editor2-link</code>
 +
*<code>editor3-last</code> ''or'' <code>editor3-surname</code> ''or'' <code>editor3</code>
 +
*<code>editor3-first</code> ''or'' <code>editor3-given</code>
 +
*<code>editor3-link</code>
 +
*<code>editor4-last</code> ''or'' <code>editor4-surname</code> ''or'' <code>editor4</code>
 +
*<code>id</code> ''or'' <code>ID</code>
 +
*<code>isbn</code> ''or'' <code>ISBN</code>
 +
*<code>issn</code> ''or'' <code>ISSN</code>
 +
*<code>oclc</code> ''or'' <code>OCLC</code>
 +
*<code>pmid</code> ''or'' <code>PMID</code>
 +
*<code>pmc</code> ''or'' <code>PMC</code>
 +
*<code>bibcode</code>
 +
*<code>doi</code> ''or'' <code>DOI</code>
 +
*<code>doi_brokendate</code>
 +
*<code>access-date</code> ''or'' <code>accessdate</code>
 +
*<code>ref</code>
 +
*<code>archivedate</code>
  
 
=== Examples ===
 
=== Examples ===
 
;Journal articles
 
;Journal articles
{{citation | last1 = Duckett | first1 = Simon B. | last2 = Perutz | first2 = Robin N. | title = Mechanism of homogeneous hydrosilation of alkenes by (η<sup>5</sup>-cyclopentadienyl)rhodium | journal = Organometallics | year = 1992 | volume = 11 | pages = 90–98 | doi = 10.1021/om00037a022}}
+
<pre>{{citation
 +
| last1 = Duckett | first1 = Simon B. | last2 = Perutz | first2 = Robin N.
 +
| title = Mechanism of homogeneous hydrosilation of alkenes by (η<sup>5</sup>-cyclopentadienyl)rhodium
 +
| journal = Organometallics | year = 1992 | volume = 11 | pages = 90–98 | doi = 10.1021/om00037a022}}.</pre>
 +
{{citation | last1 = Duckett | first1 = Simon B. | last2 = Perutz | first2 = Robin N. | title = Mechanism of homogeneous hydrosilation of alkenes by (η<sup>5</sup>-cyclopentadienyl)rhodium | journal = Organometallics | year = 1992 | volume = 11 | pages = 90–98 | doi = 10.1021/om00037a022}}.
  
 
;Books
 
;Books
{{citation | last = Warren | first = K. | title = The Biology of Parasitism | publisher = Liss | location = New York | year = 1988 | page = 37}}
+
<pre>{{citation  
 +
| last = Warren | first = K. | title = The Biology of Parasitism  
 +
| publisher = Liss | location = New York | year = 1988 | page = 37}}.</pre>
 +
{{citation | last = Warren | first = K. | title = The Biology of Parasitism | publisher = Liss | location = New York | year = 1988 | page = 37}}.
  
 
;Book chapters
 
;Book chapters
{{citation | last = Chetcuti | first = M. J. | contribution = Heterodinuclear Compounds | title = Comprehensive Coordination Chemistry II | editor1-last = Abel | editor1-first = E. W. | editor2-last = Stone | editor2-first = F. G. A. | editor3-last = Wilkinson | editor3-first = G. W. | publisher = Pergamon | location = New York | year = 1994 | volume = 10 | pages = 23–84}}
+
<pre>{{citation  
<!--
+
| last = Chetcuti | first = M. J.  
 +
| contribution = Heterodinuclear Compounds  
 +
| title = Comprehensive Coordination Chemistry II  
 +
| editor1-last = Abel | editor1-first = E. W.  
 +
| editor2-last = Stone | editor2-first = F. G. A.  
 +
| editor3-last = Wilkinson | editor3-first = G. W.  
 +
| publisher = Pergamon | location = New York | year = 1994 | volume = 10 | pages = 23–84}}.</pre>
 +
{{citation | last = Chetcuti | first = M. J. | contribution = Heterodinuclear Compounds | title = Comprehensive Coordination Chemistry II | editor1-last = Abel | editor1-first = E. W. | editor2-last = Stone | editor2-first = F. G. A. | editor3-last = Wilkinson | editor3-first = G. W. | publisher = Pergamon | location = New York | year = 1994 | volume = 10 | pages = 23–84}}.
 +
 
 
;Patents
 
;Patents
Richter, M; Eckelt, R.; Fricke, R. (Institut der Angewadnte Chemie, Berlin). Conversion of nitrogen oxide(s) to nitrogen at low temperatures. DE Patent 19,715,475 1997; ''Chem. Abstr.'' '''1998''', ''128'', 16048''u''.
+
<pre>{{citation
 +
| inventor1-last = Richter | inventor1-first = M.
 +
| inventor2-last = Eckelt | inventor2-first = R.  
 +
| inventor3-last = Fricke | inventor3-first = R.  
 +
| assignee = Institut der Angewandte Chemie, Berlin  
 +
| title = Conversion of nitrogen oxide(s) to nitrogen at low temperatures  
 +
| country-code = DE | description = Patent | patent-number = 19715475 | publication-date = 1997}};  
 +
{{citation | journal = Chem. Abstr. | year = 1998 | volume = 128 | page = 16048''u''}}.</pre>
 +
{{citation | inventor1-last = Richter | inventor1-first = M. | inventor2-last = Eckelt | inventor2-first = R. | inventor3-last = Fricke | inventor3-first = R. | assignee = Institut der Angewandte Chemie, Berlin | title = Conversion of nitrogen oxide(s) to nitrogen at low temperatures | country-code = DE | description = Patent | patent-number = 19715475 | publication-date = 1997}}; {{citation | journal = Chem. Abstr. | year = 1998 | volume = 128 | page = 16048''u''}}.
  
 
;Conference proceedings
 
;Conference proceedings
Nowak, I; Ziolek, M. In ''Proceedings of the 3rd Polish–German Zeolite Colloquium''; Rozwadowski, M. Ed.; Nicholas Copernicus University Press: Torun, 1988; p 161.<br/>
+
<pre>{{citation
Ichikuni, N.; Iwasawa, Y. In ''New Frontiers in Catalysis''; Guszi, L., et al., Eds.; Proceedings of the 10th International Congress on Catalysis, July 19–24, Budapest; Elsevier: Amsterdam, 1992; p 477.-->
+
| last1 = Nowak | first1 = I. | last2 = Ziolek | first2 = M.  
 +
| title = Proceedings of the 3rd Polish–German Zeolite Colloquium  
 +
| editor-last = Rozwadowski | editor-first = M.
 +
| publisher = Nicholas Copernicus University Press | location = Torun | year = 1988 | page = 161}}.</pre>
 +
{{citation | last1 = Nowak | first1 = I. | last2 = Ziolek | first2 = M. | title = Proceedings of the 3rd Polish–German Zeolite Colloquium | editor-last = Rozwadowski | editor-first = M. | publisher = Nicholas Copernicus University Press | location = Torun | year = 1988 | page = 161}}.
 +
<pre>{{citation
 +
| last1 = Ichikuni | first1 = N. | last2 = Iwasawa | first2 = Y.  
 +
| title = New Frontiers in Catalysis  
 +
| editor1-last = Guszi | editor1-first = L. | editor4-last = et al.  
 +
| conference = Proceedings of the 10th International Congress on Catalysis, July 19–24, Budapest
 +
| publisher = Elsevier | location = Amsterdam | year = 1992 | page = 477}}.</pre>
 +
{{citation | last1 = Ichikuni | first1 = N. | last2 = Iwasawa | first2 = Y. | title = New Frontiers in Catalysis | editor1-last = Guszi | editor1-first = L. | editor4-last = et al. | conference = Proceedings of the 10th International Congress on Catalysis, July 19–24, Budapest | publisher = Elsevier | location = Amsterdam | year = 1992 | page = 477}}.
  
 
=== See also ===
 
=== See also ===
 +
*[[:Category:Citation templates]], pre-defined templates for citing frequently used sources.
  
 
<includeonly>
 
<includeonly>

Latest revision as of 21:24, 17 August 2009

Citation is a suite of formatting templates which produce references in ACS style for a wide variety of source documents. They also add COinS tags to the HTML code (these are invisible on the screen) to allow automated parsing of references.

{{Citation}} itself is a metatemplate which transforms a wide variety of parameter names into a standardized set for use by {{Citation/patent}} (for patents) or {{Citation/core}} (for other types of source document). It also add some formatting into page numbers, depending on the type of source document.

Usage

Parameters

Patents

  • inventor-surname or inventor1-surname or inventor-last or inventor1-last or inventor
    • one of these parameters is obligatory
  • inventor-given or inventor1-given or inventor-first or inventor1-first
  • inventorlink1 or inventorlink
  • inventor2-surname or inventor2-last or inventor2
  • inventor2-given or inventor2-first
  • inventorlink2
  • inventor3-surname or inventor3-last or inventor3
  • inventor3-given or inventor3-first
  • inventorlink3
  • inventor4-surname or inventor4-last or inventor4
  • assignee or applicant or owner or company
  • assigneelink or applicantlink or ownerlink or companylink
  • title
  • country-code
    • obligatory
  • publication-number or patent-number
    • one of these parameters is obligatory
  • description
    • eg, Patent
  • publication-date or issue-date

Other documents

  • last or surname or last1 or surname1 or author1 or author or authors
  • first1 or given1 or first or given
  • author-link or author1-link or authorlink or authorlink1
  • last2 or surname2 or author2 or coauthor or coauthors
  • first2 or given2
  • author2-link or authorlink2
  • last3 or surname3 or author3
  • first3 or given3
  • author3-link or authorlink3
  • last4 or surname4 or author4
  • first4 or given4
  • author4-link or authorlink4
  • last5 or surname5 or author5
  • first5 or given5
  • author5-link or authorlink5
  • last6 or surname6 or author6
  • first6 or given6
  • author6-link or authorlink6
  • last7 or surname7 or author7
  • first7 or given7
  • author7-link or authorlink7
  • last8 or surname8 or author8
  • first8 or given8
  • author8-link or authorlink8
  • last9 or surname9 or author9
  • year
  • origyear
  • date
  • day and month
  • dateformat
  • title
  • archiveurl
  • url
  • conference
  • series or version
  • journal or periodical or newspaper or magazine
  • journallink or periodicallink or newspaperlink or magazinelink
    • no functionality
  • work
  • volume
  • chapter
  • issue or number
  • pages or page or at
  • nopp
  • chapter-title or chaptertitle or contribution
  • chapter-url or chapterurl or contribution-url
  • others
  • edition
  • place or location
  • publication-place
  • publisher
  • publication-date
  • editor-last or editor-surname or editor1-last or editor1-surname or editor1 or editor or editors
  • editor-first or editor-given or editor1-first or editor1-given
  • editor-link or editor1-link
  • editor2-last or editor2-surname or editor2
  • editor2-first or editor2-given
  • editor2-link
  • editor3-last or editor3-surname or editor3
  • editor3-first or editor3-given
  • editor3-link
  • editor4-last or editor4-surname or editor4
  • id or ID
  • isbn or ISBN
  • issn or ISSN
  • oclc or OCLC
  • pmid or PMID
  • pmc or PMC
  • bibcode
  • doi or DOI
  • doi_brokendate
  • access-date or accessdate
  • ref
  • archivedate

Examples

Journal articles
{{citation 
| last1 = Duckett | first1 = Simon B. | last2 = Perutz | first2 = Robin N. 
| title = Mechanism of homogeneous hydrosilation of alkenes by (η<sup>5</sup>-cyclopentadienyl)rhodium 
| journal = Organometallics | year = 1992 | volume = 11 | pages = 90–98 | doi = 10.1021/om00037a022}}.

Duckett, Simon B.; Perutz, Robin N. Mechanism of homogeneous hydrosilation of alkenes by (η5-cyclopentadienyl)rhodium. Organometallics 1992, 11, 90–98. DOI: 10.1021/om00037a022.

Books
{{citation 
| last = Warren | first = K. | title = The Biology of Parasitism 
| publisher = Liss | location = New York | year = 1988 | page = 37}}.

Warren, K. The Biology of Parasitism; Liss: New York, 1988; p 37.

Book chapters
{{citation 
| last = Chetcuti | first = M. J. 
| contribution = Heterodinuclear Compounds 
| title = Comprehensive Coordination Chemistry II 
| editor1-last = Abel | editor1-first = E. W. 
| editor2-last = Stone | editor2-first = F. G. A. 
| editor3-last = Wilkinson | editor3-first = G. W. 
| publisher = Pergamon | location = New York | year = 1994 | volume = 10 | pages = 23–84}}.

Chetcuti, M. J. Heterodinuclear Compounds. In Comprehensive Coordination Chemistry II; Abel, E. W.; Stone, F. G. A.; Wilkinson, G. W., Eds.; Pergamon: New York, 1994; Vol. 10, pp 23–84.

Patents
{{citation 
| inventor1-last = Richter | inventor1-first = M. 
| inventor2-last = Eckelt | inventor2-first = R. 
| inventor3-last = Fricke | inventor3-first = R. 
| assignee = Institut der Angewandte Chemie, Berlin 
| title = Conversion of nitrogen oxide(s) to nitrogen at low temperatures 
| country-code = DE | description = Patent | patent-number = 19715475 | publication-date = 1997}}; 
{{citation | journal = Chem. Abstr. | year = 1998 | volume = 128 | page = 16048''u''}}.

Richter, M.; Eckelt, R.; Fricke, R. (Institut der Angewandte Chemie, Berlin) Conversion of nitrogen oxide(s) to nitrogen at low temperatures. DE Patent 19715475, published 26 November 1997; Chem. Abstr. 1998, 128, 16048u.

Conference proceedings
{{citation 
| last1 = Nowak | first1 = I. | last2 = Ziolek | first2 = M. 
| title = Proceedings of the 3rd Polish–German Zeolite Colloquium 
| editor-last = Rozwadowski | editor-first = M. 
| publisher = Nicholas Copernicus University Press | location = Torun | year = 1988 | page = 161}}.

Nowak, I.; Ziolek, M. In Proceedings of the 3rd Polish–German Zeolite Colloquium; Rozwadowski, M., Ed.; Nicholas Copernicus University Press: Torun, 1988; p 161.

{{citation 
| last1 = Ichikuni | first1 = N. | last2 = Iwasawa | first2 = Y. 
| title = New Frontiers in Catalysis 
| editor1-last = Guszi | editor1-first = L. | editor4-last = et al. 
| conference = Proceedings of the 10th International Congress on Catalysis, July 19–24, Budapest 
| publisher = Elsevier | location = Amsterdam | year = 1992 | page = 477}}.

Ichikuni, N.; Iwasawa, Y. In New Frontiers in Catalysis; Guszi, L., et al., Eds.; Proceedings of the 10th International Congress on Catalysis, July 19–24, Budapest; Elsevier: Amsterdam, 1992; p 477.

See also