Template:Infobox Trail: Difference between revisions
Jump to navigation
Jump to search
(Note about use of optional items) |
(Add parking and trailhead coordinates) |
||
Line 17: | Line 17: | ||
| Latitude = * | | Latitude = * | ||
| Longitude = * | | Longitude = * | ||
| Parking coords = Optional - Lat,Lon format | |||
| Trailhead coords = Optional - Lat,Lon format | |||
| Medical = * | | Medical = * | ||
}} | }} | ||
Line 73: | Line 75: | ||
! Longitude | ! Longitude | ||
| {{#long_deg2dms: {{{Longitude}}}}} | | {{#long_deg2dms: {{{Longitude}}}}} | ||
|- | |||
{{#if: {{{Parking coords|}}}|! Parking}} | |||
{{#if: {{{Parking coords|}}}|{{!}} [[Parking location::{{{Parking coords|}}}]]}} | |||
|- | |||
{{#if: {{{Trailhead coords|}}}|! Trailhead}} | |||
{{#if: {{{Trailhead coords|}}}|{{!}} [[Trailhead location::{{{Trailhead coords|}}}]]}} | |||
|- | |- | ||
! Nearest Medical | ! Nearest Medical |
Revision as of 18:40, 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 | 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.