Template:Infobox rock

{{infobox

| title = {{{name|{{PAGENAMEBASE}}}}}{{#if:{{{alternative_name|}}}|
{{{alternative_name}}}}}

| subheaderstyle = background-color: #cddeff

| subheader = {{#if:{{{type|}}}|{{{type_link}}

| headerstyle = background-color: #ededed

| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|{{{image_alt|}}}}}}}}

| caption = {{{caption|{{{image_caption|}}}}}}

| decat = {{#if:{{{image|}}}|yes|no}}

| label1 = Coordinates

| data1 = {{{coordinates|}}}

| header2 = {{#if:{{{composition|}}}|Composition}}

| label3 = Classification

| data3 = {{{class|}}}

| 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

| data11 = {{{Equivalent|}}}

}}{{documentation}}