Template:Infobox Trail: Difference between revisions
Jump to navigation
Jump to search
(Removing Trail Use as SMW property for now. It doesn't seem to like to be a picture) |
(Clean up template formatting and to show usage when in view mode) |
||
Line 1: | Line 1: | ||
<noinclude> | |||
This is the 'Infobox Trail' template. | |||
It should be called in the following format: | |||
<pre> | |||
{{Infobox Trail | |||
| Image Name = Placeholder.gif | |||
| City = * | |||
| State = * | |||
| Marking = * | |||
| Trail Use = <list names of other templates> | |||
| Difficulty Rating = * | |||
| Hike Time = * | |||
| Distance = * | |||
| Elevation Gain = * | |||
| High Point = * | |||
| Latitude = * | |||
| Longitude = * | |||
| Medical = * | |||
}} | |||
</pre> | |||
Edit the page to see the template text. | |||
</noinclude><includeonly> | |||
<div style="float: right; width: 270px"> | <div style="float: right; width: 270px"> | ||
<!---- | <!---- | ||
Line 24: | Line 47: | ||
|- | |- | ||
! Nearest City | ! Nearest City | ||
| | | {{{City}}} | ||
|- | |- | ||
! | ! State | ||
| | | {{{State}}} | ||
|- | |- | ||
! Trail Marking | ! Trail Marking | ||
Line 36: | Line 59: | ||
|- | |- | ||
! [[ClubWIKI:Difficulty Rating| Difficulty Rating]] | ! [[ClubWIKI:Difficulty Rating| Difficulty Rating]] | ||
| | | {{{Difficulty Rating}}} | ||
|- | |- | ||
! Hiking Time | ! Hiking Time | ||
| | | {{{Hike Time}}} Hours | ||
|- | |- | ||
! Distance, round-trip | ! Distance, round-trip | ||
| | | {{{Distance}}} Miles | ||
|- | |- | ||
! Elevation Gain | ! Elevation Gain | ||
| | | {{{Elevation Gain}}} Feet | ||
|- | |- | ||
! High Point | ! High Point | ||
| | | {{{High Point}}} Feet | ||
|- | |- | ||
! Latitude | ! Latitude | ||
Line 68: | Line 91: | ||
|- | |- | ||
| colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;" | | | colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;" | | ||
{{#display_map:{{{Latitude}}}, {{{Longitude}}} | {{#display_map:{{{Latitude}}}, {{{Longitude}}}~{{PAGENAME}} | ||
|zoom=8 | |zoom=8 | ||
|width=270px | |width=270px | ||
Line 85: | Line 108: | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> |
Revision as of 07:24, 23 August 2015
This is the 'Infobox Trail' template. It should be called in the following format:
{{Infobox Trail | Image Name = Placeholder.gif | City = * | State = * | Marking = * | Trail Use = <list names of other templates> | Difficulty Rating = * | Hike Time = * | Distance = * | Elevation Gain = * | High Point = * | Latitude = * | Longitude = * | Medical = * }}
Edit the page to see the template text.