Difference between revisions of "Template:Infobox rock/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(sync)
imported>Gorthian
(Try out above instead of name)
 
Line 1: Line 1:
 
{{infobox
 
{{infobox
| title          = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}{{#if:{{{alternative_name|}}}|<br /><small>{{{alternative_name}}}</small>}}
+
| title          = {{{above|<includeonly>{{PAGENAME}}</includeonly>}}}{{#if:{{{alternative_name|}}}|<br /><small>{{{alternative_name}}}</small>}}
 
| subheaderstyle = background-color: #cddeff
 
| subheaderstyle = background-color: #cddeff
 
| subheader      = {{#if:{{{type|}}}|[[{{{type_link|{{{type}}}}}}|{{{type}}} rock]]}}
 
| subheader      = {{#if:{{{type|}}}|[[{{{type_link|{{{type}}}}}}|{{{type}}} rock]]}}

Latest revision as of 23:40, 30 January 2016

50px Template documentation[view] [edit] [history] [purge]

Usage

This template provides an infobox for rocks (contrast with the infobox for minerals). The default is 220px wide but can be made wider by setting the image_size parameter.

Basalt
Igneous rock
File:BasaltUSGOV.jpg
Composition
Mafic: amphibole and pyroxene, sometimes plagioclase, feldspathoids, and/or olivine.
{{Infobox rock
|name=
|type=
|coordinates=
|image=
|alt=
|caption=
}}
{{Infobox rock
|name=
|alternative_name=
|type=
|type_link=
|image=
|image_size=
|alt=
|caption=
|coordinates=
|composition=
|composition_secondary=
}}