پرش به محتوا

الگو:Nist

از ویکی‌پدیا، دانشنامهٔ آزاد


توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

This template produces a citation to the NIST Chemistry WebBook. All parameters are optional. By default, the template produces a generic citation to the WebBook:

Linstrom, P.J.; Mallard, W.G. (eds.) NIST Chemistry WebBook, NIST Standard Reference Database Number 69. National Institute of Standards and Technology, Gaithersburg MD. http://webbook.nist.gov

To link to a specific substance, the id parameter needs to be supplied. An example using all available parameters is the following:

{{nist |name=Ammonium chloride |id=C12125029 |accessdate=2008 |mask=1F |units=CAL}}

Which renders as:

Ammonium chloride in Linstrom, P.J.; Mallard, W.G. (eds.) NIST Chemistry WebBook, NIST Standard Reference Database Number 69. National Institute of Standards and Technology, Gaithersburg MD. http://webbook.nist.gov (retrieved 2008)
id
the NIST id for the substance (can be obtained from the URL).
name
the name of the substance, used for the link name. If not present, the ID will be used as a name.
accessdate
this can be useful because the WebBook could change as data is updated.
units
either CAL (for calorie-based units) or SI. The default is SI.
mask
this can be obtained from the URL and determines which sort of data is displayed. The current meaning of this field is a hexadecimal number resulting from the sum of the following bits:
1    Gas phase thermochemical data
2    Condensed phase thermochemistry data
4    Phase change data
8    Reaction thermochemistry data
20   Gas phase ion energetics data
40   Ion clustering data
80   IR Spectrum
200  Mass spectrum (electron ionization)
800  Vibrational and/or electronic energy levels
2000 Gas Chromatography

so a way of including just about everything would be to use a mask value of FFFF.

Note: There is always a risk that NIST may change the structure of the website and the query parameters. But at least using a template instead of just using a URL ensures that the links from Wikipedia are centralized and hopefully easier to fix.

See also

[ویرایش]