Template:Nuclide templates/doc

This section:

The Nuclide templates are to be used for displaying nuclide, isotope and element symbols, specifically in formulae. They can optionally link to the page for the specific nuclide, isotope or element. Here is a list of the various templates and some sample output for carbon-12, with and without links enabled:
 * {| class="wikitable"

! Template ! ! Without link ! With link yes
 * - style="height:2em;"
 * Chem2(to improve)
 * style="text-align:right" | C
 * style="text-align:right" | C
 * - style="height:2em;"
 * SimpleNuclide
 * style="text-align:right" | 12Carbon
 * style="text-align:right" | 12Carbon
 * - style="height:2em;"
 * Nuclide
 * style="text-align:right" |
 * style="text-align:right" |
 * - style="height:2em;"
 * ComplexNuclide
 * style="text-align:right" |
 * style="text-align:right" |
 * - style="height:2em;"
 * ComplexNuclide
 * style="text-align:right" |
 * style="text-align:right" |
 * }
 * ComplexNuclide
 * style="text-align:right" |
 * style="text-align:right" |
 * }
 * }

Arguments
All the templates accept the same arguments.

Examples

 * {| border = 0

See User:SkyLined/List of nuclei for a list of all elements supported by these templates.
 * - style="height:2em;"
 * || Carbon
 * - style="height:2em;"
 * || 14Carbon
 * - style="height:2em;"
 * || Carbon
 * - style="height:2em;"
 * || Carbon
 * - style="height:2em;"
 * || 14Carbon
 * - style="height:2em;"
 * || 12Carbon
 * - style="height:2em;"
 * - style="height:2em;"
 * }
 * }
 * }

Dependencies

 * All of these templates use ProtonsForElement to check if the element name is valid and, if the link=yes argument is used, check if you're not using the generic "X" or "element".
 * Some of these templates use ProtonsForElement to get the element number for a given element.
 * Some of these templates use NeutronsForElement to get the default number of neutrons for a given element.
 * Some of these templates use both ProtonsForElement and NeutronsForElement to get the default mass number for a given element.
 * These templates use LinkForElement to get the page to link to if the link=yes argument is used.
 * These templates use Physics particle to create the HTML output in order to maintain a similar look and feel for all physics symbols.

Incorrect use
Pages that use these templates incorrectly will be added to Category:Pages with incorrect nuclide templates use. Please check there occasionally to make sure there aren't any.

Here are some samples of error messages: