Difference between revisions of "Template:Element"

From Conservapedia
Jump to navigation Jump to search
m (Unprotected "Template:Element": User:ElizabethK would like to edit)
m
 
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
!colspan="2" align="center" style="color: black; font-size: 120%; height: 20px; background: Silver no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}'''
 
!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}}}
+
<!----------Image---------->
 +
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|200px]]|}}
 +
{{!-}}
 +
|-
 +
{{#if:{{{caption|}}}|
 +
{{!}} colspan="2" style="border-bottom: 1px solid #aaa; text-align:center;" {{!}} {{{caption}}}
 +
{{!-}}
 +
}}
 +
!colspan="2" style="text-align:center; height: 24px;line-height:24px;background:#DCDCDC;"|Properties
 
|-
 
|-
−
| '''Symbol''' || {{{symbol|Unknown}}}
+
<!----Atomic symbol------->
−
|-
+
{{#if:{{{symbol|}}} | <!--then:-->
−
| '''[[Atomic number]]''' || {{{anumber|Unknown}}}
+
{{!}} '''Atomic symbol'''
−
|-
+
{{!}} {{{symbol|}}} | <!--else-->
−
| '''[[Atomic mass]]''' || {{{amass|Unknown}}}
+
}}
−
|-
+
{{!-}}
−
<!----Normal state ------->
+
<!----Atomic number------->
−
{{#if:{{{state|}}} | <!--then:-->
+
{{#if:{{{amass|}}} | <!--then:-->
−
{{!}} '''Normal state '''
+
{{!}} '''Atomic number'''
−
{{!}} {{{state|}}} | <!--else-->
+
{{!}} {{{anumber|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 22: Line 30:
 
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!---Crystal structure---->
+
<!----Atomic mass------->
−
{{#if:{{{cstructure|}}} | <!--then:-->
+
{{#if:{{{amass|}}} | <!--then:-->
−
{{!}} '''Crystal structure'''
+
{{!}} '''Atomic mass'''
−
{{!}} {{{cstructure|}}} | <!--else-->
+
{{!}} {{{amass|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!-------Number of Stable Isotopes ----------->
 +
{{#if:{{{stableisotopes|}}} | <!--then:-->
 +
{{!}} '''Number of Stable Isotopes'''
 +
{{!}} {{{stableisotopes|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!-------Color ----------->
+
<!-------Number of unstable Isotopes ----------->
−
{{#if:{{{color|}}} | <!--then:-->
+
{{#if:{{{unstableisotopes|}}} | <!--then:-->
−
{{!}} '''Color'''
+
{{!}} '''Number of Unstable Isotopes'''
−
{{!}} {{{color|}}} | <!--else-->
+
{{!}} {{{unstableisotopes|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
 +
<!----Melting point------->
 +
{{#if:{{{meltingpoint|}}} | <!--then:-->
 +
{{!}} '''Melting point (°C)'''
 +
{{!}} {{{meltingpoint|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!---Boiling point---->
 +
{{#if:{{{boilingpoint|}}} | <!--then:-->
 +
{{!}} '''Boiling point (°C)'''
 +
{{!}} {{{boilingpoint|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!-------Density ----------->
 +
{{#if:{{{density|}}} | <!--then:-->
 +
{{!}} '''Density (grams per cc)'''
 +
{{!}} {{{density|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!-------Hardness----------->
 +
{{#if:{{{hardness|}}} | <!--then:-->
 +
{{!}} '''Hardness (Moh's scale)'''
 +
{{!}} {{{hardness|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!-------Abundance----------->
 +
{{#if:{{{abundance|}}} | <!--then:-->
 +
{{!}} '''Abundance in lithosphere (%)'''
 +
{{!}} {{{abundance|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!-------Oxidation----------->
 +
{{#if:{{{oxidation|}}} | <!--then:-->
 +
{{!}} '''Oxidation states'''
 +
{{!}} {{{oxidation|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
!colspan="2" style="text-align:center; height: 24px;line-height:24px;background:#DCDCDC;"|Other Information
 +
|-
 
<!-------Discovered------->
 
<!-------Discovered------->
 
{{#if:{{{date|}}} | <!--then:-->
 
{{#if:{{{date|}}} | <!--then:-->
Line 70: Line 122:
 
{{Parms|
 
{{Parms|
 
  {{Parm|name      |Name              |yes| }}
 
  {{Parm|name      |Name              |yes| }}
−
  {{Parm|symbol    |Chemical symbol  |yes| }}
+
{{Parm|image    |Image            |yes| }}
−
  {{Parm|anumber  |Atomic Number     |yes| }}
+
{{Parm|caption  |Caption          |yes| }}
−
  {{Parm|amass     |Atomic Mass       |yes| }}
+
  {{Parm|symbol    |Atomic symbol  |yes| }}
−
  {{Parm|state     |Normal state      |no |at room temperature }}
+
  {{Parm|anumber   |Atomic number   |yes| }}
−
  {{Parm|class    |Classification    |no | }}
+
{{Parm|class    |Classification    |no | Classification of the element within its grouping}}
−
  {{Parm|cstructure|Crystal structure |no |if appropriate }}
+
{{Parm|amass    |Atomic mass     |yes| aka atomic weight}}
−
  {{Parm|color    |Color            |no |if appropriate }}
+
  {{Parm|stableisotopes|Stable isotopes|no | }}
 +
{{Parm|unstableisotopes|Unstable isotopes|no | }}
 +
{{Parm|meltingpoint     |Melting point       |yes| Fahrenheit is an option, within parenthesis }}
 +
  {{Parm|boilingpoint     |Boiling point      |yes| Fahrenheit is an option, within parenthesis}}
 +
{{Parm|density  |Density          |no |g / cm^3 }}
 +
  {{Parm|hardness  |Hardness          |yes| }}
 +
  {{Parm|abundance  |Abundance          |yes| }}
 +
  {{Parm|oxidation  |Oxidation          |yes| }}
 
  {{Parm|date      |Date of discovery |no | }}
 
  {{Parm|date      |Date of discovery |no | }}
 
  {{Parm|discname  |Name of discoverer|no | }}
 
  {{Parm|discname  |Name of discoverer|no | }}
Line 89: Line 148:
 
<nowiki>{{</nowiki>Element  
 
<nowiki>{{</nowiki>Element  
 
| name=  
 
| name=  
 +
| image=
 +
| caption=
 
| symbol=
 
| symbol=
−
| anumber=
+
| anumber=
−
| amass=
 
−
| state=  
 
 
| class=
 
| class=
−
| cstructure=
+
| amass=  
−
| color=
+
| stableisotopes=
 +
| unstableisotopes=
 +
| meltingpoint=
 +
| boilingpoint=
 +
| density=
 +
| hardness=
 +
| abundance=
 +
| oxidation=
 
| date=  
 
| date=  
 
| discname=
 
| discname=

Latest revision as of 10:11, August 31, 2019

Element
Properties
Other Information

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
image Image yes
caption Caption yes
symbol Atomic symbol yes
anumber Atomic number yes
class Classification no Classification of the element within its grouping
amass Atomic mass yes aka atomic weight
stableisotopes Stable isotopes no
unstableisotopes Unstable isotopes no
meltingpoint Melting point yes Fahrenheit is an option, within parenthesis
boilingpoint Boiling point yes Fahrenheit is an option, within parenthesis
density Density no g / cm^3
hardness Hardness yes
abundance Abundance yes
oxidation Oxidation yes
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= 
| image=
| caption=
| symbol=
| anumber=
| class=
| amass= 
| stableisotopes=
| unstableisotopes=
| meltingpoint=
| boilingpoint= 
| density=
| hardness=
| abundance=
| oxidation=
| date= 
| discname=
| origname=
| uses=
| obtained=
}}