Template:Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (just pipe-dash it! Part deux)
(add tooltips)
Line 60: Line 60:
| [[Trail Marking::{{{Trail Marking}}}]]
| [[Trail Marking::{{{Trail Marking}}}]]
|-
|-
! [[Template:Auto List to Icons| Trail Use]]
! [[Template:Auto List to Icons| Trail Use]]{{#info: Things allowed to do on or near the trail | info }}
| {{Auto List to Icons|List={{{Trail Use|}}}}}{{#set:Allowed activities={{{Trail Use|}}}|+sep=,}}
| {{Auto List to Icons|List={{{Trail Use|}}}}}{{#set:Allowed activities={{{Trail Use|}}}|+sep=,}}
|-
|-
! [[Template:Auto List to Icons| Features]]
! [[Template:Auto List to Icons| Features]]{{#info: Things to see on or near the trail | info }}
| {{Auto List to Icons|List={{{Trail Features|}}}}}{{#set:Features={{{Trail Features|}}}|+sep=,}}
| {{Auto List to Icons|List={{{Trail Features|}}}}}{{#set:Features={{{Trail Features|}}}|+sep=,}}
|-
|-
Line 69: Line 69:
| [[Difficulty::{{{Difficulty Rating}}}]]
| [[Difficulty::{{{Difficulty Rating}}}]]
|-
|-
! Hiking Time
! Hiking Time{{#info: Time from car and back. Includes any time hiking to access this trail. | info }}
| [[Hike Time::{{{Hike Time}}}]] round trip
| [[Hike Time::{{{Hike Time}}}]] round trip
|-
|-
! Distance:
! Distance:
| [[Trail Distance::{{{Trail Distance}}}]] trail / [[Trail distance round trip::{{{Round Trip Distance|}}}]] round trip
| [[Trail Distance::{{{Trail Distance}}}]] trail{{#info: Strict non-repeating trail length | info }} / [[Trail distance round trip::{{{Round Trip Distance|}}}]] round trip{{#info: Length from the car, hike the trail, and return to car | info }}
|-
|-
! Trail Type
! Trail Type
Line 81: Line 81:
| {{#if: {{{Low Point|}}}| [[Trail Low Point::{{{Low Point}}}]] / }}[[Trail High Point::{{{High Point}}}]]
| {{#if: {{{Low Point|}}}| [[Trail Low Point::{{{Low Point}}}]] / }}[[Trail High Point::{{{High Point}}}]]
|-
|-
! [[TEHCC Wiki:Trail Elevations|Elev. Gain/Loss]]
! [[TEHCC Wiki:Trail Elevations|Elev. Gain/Loss]]{{#info: See link for details of calculation. Gain/Loss is direction dependent. | info }}
| [[Elevation Gain::{{{Elevation Gain}}}]] / ([[Elevation Loss::{{{Elevation Loss}}}]]) – [[Elevation Change Direction::{{{Elevation Change Direction}}}]]
| [[Elevation Gain::{{{Elevation Gain}}}]] / ([[Elevation Loss::{{{Elevation Loss}}}]]) – [[Elevation Change Direction::{{{Elevation Change Direction}}}]]
|-
|-

Revision as of 15:01, 8 December 2018

This is the 'Trail' template. It is expected to be typically used by the Form Trail.

This template creates the 'sidebar' with info about each trail like the state, nearest city, coordinates of the tail head. If not used, entries marked "Optional" should be left blank (no '*') in the usage to avoid erroneous data connections.

It should be called in the following format (remember to delete unused fields after the '=' or delete the entire row):

{{Trail
 | Banner Image = pick a trail tagged photo, if left blank will search for pagename Banner.jpg
 | Trail Number = Optional - Typically a Forest Service Trail #
 | Trail System = Optional - Is it part of some larger network? (e.g. AT, OMVT, Warriors Path Bike Trails, etc.)
 | Park = Optional - should be name of a park without [[ ]] that has a page
 | Land Owner = Optional - Expected to typically be name of city, state, or national forest (e.g. Kingsport, Cherokee National Forest, or Tennessee)
 | Wilderness Area = Optional - Name of wilderness area if it applies
 | City = Nearest city
 | Trail Marking = Only mention color unless shape is relevant
 | Trail Use = Things you can do on the trail (ATV, dog free, horse, camp, etc.) 
 | Trail Features = Things you get to see (Waterfalls, open views, caves, rivers, etc.)
 | Difficulty Rating = Easy / Medium / Hard
 | Hike Time = Typical time from leaving car to returning to do just this trail, thus includes any time on access trails and return trips
 | Trail Distance = The strict length of the trail ignoring any repeated sections for obsessive unique trail counters (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 Type = Loop / In-and-Out / Segment (Choose one of the three)
 | Low Point = Optional - As it is, the lowest elevation of the trail (Default Feet but accepts Yards, Meters, km)
 | High Point = The highest elevation along the trail (Default Feet but accepts Yards, Meters, km)
 | Elevation Gain = The amount of typical ascent in a round trip (Default Feet but accepts Yards, Meters, km)
 | Elevation Loss= The amount of typical descent in a round trip (Default Feet but accepts Yards, Meters, km)
 | Elevation Change Direction = The direction chosen for gain/loss reference
 | Parking location = Lat,Lon format of typical parking for trail access (sets IB map pin)
 | Trailhead location = Lat,Lon format of typical trail access
}}

Edit the page to see the template text.