Changes

Jump to navigation Jump to search
3,666 bytes added ,  16:45, December 22, 2008
m
Protected "Template:Mineral": policy [edit=sysop:move=sysop] [cascading]
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="300"
|+ '''{{{name}}}'''
+
!colspan="2" align="center" style="color: white; font-size: 120%; height: 20px; background: SeaGreen no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
|colspan=2 align=center| {{{Image}}}
+
<!----------Image---------->
 +
{{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|280x280px]]|}}
 +
{{!-}}
 +
<!----Chemical name------->
 +
{{#if:{{{cdesc|}}} | <!--then:-->
 +
{{!}} width=40% {{!}}'''Chemical name'''
 +
{{!}} {{{cdesc|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Chemical formula---->
 +
{{#if:{{{formula|}}} | <!--then:-->
 +
{{!}} '''[[Chemical formula]]'''
 +
{{!}} {{{formula|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
|colspan="2" align="center" style="color: black; font-size: 100%; height: 18px; background: DarkSeaGreen no-repeat scroll top left;"| '''Identification'''
 
|-
 
|-
| Chemical description || {{{cdesc}}}
+
<!----Birefringence------->
|-
+
{{#if:{{{birefringence|}}} | <!--then:-->
| [[Chemical_compound#Chemical_Formula| Chemical formula]] || {{{formula}}}
+
{{!}} '''[[Birefringence]]'''
|-
+
{{!}} {{{birefringence|}}} | <!--else-->
|colspan=2 align=center| '''Identification'''
+
}}
|-
+
{{!-}}
| [[Birefringence]] || {{{birefringence}}}
+
<!-------Colors----------->
|-
+
{{#if:{{{colors|}}} | <!--then:-->
| [[Colors]] || {{{colors}}}
+
{{!}} '''[[Color]]s'''
|-
+
{{!}} {{{colors|}}} | <!--else-->
| [[Crystal habit]] || {{{chabit}}}
+
}}
|-
+
{{!-}}
| [[Crystal system]] || {{{csystem}}}
+
<!----Crystal habit ------>
|-
+
{{#if:{{{chabit|}}} | <!--then:-->
| [[cleavage planes|Cleavage]] || {{{cleavage}}}
+
{{!}} '''[[Crystal habit]]'''
|-
+
{{!}} {{{chabit|}}} | <!--else-->
| [[Dispersion]] || {{{dispersion}}}
+
}}
|-
+
{{!-}}
| [[Fracture]] || {{{fracture}}}
+
<!----Crystal system------>
|-
+
{{#if:{{{csystem|}}} | <!--then:-->
| [[Hardness]] || {{{hardness}}}
+
{{!}} '''[[Crystal system]]'''
|-
+
{{!}} {{{csystem|}}} | <!--else-->
| [[Luster]] || {{{luster}}}
+
}}
|-
+
{{!-}}
| [[Luminescence]] || {{{luminescence}}}
+
<!----Cleavage------------>
|-
+
{{#if:{{{cleavage|}}} | <!--then:-->
| [[Name Origin]] || {{{nameorigin}}}
+
{{!}} '''[[Cleavage planes|Cleavage]]'''
|-
+
{{!}} {{{cleavage|}}} | <!--else-->
| [[Optics]] || {{{optics}}}
+
}}
|-
+
{{!-}}
| [[Pleochroism]] || {{{pleochroism}}}
+
<!----Dispersion---------->
|-
+
{{#if:{{{dispersion|}}} | <!--then:-->
| [[Specific Gravity]] || {{{sgravity}}}
+
{{!}} '''[[Dispersion]]'''
|-
+
{{!}} {{{dispersion|}}} | <!--else-->
| [[Spectral]] || {{{spectral}}}
+
}}
|-
+
{{!-}}
| [[Streak]] || {{{streak}}}
+
<!----Fracture------------>
 +
{{#if:{{{fracture|}}} | <!--then:-->
 +
{{!}} '''[[Fracture]]'''
 +
{{!}} {{{fracture|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Hardness------------>
 +
{{#if:{{{hardness|}}} | <!--then:-->
 +
{{!}} '''[[Hardness]]'''
 +
{{!}} {{{hardness|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Luster-------------->
 +
{{#if:{{{luster|}}} | <!--then:-->
 +
{{!}} '''[[Luster]]'''
 +
{{!}} {{{luster|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Luminescence-------->
 +
{{#if:{{{luminescence|}}} | <!--then:-->
 +
{{!}} '''[[Luminescence]]'''
 +
{{!}} {{{luminescence|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Name Origin--------->
 +
{{#if:{{{nameorigin|}}} | <!--then:-->
 +
{{!}} '''Name origin'''
 +
{{!}} {{{nameorigin|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Optics-------------->
 +
{{#if:{{{optics|}}} | <!--then:-->
 +
{{!}} '''[[Optics]]'''
 +
{{!}} {{{optics|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Pleochroism--------->
 +
{{#if:{{{pleochroism|}}} | <!--then:-->
 +
{{!}} '''[[Pleochroism]]'''
 +
{{!}} {{{pleochroism|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Specific gravity---->
 +
{{#if:{{{sgravity|}}} | <!--then:-->
 +
{{!}} '''[[Specific gravity]]'''
 +
{{!}} {{{sgravity|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Spectral------------>
 +
{{#if:{{{spectral|}}} | <!--then:-->
 +
{{!}} '''[[Spectral]]'''
 +
{{!}} {{{spectral|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Streak-------------->
 +
{{#if:{{{streak|}}} | <!--then:-->
 +
{{!}} '''[[Streak]]'''
 +
{{!}} {{{streak|}}} | <!--else-->
 +
}}
 +
{{!-}}
 
|}
 
|}
<includeonly>[[Category:Mineral]]</includeonly>
+
<includeonly>[[Category:Minerals]]</includeonly>
|}<noinclude>
+
<noinclude>[[Category:Template]]
{{TemplateDoc|pages=Article pages|purpose=Mineral infobox|cat=Mineral}}
+
{{TemplateDoc|pages=Mineral articles|purpose=Infobox|cat=Minerals}}
 
{{Parms|
 
{{Parms|
{{Parm|Name|no|The element name|}}
+
{{Parm|name        |Name             |no | Defaults to page name}}
{{Parm|Various other (as shown in the template above)|no*|As indicated in the template above|}}
+
{{Parm|image        |Picture of mineral|no | Just the name of the image}}
 +
{{Parm|cdesc        |Chemical name    |yes| }}
 +
{{Parm|formula      |Chemical formula  |yes| }}
 +
{{Parm|birefringence|Birefrigence      |no | }}
 +
{{Parm|colors      |Color(s)         |no | Commonly occurring colors}}
 +
{{Parm|chabit      |Crystal habit    |no | }}
 +
{{Parm|csystem      |Crystal system    |no | One of the seven systems}}
 +
{{Parm|cleavage    |Cleavage          |no | }}
 +
{{Parm|dispersion  |Dispersion        |no | }}
 +
{{Parm|fracture    |Fracture          |no | }}
 +
{{Parm|hardness    |Hardness          |no | Moh's scale}}
 +
{{Parm|luster      |Luster            |no | }}
 +
{{Parm|luminescence |Luminescence      |no | }}
 +
{{Parm|nameorigin  |Name origin      |no | }}
 +
{{Parm|optics      |Optics            |no | }}
 +
{{Parm|pleochroism  |Pleochroism      |no | }}
 +
{{Parm|sgravity    |Specfic gravity  |no | }}
 +
{{Parm|spectral    |Spectral          |no | }}
 +
{{Parm|streak      |Streak            |no | }}
 
}}
 
}}
 +
 +
Omitted parameters will not show in the table.
 +
 +
 +
===Sample Data Block===
 +
The following may be copied and pasted at the top of the page being edited
 +
<pre>
 +
<nowiki>{{</nowiki>Mineral
 +
| name=
 +
| image=
 +
| cdesc=
 +
| formula=
 +
| birefringence=
 +
| colors=
 +
| chabit=
 +
| csystem=
 +
| cleavage=
 +
| dispersion=
 +
| fracture=
 +
| hardness=
 +
| luster=
 +
| luminescence=
 +
| nameorigin=
 +
| optics=
 +
| pleochroism=
 +
| sgravity=
 +
| spectral=
 +
| streak=
 +
|}
 +
<nowiki>}}</nowiki></pre>
 
</noinclude>
 
</noinclude>
nsTeam1RO, nsTeam1RW, nsTeam1_talkRO, nsTeam1_talkRW
11,789

edits

Navigation menu