Template:Infobox Mountain: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Drew R. Smith
(New page: <includeonly> {{Infobox | title = {{{name|}}} | subtitle = ''{{{caption|}}}'' | 1_data = {{#if:{{{Photo|}}}|[[Image:{{{Photo}}}|{{{Photo_size|300x100px}}}|{{{caption|}}...)
 
imported>Drew R. Smith
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox
{{Infobox
| title        = {{{name|}}}
| title        = {{{name|}}}
| subtitle      = ''{{{caption|}}}''
 
| 1_data        = {{#if:{{{Photo|}}}|[[Image:{{{Photo}}}|{{{Photo_size|300x100px}}}|{{{caption|}}}]]}}
| 1_data        = {{#if:{{{photo|}}}|[[Image:{{{photo}}}|300x300px|{{{caption|}}}]]}} ''{{{caption|}}}''
| 1_datastyle  = text-align:center; padding:0.5em;
| 1_datastyle  = text-align:center; padding:0.5em;


| 2_label      = Elevation
| 2_label      = Elevation
| 2_data        = {{convert|{{{elevation|}}}|ft|m}}
| 2_data        = {{{elevation}}}


| 3_label      = Location
| 3_label      = Location
| 3_data        = {{{country|}}}
| 3_data        = {{{country|}}}
{{{city|}}}{{#ifeq:{{{city_on|}}}|yes|,&nbsp;}}{{{state|}}}{{{province|}}}
{{{city|}}}{{#if:{{{city|}}}|,&nbsp;}}{{{state|}}}{{{province|}}}
 
| 4_label      = {{#if:{{{coordinates|}}}|[[Coordinates]]}}
| 4_data        = {{{coordinates|}}}


| 4_label       = Range
| 5_label       = Range
| 4_data       = {{{Range|}}}
| 5_data       = {{{range|}}}


| 5_label       = Type
| 6_label       = Type
| 5_data       = {{{type|}}}
| 6_data       = {{{type|}}}


| 6_label       = Last Eruption
| 7_label       = Last Eruption
| 6_data       = {{{last_eruption|}}}
| 7_data       = {{{last_eruption|}}}


| 7_label       = First ascent
| 8_label       = First ascent
| 7_data       = {{{first_ascent|}}}
| 8_data       = {{{first_ascent|}}}


| 8_label       = Approximate age
| 9_label       = Approximate age
| 8_data       = {{{age|}}}
| 9_data       = {{{age|}}}
}}
}}
</includeonly><noinclude>{{TlDoc}}</noinclude>
</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 15:57, 20 August 2009

This documentation is transcluded from Template:Infobox Mountain/doc (edit | history)

To use, simply cut and paste the following code directly below the {{subpages}} and fill out required fields.

{{Infobox Mountain
| name             = 
| photo            = 
| caption          = 
| elevation        = 
| country          =
| province         =
| state            =
| city             =
| range            = 
| type             = 
| age              = 
| last_eruption    = 
| first_ascent     =
}}

Explanation of Parameters

Field Description
name Name of the mountain, peak or hill. If more than one mountain by the name exists, the article is likely disambiguated but this name in the infobox should be the undisambiguated name. For example, Mount Columbia (for Mount Columbia (Alberta) or Mount Columbia (Colorado). This field is required.
photo Image of the mountain, preferably a picture of the full profile of the mountain. Do not use Mountain.jpg instead, simply write mountain.jpg. The template takes care of the rest.
caption Include a caption for the photo. This appears when moused over, and underneath the photo in italics.
elevation Insert the elevation in feet, not including punctuation. For example 14000 for 14,000. Other units of measurement are not currently supported.
country Name of the country the mountain is located in. If more than one, use the country most commonly refered to as the location of the mountain. Not required.
province Name of the province the mountain is located in. If more than one, use the province most commonly refered to as the location of the mountain. Not required.
state Name of the state the mountain is located in. If more than one, use the state most commonly refered to as the location of the mountain. Not required.
city Name of the city the mountain is located in. If more than one, use the city most commonly refered to as the location of the mountain. Not required. Note: if anything is input in this field the template will include a ", " where a city would be.
range Mountain range if applicable. The specific range subgroup should be provided instead of any major mountain system unless there is no applicable subgroup. For example, use Teton Range and not Rocky Mountains or Bernese Alps not Alps.
type The type of mountain
age Approximate age of the mountain
last_eruption The date of the last eruption if the mountain is of volcanic origin.
first_ascent Date of the first ascent, if known. Typically, this is the first recorded ascent but not necessarily the first true ascent.

Examples

Big Mountain
This is not a real mountain This is not a real mountain
Elevation 1,234,567 ft (376296.02 m)
Location United States

San Antonio, Texas

Range The Big Mountain Range
Type Super Mega
Last Eruption Tommorow
First ascent Yesterday
Approximate age Forever
{{Infobox Mountain
| name             = Big Mountain
| photo            = Maunakea.jpg
| caption          = This is not a real mountain
| elevation        = {{convert|1234567|ft|m|2||1,234,567}}
| country          = United States
| province         = 
| state            = Texas
| city             = San Antonio
| range            = The Big Mountain Range
| type             = Super Mega
| age              = Forever
| last_eruption    = Tommorow
| first_ascent     = Yesterday
}}