Difference between revisions of "Template:CheckElement"
From Linked Earth Wiki
(Created page with "<includeonly>{{#switch:{{lc:{{{1}}} }} |x|element={{#ifeq:{{lc:{{{link|}}} }} |yes |{{#if:{{{nocategory|}}} | |Category:Pages with incorrect nuclide templates use}}{...") |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch:{{lc:{{{1}}} }} | + | <includeonly>{{#switch:{{lc:{{{1}}} }} |x|element={{#ifeq:{{lc:{{{link|}}} }} |yes|{{#if:{{{nocategory|}}} | |[[Category:Pages with incorrect nuclide templates use]]}}{{FormattingError|The generic element '{{{1}}}' does not have a page to link to.|nocategory={{{nocategory|}}} }} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|aluminum | |aluminum | ||
|sulphur | |sulphur | ||
− | |cesium={{#if:{{{nocategory|}}} | |[[Category:Pages with incorrect nuclide templates use]]}} | + | |cesium={{#if:{{{nocategory|}}} | |[[Category:Pages with incorrect nuclide templates use]]}} {{FormattingError |{{{1}}} is not a [[Wikipedia:WikiProject Chemicals/Style guidelines#Element names|valid]] way to spell {{#switch:{{lc:{{{1}}} }} |aluminum=aluminium |sulphur=sulfur |cesium=caesium}}. |
− | + | |nocategory={{{nocategory|}}} }} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|mu|muonium= | |mu|muonium= | ||
|ps|positronium= | |ps|positronium= | ||
Line 147: | Line 136: | ||
|ubh|unbihexium= | |ubh|unbihexium= | ||
|ubs|unbiseptium= | |ubs|unbiseptium= | ||
− | |#default={{#if:{{{nocategory|}}} | |[[Category:Pages with incorrect nuclide templates use]]}} | + | |#default={{#if:{{{nocategory|}}} | |[[Category:Pages with incorrect nuclide templates use]]}} {{FormattingError |unknown element {{{1}}}.|nocategory={{{nocategory|}}} }} }} |
− | + | </includeonly> | |
− | + | ||
− | + | ||
− | + |