Template:Infobox Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Add parking and trailhead coordinates)
(Add elevation loss field)
Line 14: Line 14:
  | Distance = Default Miles, but accepts Ft, Meters, and km  
  | Distance = Default Miles, but accepts Ft, Meters, and km  
  | Elevation Gain = Default Feet but accepts Yards, Meters, km
  | Elevation Gain = Default Feet but accepts Yards, Meters, km
| Elevation Loss = Default Feet but accepts Yards, Meters, km
  | High Point = Default Feet but accepts Yards, Meters, km
  | High Point = Default Feet but accepts Yards, Meters, km
  | Latitude = *
  | Latitude = *
Line 64: Line 65:
| [[Trail distance round trip::{{{Distance}}}]]
| [[Trail distance round trip::{{{Distance}}}]]
|-
|-
! Elevation Gain
! Elevation Change
| [[Elevation Gain::{{{Elevation Gain}}}]]
| [[Elevation Gain::{{{Elevation Gain}}}]] / [[Elevation Loss::{{{Elevation Loss}}}]]
|-
|-
! High Point
! High Point

Revision as of 20:22, 9 September 2015

This is the 'Infobox Trail' template. This template creates the 'sidebar' with info about each trail like the state, nearest city, nearest medical, coordinates of the tail head. Entries marked "Optional" should be deleted, or at least blank in the usage to avoid erroneous data connections.

It should be called in the following format:

{{Infobox Trail
 | Image Name = Placeholder.gif
 | Park = Optional - should be name of a park without [[ ]] that has a page
 | City = *
 | State = *
 | Marking = *
 | Trail Use = {{ATV‎}} {{Biking}} {{Camping}} {{Dogs}} {{Fishing}} {{Hike}} {{Horses}} {{Shelter}} {{Skiing}} {{Waterfall}} 
 | Difficulty Rating = Easy / Medium / Hard
 | Hike Time = Default Hours, but accepts Min
 | Distance = Default Miles, but accepts Ft, Meters, and km 
 | Elevation Gain = Default Feet but accepts Yards, Meters, km
 | Elevation Loss = Default Feet but accepts Yards, Meters, km
 | High Point = Default Feet but accepts Yards, Meters, km
 | Latitude = *
 | Longitude = *
 | Parking coords = Optional - Lat,Lon format
 | Trailhead coords = Optional - Lat,Lon format
 | Medical = *
}}

Edit the page to see the template text.