Template:Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Updating for current format)
(First pass at trail template for form use)
Line 1: Line 1:
Use the following text as a starting point for new trail creation.
<noinclude>This is the 'Trail' template. 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:
<pre>
<pre>
<!-- The following few lines create the "Infobox" table template. Please scroll down to edit the main content of the article. -->{{Infobox Trail
{{Infobox Trail
  | Image Name =  
  | Trail Number = Optional - Typically a Forest Service Trail #
  | Trail Number =  
  | Park = Optional - should be name of a park without [[ ]] that has a page
  | Park =  
  | Land Owner = Optional - Expected to typically be name of city, state, or national forest (e.g. Kingsport, Cherokee National Forest, or Tennessee)
  | City =  
  | Wilderness Area = Optional - Name of wilderness area if it applies
  | State =  
  | City = Nearest city
  | Marking =  
  | State = State located in
  | Trail Use =  
  | Marking = Trail marking - only color if standard rectangle, otherwise include shape
  | Difficulty Rating =  
  | Trail Use = Things you can do on the trail (ATV, dog free, horse, camp, etc.)
  | Hike Time =  
| Trail Features = Things you get to see (Waterfalls, open views, caves, rivers, etc.)
  | Round Trip Distance =  
  | Difficulty Rating = Easy / Medium / Hard
  | Trail Distance =  
  | Hike Time = Default Hours, but accepts Min
  | Trail Type =  
  | 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 Gain =  
  | 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)
  | Elevation Loss =  
  | Trail Type = Loop / In-and-Out / Segment (Choose one of the three)
  | High Point =  
  | Elevation Gain = Total climbing distance for described hike direction (Default Feet but accepts Yards, Meters, km)
  | Parking coords =  
  | Elevation Loss = Total descending distance for described hike direction (Default Feet but accepts Yards, Meters, km)
| Trailhead coords =
  | Low Point = Optional - As it is, the lowest elevation of the trail (Default Feet but accepts Yards, Meters, km)
| Medical =
  | Elevation Change = Optional - Simple mathematical difference between Low point and High point (Default Feet but accepts Yards, Meters, km)
}}<!-- End Infobox template table-->
  | High Point = Default Feet but accepts Yards, Meters, km
{{Trail page needs
  | Parking location = Lat,Lon format, long term replacing Latitude and Longitude above (sets IB map pin)
  | Hide needs =  
  | Trailhead location = Optional if not within visual distance of parking location
  | KML =  
  | Updated KML =
| Detail route description =
| Photos =
| Winter photos =
| Remove prefix =
| Update infobox =
| Infobox data update =
| Trail pins =
| Other =
| Comment =
| Date reviewed =  
}}
}}
<!-- Start of Main Page -->
</pre>
== Trail Overview ==
Edit the page to see the template text.
<!-- Enter a overview of the trail. What attracts you to this trail, points of interest, types of flowers, lakes, and peaks that you see along the way. -->
</noinclude><includeonly><!----


== How to get there ==
hide the table of contents, I'm not expecting our pages so long that they're needed
<!-- Please enter detailed instruction on how to find the trail head. -->
--><div style="float: right; width: 285px"><div class="Infobox_Trail"><!--
the class assignment makes sure we get the right CSS applied from Common.css


== Route Description==
Begin main table
<!-- Detailed description of the route. Is there any side trails that are worth traveling? -->
-->{| style="width: 100%; margin:5px 0 0 0; background:none; border-spacing: 0px;"
 
| style="width:50%; vertical-align:top;" |
{| class="wikitable" border="1"
{|
<!--lines like the one below create a visual divider bar cell -->
!colspan="2" |
|-
|-
!Miles Out
| colspan=2 border=0 height="200" align="center" valign="top" | {{#ifexist: Media:{{PAGENAME}} Banner.jpg|[[File:{{PAGENAME}} Banner.jpg|270px]]|<div style="width:270px"><div class="pops" style="width:200px;height:200px;line-height:270px;text-align:center;border: 1px solid #404040">''[[media:{{PAGENAME}} Banner.jpg|Click here to upload a picture]]''</div></div>}}
!{{PAGENAME}}
!Miles Back
!Elevation (ft)
|-  
|-  
|0.0
!colspan="2" |
|Trail head
|-
|2.19
! width="150" | Trail Name
|1,479
| width="130" | {{PAGENAME}}
|-
{{#if: {{{Trail Number|}}}|! Trail Number}}
{{#if: {{{Trail Number|}}}|{{!}} [[Trail number::{{{Trail Number|}}}]]}}
|-
{{#if: {{{Park|}}}|! Park}}
{{#if: {{{Park|}}}|{{!}} [[Park::{{{Park|}}}]]}}
|-
{{#if: {{{Land Owner|}}}|! Land Owner}}
{{#if: {{{Land Owner|}}}|{{!}} [[Land Owner::{{{Land Owner|}}}]]}}
|-
{{#if: {{{Wilderness Area|}}}|! Wilderness Area}}
{{#if: {{{Wilderness Area|}}}|{{!}} [[Wilderness Area::{{{Wilderness Area|}}}]]}}
|-
! Nearest City
| [[City::{{{City|}}}]]
|-
! [[Property:State | State]]
| [[State::{{{State}}}]]
|-
! Trail Marking
| [[Trail Blaze::{{{Marking}}}]]
|-
! [[ClubWIKI:Trail Use| Trail Use]]
| {{List to Icons|List={{{Trail Use|}}}}}{{#set:Allowed activities={{{Trail Use|}}}|+sep=,}}
|-
! Features
| {{List to Icons|List={{{Trail Features|}}}}}{{#set:Features={{{Trail Features|}}}|+sep=,}}
|-
! [[ClubWIKI:Difficulty Rating| Difficulty Rating]]
| [[Difficulty::{{{Difficulty Rating}}}]]
|-
! Hiking Time
| [[Hike Time::{{{Hike Time}}}]]
|-
{{#if: {{{Distance|}}}|! Distance, round-trip}}
{{#if: {{{Distance|}}}|{{!}} [[Trail distance round trip::{{{Distance|}}}]]}}
|-
{{#if: {{{Trail Distance|}}}|! Distance:<br>round-trip/trail only}}
{{#if: {{{Trail Distance|}}}|{{!}} [[Trail distance round trip::{{{Round Trip Distance|}}}]] / [[Trail Distance::{{{Trail Distance}}}]]}}
|-
{{#if: {{{Trail Type|}}}|! Trail Type}}
{{#if: {{{Trail Type|}}}|{{!}} [[Trail Type::{{{Trail Type}}}]]}}
|-
! Climb/Descent Elevation
| [[Elevation Gain::{{{Elevation Gain}}}]] / [[Elevation Loss::{{{Elevation Loss}}}]]
|-
! {{#if: {{{Low Point|}}}| Low /&nbsp;}}{{#if: {{{Elevation Change|}}}|Diff /&nbsp;}}High Point
| {{#if: {{{Low Point|}}}| [[Trail Low Point::{{{Low Point}}}]] /&nbsp;}}{{#if: {{{Elevation Change|}}}| [[Trail Elevation Difference::{{{Elevation Change}}}]] /&nbsp;}}[[Trail High Point::{{{High Point}}}]]
|-
{{#if: {{{Parking location|}}}|! Parking}}
{{#if: {{{Parking location|}}}|{{!}} [[Parking location::{{{Parking location|}}}]]}}
|-
{{#if: {{{Trailhead location|}}}|! Trailhead}}
{{#if: {{{Trailhead location|}}}|{{!}} [[Trailhead location::{{{Trailhead location|}}}]]}}
|-
!colspan="2" |
|-
| colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;" |
{{#display_map:{{{Parking location|}}}
|zoom=8
|width=270px
|height=180px
|type=roadmap
|controls=zoom
}}
|
|-
! colspan="2" id="maplink" | [http://maps.google.com/maps?q={{#replace:{{{Parking location|}}}}} Show on Google Maps]<!--
 
close inner table -->
|}
<!-- close outer table -->
|}
|}
 
</div></div>[[Category:Trail]]</includeonly>
== Typical Conditions ==
<!-- Typical conditions throughout the year of what to expect on the trail. Rocky, muddy, sandy, flowers, lots of downed trees?  -->
 
==Fees, Permits, etc. ==
<!-- Please list any Fees, Permits, Regulations, etc. that may be required on this trail.-->
 
== Misc. Information ==
<!-- Enter any additional information that doesn't fit an any other fields. Does this trail require any permits for overnight? parking? -->
 
== Maps ==
<!-- You can place pictures, PDF's, links, or even create a Google map with your waypoints and place it here. -->
<display_map center="36.514327,-82.478399" type="terrain" zoom="15" width="auto" height="450" gkml="http://tehcc.org/clubwiki/kml/WPSP_sinking_water.kml">
36.516591,-82.473665~Parking and trail head~[[Image:WPSP SW parking lot.jpg|150px|Parking lot sign]]~MarkerA.png
</display_map>
 
== Photos ==
<gallery>
<!-- Place any pictures from this trail below.  Add a picture by typing Image:imagename.extension  -->
Image:Sinking Waters sinkhole.jpg|The namesake sinking waters disappearing into a hole
 
<!-- Do not remove the end gallery code.-->
</gallery>
 
<!-- Finally add the trail to any Categories it should belong to. Please keep the State category. To make a new category just type [[Category:mycategory]]
Keep in mind categories are case sensitive. -->
</pre>

Revision as of 21:13, 8 May 2018

This is the 'Trail' template. 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:

{{Infobox Trail
 | Trail Number = Optional - Typically a Forest Service Trail #
 | 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
 | State = State located in
 | Marking = Trail marking - only color if standard rectangle, otherwise include shape
 | 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 = Default Hours, but accepts Min
 | 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 for obsessive unique trail counters (Default Miles, but accepts Ft, Meters, and km)
 | Trail Type = Loop / In-and-Out / Segment (Choose one of the three)
 | 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)
 | Low Point = Optional - As it is, the lowest elevation of the trail (Default Feet but accepts Yards, Meters, km)
 | Elevation Change = Optional - Simple mathematical difference between Low point and High point (Default Feet but accepts Yards, Meters, km)
 | High Point = Default Feet but accepts Yards, Meters, km
 | Parking location = Lat,Lon format, long term replacing Latitude and Longitude above (sets IB map pin)
 | Trailhead location = Optional if not within visual distance of parking location
}}

Edit the page to see the template text.