Difference between revisions of "Template:Infobox rock/sandbox"
Jump to navigation
Jump to search
imported>Fuhghettaboutit m (moved Template:Infobox Rock/sandbox to Template:Infobox rock/sandbox: Capitalization standardization) |
imported>WOSlinker (sync) |
||
| Line 1: | Line 1: | ||
| − | { | + | {{infobox |
| − | + | | title = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}{{#if:{{{alternative_name|}}}|<br /><small>{{{alternative_name}}}</small>}} | |
| − | | | + | | subheaderstyle = background-color: #cddeff |
| − | |- | + | | subheader = {{#if:{{{type|}}}|[[{{{type_link|{{{type}}}}}}|{{{type}}} rock]]}} |
| − | {{#if: | + | | headerstyle = background-color: #ccc |
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|{{{image_alt|}}}}}}}} | |
| − | }} | + | | caption = {{{caption|{{{image_caption|}}}}}} |
| − | |- | + | |
| − | {{# | + | | label1 = Coordinates |
| − | {{ | + | | data1 = {{{coordinates|}}} |
| − | + | ||
| − | | | + | | header2 = {{#if:{{{composition|}}}|Composition}} |
| − | {{#if:{{{composition|}}}| | + | |
| − | + | | label3 = {{#if:{{{composition_secondary|}}}|Primary}} | |
| − | + | | data3 = {{{composition|}}} | |
| − | {{#if:{{{composition_secondary|}}}| | + | |
| − | + | | label4 = Secondary | |
| − | + | | data4 = {{{composition_secondary|}}} | |
| − | + | ||
| − | + | }}<noinclude>{{documentation}}<!-- place category and language links on the /doc page, not here --></noinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 13:10, 27 February 2015
| 50px | This is the template sandbox page for Template:Infobox rock (diff). |
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.
| 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=
}}
| The above documentation is transcluded from Template:Infobox rock/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |