Template:Infobox Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Add note about new coords fields)
(Add two new trail lengths and make the old and new if-then conditional)
Line 12: Line 12:
  | Difficulty Rating = Easy / Medium / Hard
  | Difficulty Rating = Easy / Medium / Hard
  | Hike Time = Default Hours, but accepts Min
  | Hike Time = Default Hours, but accepts Min
  | Distance = Default Miles, but accepts Ft, Meters, and km  
  | Distance = OBSOLETE - Hike distance, unclear intent; round trip? Segments? Lollipops? (Default Miles, but accepts Ft, Meters, and km)
  | Elevation Gain = Default Feet but accepts Yards, Meters, km
| Round Trip Distance = Typical/shortest trip distance to get from parking to do the trail and back (Default Miles, but accepts Ft, Meters, and km)
  | Elevation Loss = Default Feet but accepts Yards, Meters, km
| Trail Distance = The strict length of the trail ignoring any repeated sections (Default Miles, but accepts Ft, Meters, and km)
  | Elevation Gain = Total climbing distance for described hike direction (Default Feet but accepts Yards, Meters, km)
  | Elevation Loss = Total descending distance for described hike direction (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 = OBSOLETE - Latitude location of parking location in decimal format
  | Longitude = *
  | Longitude = OBSOLETE - Longitude location of parking location in decimal format
  | Parking coords = Optional - Lat,Lon format, long term replacing Latitude and Longitude above
  | Parking coords = Optional - Lat,Lon format, long term replacing Latitude and Longitude above
  | Trailhead coords = Optional - Lat,Lon format
  | Trailhead coords = Optional - Lat,Lon format
Line 62: Line 64:
| [[Hike Time::{{{Hike Time}}}]]
| [[Hike Time::{{{Hike Time}}}]]
|-
|-
! Distance, round-trip
{{#if: {{{Distance|}}}|! Distance, round-trip}}
| [[Trail distance round trip::{{{Distance}}}]]
{{#if: {{{Distance|}}}|{{!}} [[Trail distance round trip::{{{Distance|}}}]]}}
|-
{{#if: {{{Trail Distance|}}}|! Distance: round-trip/trail only}}
{{#if: {{{Trail Distance|}}}|{{!}} [[Round Trip Distance::{{{Round Trip Distance|}}}]] / [[Trail Distance::{{{Trail Distance}}}]]}}
|-
|-
! Elevation Change
! Elevation Change

Revision as of 20:59, 14 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 = OBSOLETE - Hike distance, unclear intent; round trip? Segments? Lollipops? (Default Miles, but accepts Ft, Meters, and km)
 | Round Trip Distance = Typical/shortest trip distance to get from parking to do the trail and back (Default Miles, but accepts Ft, Meters, and km)
 | Trail Distance = The strict length of the trail ignoring any repeated sections (Default Miles, but accepts Ft, Meters, and km)
 | Elevation Gain = Total climbing distance for described hike direction (Default Feet but accepts Yards, Meters, km)
 | Elevation Loss = Total descending distance for described hike direction (Default Feet but accepts Yards, Meters, km)
 | High Point = Default Feet but accepts Yards, Meters, km
 | Latitude = OBSOLETE - Latitude location of parking location in decimal format
 | Longitude = OBSOLETE - Longitude location of parking location in decimal format
 | Parking coords = Optional - Lat,Lon format, long term replacing Latitude and Longitude above
 | Trailhead coords = Optional - Lat,Lon format
 | Medical = *
}}

Edit the page to see the template text.