Bruger:John.St/Kladde9/doc
Udseende
Brug
[redigér | rediger kildetekst]Se også
[redigér | rediger kildetekst]Dette er dokumentationsundersiden til Bruger:John.St/Kladde9. Denne side indeholder information om brug, kategorier samt andet indhold, som ikke er en del af den oprindelige bruger skabelonside. |
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
[redigér | rediger kildetekst]{{LinkForElement|Mercury}}
will return "Skabelon:LinkForElement"{{LinkForElement|Uranium|238}}
will return "Skabelon:LinkForElement"
When using a common name for an element that goes against the Wikipedia style guide for element names, a warning message will inform the editor about this. There are currently three such names:
{{LinkForElement|Aluminum}}
will return "Skabelon:LinkForElement"{{LinkForElement|Sulphur}}
will return "Skabelon:LinkForElement"{{LinkForElement|Cesium}}
will return "Skabelon:LinkForElement"
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
[redigér | rediger kildetekst]- {{CheckElement}}
- {{SymbolForElement}}
- {{ProtonsForElement}}
- {{NeutronsForElement}}