Editing Template:Trail

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<noinclude>This is the 'Trail' template. It is expected to be typically used by the [[Form:Trail|Form Trail]].
<!-- The following few lines create the "Infobox" table template. Please scroll down to edit the main content of the article. -->
{{Infobox Trail
                    | Image Name = Placeholder.gif
                    | City = *
                    | State = Tennessee
                    | Trail Use = {{Hike}}
                    | Difficulty Rating = *
                    | Hike Time = *
                    | Distance = *
                    | Elevation Gain = *
                    | High Point = *
                    | Latitude = *
                    | Longitude = *
                    | Medical = *, TN
<!-- DON'T EDIT THE GOOGLEMAP TAG -->
                    | googlemap =
<googlemap lat="--Enter Trail Head Latitude Here--" lon="--Enter Trail Head Longitude Here--"  zoom="12" width="270" type="terrain" height="180" selector="no" controls="small">
--Enter Latitude Trail Head Here--, --Enter Trail Head Longitude Here--,--Trail Name--
</googlemap>
}}
<!-- End Infobox template table-->
 
<!-- Start of Main Page -->
 
== Trail Overview ==
<!-- 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. -->
 
 
== How to get there ==
<!-- Please enter detailed instruction on how to find the trail head. -->
 


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.  
== Route Description==
<!-- Detailed description of the route. Is there any side trails that are worth traveling? -->


It should be called in the following format ('''remember to delete unused fields after the '=' or delete the entire row'''):
 
<pre>
== Typical Conditions ==
{{Trail
<!-- Typical conditions throughout the year of what to expect on the trail. Rocky, muddy, sandy, flowers, lots of downed trees? -->
| Banner Image = pick a trail tagged photo, if left blank will search for pagename Banner.jpg
   
| Trail Highlight = Optional - Brief comment about the trail for use in tables and map balloons
 
| Trail Number = Optional - Typically a Forest Service Trail #
== Fees, Permits, etc. ==
| Trail System = Optional - Is it part of some larger network? (e.g. AT, OMVT, Warriors Path Bike Trails, etc.)
<!-- Please list any Fees, Permits, Regulations, etc. that may be required on this 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
== After the Hike ==
  | City = Nearest city
<!-- Other things to check out while you're in the area. Restaurants, attractions, monuments, etc... -->
| 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.)
== Misc. Information ==
| Difficulty Rating = Easy / Medium / Hard
<!-- Enter any additional information that doesn't fit an any other fields. Any seasonal features, factoids, etc...? -->
| 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)
== Maps ==
| Trail Type = Loop / In-and-Out / Segment (Choose one of the three)
<!-- You can place pictures, PDF's, links, or even create a Google map with your waypoints and place it here. -->
| 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)
== Photos ==
| Elevation Loss= The amount of typical descent in a round trip (Default Feet but accepts Yards, Meters, km)
<gallery>
| Elevation Change Direction = The direction chosen for gain/loss reference
<!-- Place any pictures from this trail below. Ideally we would have a picture of the trailhead to help people know when they found it -->
| Parking location = Lat,Lon format of typical parking for trail access (sets IB map pin)
<!-- Add a picture by typing Image:imagename.extension  -->
| Trailhead location = Lat,Lon format of typical trail access
Image:Placeholder.gif
}}
 
</pre>
<!-- Do not remove the end gallery code.-->
Edit the page to see the template text.
</gallery>
[[Category:Trail Class Items]]
 
</noinclude><includeonly><!-- First some array definitions
<!-- 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. Check here ClubWIKI:Categorization_Plan for our list of categories that we are using -->
-->{{#arraydefine:neardistance|5 mi}}<!--
-->{{#arraydefine:nearcount|{{#ask: [[Category:Trails]][[Trailhead location::!{{{Trailhead location|}}}]][[Trailhead location::{{{Trailhead location|}}} ({{#arrayprint:neardistance}})]]|format=count}}}}<!--
-->{{#arraydefine:nearmiles|{{#number_format:{{#ask: [[Category:Trails]][[Trailhead location::!{{{Trailhead location|}}}]][[Trailhead location::{{{Trailhead location|}}} ({{#arrayprint:neardistance}})]]||?Trail Distance#mi|format=sum}}|1}}}}<!--Now on with the show
-->{{#arraydefine:reportcount|{{#ask: [[Category:Trip Reports]][[Trail::{{PAGENAME}}]]|format=count}}}}<!--
-->{{#arraydefine:recentreports|{{#ask: [[Category:Trip Reports]][[Trail::{{PAGENAME}}]][[Trip Date::>{{#time: F j, Y|-90 days}}]]|format=count}}}}<!--
-->{| class="Infobox_Trail"
! style="text-align: center;" colspan="2" |<div style="float: left;">{{List It Button|Page={{PAGENAME}}|Text=List It|Exist Text=Edit List}}</div><span style="font-size: larger;">{{PAGENAME}}</span><div style="float: right;">{{Trip Report Button|Page={{PAGENAME}}|Text=Hiked It}}</div>
|-
| colspan=2 border=0 height="200" align="center" valign="top" | {{#if: {{{Banner Image|}}}|[[{{{Banner Image|}}}|350px]]|{{#ifexist: Media:{{PAGENAME}} Banner.jpg|[[File:{{PAGENAME}} Banner.jpg|350px]]|<div style="width:250px"><div class="pops" style="width:200px;height:200px;line-height:250px;text-align:center;border: 1px solid #404040">''[[media:{{PAGENAME}} Banner.jpg|Click here to upload a picture]]''</div></div>}}}}
|-
! colspan="2" |
|-
{{#if: {{{Trail Highlight|}}}|! Highlight}}
{{#if: {{{Trail Highlight|}}}|{{!}} [[Trail Highlight::{{{Trail Highlight|}}}]]}}
|-
{{#if: {{{Trail Number|}}}|! Trail Number}}
{{#if: {{{Trail Number|}}}|{{!}} [[Trail number::{{{Trail Number|}}}]]}}
|-
{{#if: {{{Trail System|}}}|! Trail System}}
{{#if: {{{Trail System|}}}|{{!}} {{#arraymap:{{{Trail System|}}}|,|@@@@|[[Trail System::@@@@]]}}{{#set:Trail System={{{Trail System|}}}|+sep=,}}}}
|-
{{#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|}}}]]}}
|-
! style="width: 125px" | Located
| {{#if:{{{City|}}}|{{#ifexist:{{{City|}}}|[[City::{{{City|}}}]], [[State::{{#show: {{{City|}}}|?Located In|link=none}}]]|{{#formredlink:target={{{City|}}}|form=Region}}{{#set:City={{{City|}}}}}}}|{{#if:{{{Park|}}}|[[City::{{#show: {{{Park|}}}|?City|link=none}}]], [[State::{{#show: {{{Park|}}}|?State|link=none}}]]{{#info: Location inherited from associated park | info }}}}}}
|-
! Trail Marking
| [[Trail Marking::{{{Trail Marking}}}]]
|-
! [[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=,}}
|-
! [[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=,}}
|-
! [[ClubWIKI:Difficulty Rating| Difficulty Rating]]
| [[Difficulty::{{{Difficulty Rating}}}]]
|-
! Hiking Time{{#info: Time from car and back. Includes any time hiking to access this trail. | info }}
| [[Hike Time::{{{Hike Time}}}]] round trip
|-
! Distance:
| [[Trail Distance::{{{Trail Distance}}}]] trail{{#info: Strict non-repeating trail length | info }} / [[Trail distance round trip::{{{Round Trip Distance|}}}]] round trip{{#info: Typical or shortest length from the car, hike the trail, and return to car | info }}
|-
! Trail Type
| [[Trail Type::{{{Trail Type}}}]]
|-
! [[TEHCC Wiki:Trail Elevations|{{#if: {{{Low Point|}}}| Low /&nbsp;}}High Point]]
| {{#if: {{{Low Point|}}}| [[Trail Low Point::{{{Low Point}}}]] /&nbsp;}}[[Trail High Point::{{{High Point}}}]]
|-
! [[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}}}]]
|-
! Trip Reports{{#info: From user "hiked it" submissions<br />Recent is within last 90 days | info }}
| {{#ifeq:{{#arrayprint:reportcount}}|0|No hikes logged yet|{{#queryformlink:form=Trip Report Search|link text={{#arrayprint:reportcount}} logged hikes ({{#arrayprint:recentreports}} recent)|query string=Trip_Report_Table[trail]={{PAGENAME}}&Trip_Report_Table[SortOrder]=desc&_run}}}}
|-
! Nearby{{#info: Within {{#arrayprint:neardistance}}<br />Click link to view list | info }}
| {{#ifeq:{{#arrayprint:nearcount}}|0|No other Trails within {{#arrayprint:neardistance}}|{{#queryformlink:form=Trail Search|link text={{#arrayprint:nearcount}} trails / {{#arrayprint:nearmiles}} mi of trail|query string=Trail Search[distance max]={{#arrayprint:neardistance}}&Trail Search[location coordinates]={{{Trailhead location|}}}&_run}}}}
|-
! Parking
| [[Parking location::{{{Parking location|}}}]] [https://maps.google.com/maps?q={{#replace:{{{Parking location|}}}}} Map]
|-
! Trailhead
| [[Trailhead location::{{{Trailhead location|}}}]] [https://maps.google.com/maps?q={{#replace:{{{Trailhead location|}}}}} Map]
|-
| colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;" |
{{#google_maps:{{{Parking location|}}}~{{#titleparts:{{PAGENAME}}}}~Main Parking Location|zoom=8|width=100%|height=180px|type=roadmap|controls=}}
|-
! style="text-align: center;" colspan="2" | <span style="font-size: larger;">[https://maps.google.com/maps?q={{#replace:{{{Parking location|}}}}} Show In Google Maps]</span>
|}{{#if:{{filepath:{{#titleparts:{{PAGENAME}}}}.kml}}|{{#set:Has KML Link={{filepath:{{#titleparts:{{PAGENAME}}}}.kml}} }} }}[[Category:Trails]]</includeonly>
Please note that all contributions to TEHCC Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see TEHCC Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)