Difference between revisions of "Template:GoldBookRef"

From blackwiki
Jump to navigation Jump to search
imported>Christian75
(Cited more like the IUPAC wants people to cite the page (look at the bottom of the IUPAC page) and moved IW to {{doc}})
imported>Christian75
(hmm missing </includeonly> (did test it in the sandbox ;-))
Line 1: Line 1:
<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-)}} "[{{{url|http://goldbook.iupac.org/{{{file}}}.html}}} {{{title}}}]".<!--
+
<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-)}} "[{{{url|http://goldbook.iupac.org/{{{file}}}.html}}} {{{title}}}]".</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 10:05, 21 December 2010

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