Difference between revisions of "Template:GoldBookRef"

From blackwiki
Jump to navigation Jump to search
imported>Headbomb
(|doi={{#if:{{{file}}}|10.1351/goldbook.{{{file}}}|{{{doi|}}}}})
imported>Christian75
(Reverted to revision 461174852 by Christian75: Breaks doi if url= is given in template call. (TW))
Line 1: Line 1:
<includeonly>{{cite book
+
<includeonly>[[International Union of Pure and Applied Chemistry|IUPAC]], ''[[Compendium of Chemical Terminology]]'', 2nd ed. (the "Gold Book") (1997). Online corrected version: {{#if:{{{year|}}}|&nbsp;({{{year}}})|&nbsp;(2006&ndash;)}} "[{{{url|http://goldbook.iupac.org/{{{file}}}.html}}} {{{title}}}]".</includeonly><!--
|editor1-last=Nic |editor1-first=M.
 
|editor2-last=Jirat |editor2-first=J.
 
|editor3-last=Kosata |editor3-first=B.
 
|year=2006–
 
|chapter={{{title}}}
 
|chapterurl={{{url|http://goldbook.iupac.org/{{{file}}}.html}}}
 
|title=[[IUPAC Compendium of Chemical Terminology]]
 
|edition=Online
 
|isbn=0-9678550-9-8
 
|doi={{#if:{{{file}}}|10.1351/goldbook.{{{file}}}|{{{doi|}}}}}
 
|accessdate={{{accessdate|}}}
 
}}</includeonly><!--
 
 
--><noinclude>{{documentation}}
 
--><noinclude>{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 22:26, 12 April 2013

Template documentation[view] [edit] [history] [purge]

GoldBookRef is for referencing the Internet version of the IUPAC Compendium of Chemical Terminology, more commonly known as the Gold Book. Parameters are:

  • |title= (required): Title of the Gold Book entry
  • |file= (required): File number at goldbook.iupac.org in the form (e.g. |file=A00037)
    • |url= (optional): Full URL of the electronic version, overrides the default generated from the |file= parameter
  • |doi= (optional): The digital object identifier of the entry (e.g. |doi=10.1351/goldbook.A00046), overrides the default generated from the |file= parameter
  • |year= (optional): The year (edition) of the Gold Book online edition, overrides a default value
  • |accessdate= (optional): The date the definition was checked

Articles with parameter errors are placed in Category:Articles with incorrect citation syntax.

Usage

{{GoldBookRef|title=Molecule|file=M04002}}

IUPAC, Compendium of Chemical Terminology, 2nd ed. (the "Gold Book") (1997). Online corrected version:  (2006–) "Molecule".

See also