| Line 1: |
Line 1: |
| − | {| class="wikitable" style="width:40%" align="right" border="1" | + | {| class="infobox bordered" style="float: width:23em; right; margin: 0 0 0.5em 0.5em; text-align: left; font-size: 85%; margin-left:5px" border=1 align="right" cellpadding="2" cellspacing="0" width="250" |
| − | |+ '''Element Info''' | + | !style="background:silver; text-align: center; font-size:120%; " colspan=2|'''Element Info''' |
| | |- | | |- |
| − | | Name || {{{name}}} | + | |width=40%| Name || {{{name|Unknown}}} |
| | |- | | |- |
| − | | Symbol || {{{symbol}}} | + | | Symbol || {{{symbol|Unknown}}} |
| | |- | | |- |
| − | | [[Atomic Number]] || {{{anumber}}} | + | | [[Atomic Number]] || {{{anumber|Unknown}}} |
| | |- | | |- |
| − | | [[Atomic Mass]] || {{{amass}}} | + | | [[Atomic Mass]] || {{{amass|Unknown}}} |
| | |- | | |- |
| − | | Normal state || {{{state}}}
| + | <!----Normal state -------> |
| − | |-
| + | {{#if:{{{state|}}} | <!--then:--> |
| − | | Classification || {{{class}}}
| + | {{!}} '''Normal state ''' |
| − | |-
| + | {{!}} [[{{{state|}}}]] | <!--else--> |
| − | | Crystal structure || {{{cstructure}}}
| + | }} |
| − | |-
| + | {{!-}} |
| − | | Color || {{{color}}}
| + | <!----Classification------> |
| − | |- | + | {{#if:{{{class|}}} | <!--then:--> |
| − | | Date of Discovery || {{{date}}}
| + | {{!}} '''Classification''' |
| − | |- | + | {{!}} [[{{{class|}}}]] | <!--else--> |
| − | | Name of Discoverer || {{{discname}}}
| + | }} |
| − | |-
| + | {{!-}} |
| − | | Name Origin || {{{origname}}}
| + | <!---Crystal structure----> |
| − | |-
| + | {{#if:{{{cstructure|}}} | <!--then:--> |
| − | | Uses || {{{uses}}}
| + | {{!}} '''Crystal structure''' |
| − | |-
| + | {{!}} [[{{{cstructure|}}}]] | <!--else--> |
| − | | Obtained from || {{{obtained}}}
| + | }} |
| | + | {{!-}} |
| | + | <!-------Color -----------> |
| | + | {{#if:{{{color|}}} | <!--then:--> |
| | + | {{!}} '''Color''' |
| | + | {{!}} [[{{{color|}}}]] | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!-------Discovered-------> |
| | + | {{#if:{{{date|}}} | <!--then:--> |
| | + | {{!}} '''Date of discovery''' |
| | + | {{!}} {{{date|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!-------Discoverer-------> |
| | + | {{#if:{{{discname|}}} | <!--then:--> |
| | + | {{!}} '''Name of discoverer''' |
| | + | {{!}} [[{{{discname|}}}]] | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!------Name origin-------> |
| | + | {{#if:{{{origname|}}} | <!--then:--> |
| | + | {{!}} '''Name origin''' |
| | + | {{!}} {{{origname|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!---------Uses-----------> |
| | + | {{#if:{{{uses|}}} | <!--then:--> |
| | + | {{!}} '''Uses''' |
| | + | {{!}} {{{uses|}}} | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | + | <!-----Obtained from------> |
| | + | {{#if:{{{obtained|}}} | <!--then:--> |
| | + | {{!}} '''Obtained from''' |
| | + | {{!}} [[{{{obtained|}}}]] | <!--else--> |
| | + | }} |
| | + | {{!-}} |
| | |} | | |} |
| | <includeonly>[[Category:Elements]]</includeonly> | | <includeonly>[[Category:Elements]]</includeonly> |
| Line 32: |
Line 69: |
| | {{TemplateDoc|pages=Element articles|purpose=Infobox|cat=Elements}} | | {{TemplateDoc|pages=Element articles|purpose=Infobox|cat=Elements}} |
| | {{Parms| | | {{Parms| |
| − | {{Parm|Various, as shown above|As shown above|yes}} | + | {{Parm|name|Name|yes| }} |
| | + | {{Parm|symbol|Chemical symbol|yes| }} |
| | + | {{Parm|anumber|Atomic Number|yes| }} |
| | + | {{Parm|amass|Atomic Mass|yes| }} |
| | + | {{Parm|state|Normal state|no|at room temperature }} |
| | + | {{Parm|class|Classification|no| }} |
| | + | {{Parm|cstructure|Crystal structure|no|if appropriate }} |
| | + | {{Parm|color|Color|no|if appropriate }} |
| | + | {{Parm|date|Date of discovery |no| }} |
| | + | {{Parm|discname|Name of discoverer|no|linked }} |
| | + | {{Parm|origname|Name origin |no| }} |
| | + | {{Parm|uses|Uses|no| }} |
| | + | {{Parm|obtained|Obtained from |no| }} |
| | }} | | }} |
| | + | |
| | + | ===Sample Data Block=== |
| | + | The following may be copied and pasted at the top of the page being edited |
| | + | <pre> |
| | + | <nowiki>{{</nowiki>Element |
| | + | | name= |
| | + | | symbol= |
| | + | | anumber= |
| | + | | amass= |
| | + | | state= |
| | + | | class= |
| | + | | cstructure= |
| | + | | color= |
| | + | | date= |
| | + | | discname= |
| | + | | origname= |
| | + | | uses= |
| | + | | obtained= |
| | + | <nowiki>}}</nowiki></pre> |
| | </noinclude> | | </noinclude> |