Predloga:LinkForElement/dok

Iz Wikipedije, proste enciklopedije

Template that returns the Wikipedia page for an element given its name or the Wikipedia page for an isotope given the element's name and its mass number.

Example usage[uredi kodo]

  • {{LinkForElement|Tantal}} will return "tantal (element)"
  • {{LinkForElement|Uran|238}} will return "uran-238"


Because the output of this script is expected to get used in a link and any error message this script outputs will also contain links, the error message will look corrupt. It is recommended that you use {{CheckElement}} to check that no error message will be output before using this template. If {{CheckElement}} returns an error message, you should output that error message instead.

See also[uredi kodo]