Difference between revisions of "Template:Element"
Jump to navigation
Jump to search
m (debug) |
(unlink crystal structure) |
||
| Line 1: | Line 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="300" | {| 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="300" | ||
| − | !style=" | + | !colspan="2" align="center" style="color: black; font-size: 120%; height: 20px; background: Silver no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}''' |
|- | |- | ||
|width=40%| '''Name''' || {{{name|Unknown}}} | |width=40%| '''Name''' || {{{name|Unknown}}} | ||
| Line 25: | Line 25: | ||
{{#if:{{{cstructure|}}} | <!--then:--> | {{#if:{{{cstructure|}}} | <!--then:--> | ||
{{!}} '''Crystal structure''' | {{!}} '''Crystal structure''' | ||
| − | {{!}} | + | {{!}} {{{cstructure|}}} | <!--else--> |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 69: | Line 69: | ||
{{TemplateDoc|pages=Element articles|purpose=Infobox|cat=Elements}} | {{TemplateDoc|pages=Element articles|purpose=Infobox|cat=Elements}} | ||
{{Parms| | {{Parms| | ||
| − | {{Parm|name|Name|yes| }} | + | {{Parm|name |Name |yes| }} |
| − | {{Parm|symbol|Chemical symbol|yes| }} | + | {{Parm|symbol |Chemical symbol |yes| }} |
| − | {{Parm|anumber|Atomic Number|yes| }} | + | {{Parm|anumber |Atomic Number |yes| }} |
| − | {{Parm|amass|Atomic Mass|yes| }} | + | {{Parm|amass |Atomic Mass |yes| }} |
| − | {{Parm|state|Normal state|no|at room temperature }} | + | {{Parm|state |Normal state |no |at room temperature }} |
| − | {{Parm|class|Classification|no| }} | + | {{Parm|class |Classification |no | }} |
| − | {{Parm|cstructure|Crystal structure|no|if appropriate }} | + | {{Parm|cstructure|Crystal structure |no |if appropriate }} |
| − | {{Parm|color|Color|no|if appropriate }} | + | {{Parm|color |Color |no |if appropriate }} |
| − | {{Parm|date|Date of discovery |no| }} | + | {{Parm|date |Date of discovery |no | }} |
| − | {{Parm|discname|Name of discoverer|no| }} | + | {{Parm|discname |Name of discoverer|no | }} |
| − | {{Parm|origname|Name origin |no| }} | + | {{Parm|origname |Name origin |no | }} |
| − | {{Parm|uses|Uses|no| }} | + | {{Parm|uses |Uses |no | }} |
| − | {{Parm|obtained|Obtained from |no| }} | + | {{Parm|obtained |Obtained from |no | }} |
}} | }} | ||
Revision as of 19:22, July 15, 2007
| Element | |
|---|---|
| Name | Unknown |
| Symbol | Unknown |
| Atomic number | Unknown |
| Atomic mass | Unknown |
| Template: Element | |
|---|---|
| Use on | Element articles |
| Use for | Infobox |
| Category template applies to page | Elements |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | Name | yes | |
| symbol | Chemical symbol | yes | |
| anumber | Atomic Number | yes | |
| amass | Atomic Mass | yes | |
| state | Normal state | no | at room temperature |
| class | Classification | no | |
| cstructure | Crystal structure | no | if appropriate |
| color | Color | no | if appropriate |
| date | Date of discovery | no | |
| discname | Name of discoverer | no | |
| origname | Name origin | no | |
| uses | Uses | no | |
| obtained | Obtained from | no | |
Sample Data Block
The following may be copied and pasted at the top of the page being edited
{{Element
| name=
| symbol=
| anumber=
| amass=
| state=
| class=
| cstructure=
| color=
| date=
| discname=
| origname=
| uses=
| obtained=
}}