Jump to content

Template:Infobox rock and Template:Infobox rock/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Skerbs (talk | contribs)
No edit summary
 
Skerbs (talk | contribs)
added protoliths for metamorphic rocks
 
Line 1: Line 1:
{{infobox
{{infobox
| title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}{{#if:{{{alternative_name|}}}|<br /><small>{{{alternative_name}}}</small>}}
| title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}{{#if:{{{alternative_name|}}}|<br /><small>{{{alternative_name}}}</small>}}
| subheaderstyle = background-color: #cddeff
| headerstyle = background-color: #ccc
| subheader = <b>{{#if:{{{type|}}}|[[{{{type_link|{{{type}}}}}}|{{{type}}} rock]]}}</b>
| headerstyle = background-color: #ededed
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|{{{image_alt|}}}}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|{{{image_alt|}}}}}}}}
| caption = {{{caption|{{{image_caption|}}}}}}
| caption = {{{caption|{{{image_caption|}}}}}}
| decat = {{#if:{{{image|}}}|yes|no}} <!-- do not populate "no data rows" if at least has an image -->
| decat = {{#if:{{{image|}}}|yes|no}} <!-- do not populate "no data rows" if at least has an image -->

| subheaderstyle = background-color: #cddeff
| subheader = {{#if:{{{type|}}}|[[{{{type_link|{{{type}}}}}}|{{{type}}} rock]]}}


| label1 = Coordinates
| label1 = Coordinates
Line 13: Line 14:
| header2 = {{#if:{{{composition|}}}|Composition}}
| header2 = {{#if:{{{composition|}}}|Composition}}


| label3 = Classification
| label3 = {{#if:{{{composition_secondary|}}}|Primary}}
| data3 = {{{class|}}}
| data3 = {{{composition|}}}

| label4 = {{#if:{{{composition_secondary|}}}|Primary}}
| data4 = {{{composition|}}}

| label5 = Secondary
| data5 = {{{composition_secondary|}}}


| header6 = {{#if:{{{fabric|}}}|Physical Characteristics}}

| label7 = Fabric
| data7 = {{{fabric|}}}

| label8 = Texture
| data8 = {{{texture|}}}

| header9 = {{#if:{{{protolith|}}}
|Relationships}}

| label10 = Protoliths
| data10 = {{{protolith|}}}


| label11 = Equivalents
| label4 = Secondary
| data11 = {{{Equivalent|}}}
| data4 = {{{composition_secondary|}}}


| label5 = Protoliths
| data5 = {{{rock|}}}