defzone.net@gmail.comLiên hệ
DZ
DefZone.Net

Kien thuc cong nghe & giai tri

Bai vietDia diemAlbum anhGameCua hang
  1. Home
  2. Wiki
Template documentation[view] [edit] [history] [purge]

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

[edit]
  • {{LinkForElement|Mercury}} will return "mercury (element)"
  • {{LinkForElement|Uranium|238}} will return "uranium-238"

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 "Aluminum is not a valid way to spell aluminium."
  • {{LinkForElement|Sulphur}} will return "Sulphur is not a valid way to spell sulfur."
  • {{LinkForElement|Cesium}} will return "Cesium is not a valid way to spell caesium."

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.

Template Data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:LinkForElement in articles based on its TemplateData.

TemplateData for LinkForElement

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
33

no description

Unknownoptional
nocategorynocategory

no description

Unknownoptional


See also

[edit]
  • v
  • t
  • e
Periodic table templates and files
  • {{Navbox periodic table}} {{Sidebar periodic table}}
Column counts are columns only that contain elements. "Compact cells" denote cells with element symbol only, have navbox style and the table fits basic wiki page width (1024×768). "Detailed cells" have more data, and may cause page width excess (scroll bar added). "Extended" periodic tables are about theoretical periods 8 and higher (element 119 and higher).
Table forms
Standard
  • 18 columns: {{Basic}}
  • {{Micro cells (bare)}}
  • image:Periodic table
  • 32 columns: {{Micro cells (box)}}
    • {{bare}}
  • {{Compact}}
Extended
  • Standard
  • {{Extended, 32 columns, navbox}}
  • by Aufbau
  • {{50 columns, compact}}
Alternative
structure
  • Left step by Janet: {{Left step (with shell filling sequence)}}
Element
properties
Data
  • {{Element data pages}}
  • Category:Infobox element data sets (46)
    • {{overview}}
  • {{Boiling point}}
  • {{Melting point}}
Variants
  • {{Transuranium element}}
Electron
configuration
  • {{Electron configuration}}
  • {{Electronegativity by Allen scale}}
  • {{Electronegativity by Pauling scale}}
Groups
  • {{Group names}}
  • {{Alkali metals}}
  • {{Alkaline earth metals}}
  • {{Group 3 elements}}
  • {{Group 4 elements}}
  • {{Group 5 elements}}
  • {{Group 6 elements}}
  • {{Group 7 elements}}
  • {{Group 8 elements}}
  • {{Group 9 elements}}
  • {{Group 10 elements}}
  • {{Group 11 elements}}
  • {{Group 12 elements}}
  • {{Boron group elements}}
  • {{Carbon group elements}}
  • {{Pnictogens}}
  • {{Chalcogens}}
  • {{Halogens}}
  • {{Noble gases}}
Blocks
  • g-block
  • image:blocks (32 columns)
Metal–metalloid–nonmetal
  • {{lanthanides}}
  • {{metalloids}}
Themes
  • {{By nutritional elements}}
  • {{By Goldschmidt classification}}
  • {{By bonding}}
  • {{Chinese name}}
 
Chemical compounds
  • {{Acetates}}
  • {{Antimonides}}
  • {{Arsenates}}
  • {{Arsenides}}
  • {{Azides}}
  • {{Bismuthides}}
  • {{Borates}}
  • {{Borides}}
  • {{Bromates}}
  • {{Bromides}}
  • {{Carbides}}
  • {{Carbonates}}
  • {{Chlorates}}
  • {{Chlorides}}
  • {{Chlorites}}
  • {{Cyanates}}
  • {{Cyanides}}
  • {{Fluorides}}
  • {{Hydroxides}}
  • {{Hypochlorites}}
  • {{Iodates}}
  • {{Iodides}}
  • {{Nitrates}}
  • {{Nitrides}}
  • {{Nitrites}}
  • {{Oxalates}}
  • {{Ozonides}}
  • {{Perbromates}}
  • {{Perchlorates}}
  • {{Periodates}}
  • {{Permanganates}}
  • {{Peroxides}}
  • {{Perrhenates}}
  • {{Persulfates}}
  • {{Phosphates}}
  • {{Phosphides}}
  • {{Selenates}}
  • {{Selenides}}
  • {{Selenites}}
  • {{Silicides}}
  • {{Sulfates}}
  • {{Sulfides}}
  • {{Sulfites}}
  • {{Tellurides}}
  • {{Tellurites}}
  • {{Titanates}}
  • {{Tungstates}}
    • Category:Chemical compound templates (10)
Legends
  • {{periodic table legend}} (multiple themes)
  • {{element color}} (hardcoded)
Formatting
  • {{cell}}
  • {{cell/navbox}}
  • {{cell-named}}
  • {{with image (picture)}}
  • {{cell-PyMOL}}
  • {{cell property}} (value option)
  • {{article quality}}
Navigation
  • Mainspace:{{Navbox periodic table}} (text)
  • {{Periodic table (navbox)}} (PT)
  • {{Sidebar navbox}}
  • {{PT index to isotopes articles}}
  • {{Navbox element data}}
  • Not for mainspace: {{PT index to element pages}}
  • {{Isotopes-of pages inline}}
WikiProject and maintenance
  • {{article quality}}
    • png image
  • {{article importance}}
  • {{Recent changes in WP:Elements}}
Not normalised
{{Periodic table (Reihen and periods)}}
Images (commons)
commons:Category:Periodic tables using the enwiki classifications
Infoboxes
  • {{Infobox element}} (basic)
  • {{Index to chemical element pages}}
  • Category:Infobox element templates
  • {{Periodic table (32 columns, micro)}}
    • {{extension 119+}}
    • {{element cell}}
Nuclide templates
  • {{CheckElement}}
  • {{LinkForElement}}
  • {{NeutronsForElement}}
  • {{ProtonsForElement}}
  • {{SymbolForElement}}
Files and images
  • PT overview, 18 col
  • PT overview, 32 col
  • {{PT with pictures}}
  • article value
  • page views
  • Monoisotopes
  • Synthetic elements
  • Superheavy elements in PT
Isotopes
  • {{index}} (by periodic table)
  • {{Isotope sequence}}
  • {{stub}}
  • {{colour chart}}
  • {{Infobox isotope}}
  • PT half-life
  • Category:Isotope table templates
    • Detail
  • Category:Periodic table templates (52)
  • {{Index to chemical element pages}}
  • WikiProject Elements
    • talk
The above documentation is transcluded from Template:LinkForElement/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
DZ
DefZone.Net

Noi chia se kien thuc, huong dan va kham pha cong nghe.

Lien ket nhanh

Trang chủBài viếtWikiCửa hàngLiên hệ

Liên hệ

Email: defzone.net@gmail.com
Điện thoại: +84 762 559 696
Địa chỉ: Thiên Hương, Thủy Nguyên, Hải Phòng

Đăng ký nhận tin

Nhận bài viết và cập nhật mới nhất qua email.

© 2025 DefZone.Net. All rights reserved.
PrivacyTermsSitemap