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 3: | Line 3: | ||
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. | 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 | It should be called in the following format: | ||
<pre> | <pre> | ||
{{Trail | {{Trail | ||
| Trail Number = Optional - Typically a Forest Service Trail # | | Trail Number = Optional - Typically a Forest Service Trail # | ||
| Park = Optional - should be name of a park without [[ ]] that has a page | | 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) | | Land Owner = Optional - Expected to typically be name of city, state, or national forest (e.g. Kingsport, Cherokee National Forest, or Tennessee) | ||
Line 24: | Line 21: | ||
| Low Point = Optional - As it is, the lowest elevation of the trail (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) | ||
| High Point = The highest elevation along 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 | | Elevation Change = The amount of typical ascent in a round trip (Default Feet but accepts Yards, Meters, km) | ||
| Parking location = Lat,Lon format of typical parking for trail access (sets IB map pin) | | Parking location = Lat,Lon format of typical parking for trail access (sets IB map pin) | ||
| Trailhead location = Lat,Lon format of typical trail access | | Trailhead location = Lat,Lon format of typical trail access | ||
Line 32: | Line 27: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{| class="Infobox_Trail" | |||
</noinclude><includeonly | ! style="text-align: center;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
! style="text-align: center;" colspan="2" | | |||
|- | |- | ||
| colspan=2 border=0 height="200" align="center" valign="top" | | colspan=2 border=0 height="200" align="center" valign="top" | {{#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" | | ! colspan="2" | | ||
|- | |- | ||
{{#if: {{{Trail Number|}}}|! Trail Number}} | {{#if: {{{Trail Number|}}}|! Trail Number}} | ||
{{#if: {{{Trail Number|}}}|{{!}} [[Trail number::{{{Trail Number|}}}]]}} | {{#if: {{{Trail Number|}}}|{{!}} [[Trail number::{{{Trail Number|}}}]]}} | ||
|- | |- | ||
{{#if: {{{Park|}}}|! Park}} | {{#if: {{{Park|}}}|! Park}} | ||
Line 65: | Line 47: | ||
|- | |- | ||
! style="width: 125px" | Located | ! style="width: 125px" | Located | ||
| {{#if:{{{ | | [[City::{{#if: {{{Park|}}}|{{#show: {{{Park|}}}|?City|link=none}}|{{{City|}}} }}]], [[State::{{#if: {{{Park|}}}|{{#show: {{{Park|}}}|?State|link=none}}|{{#show: {{{City|}}}|?Located In|link=none}} }}]] | ||
|- | |- | ||
! Trail Marking | ! Trail Marking | ||
| [[Trail Marking::{{{Trail Marking}}}]] | | [[Trail Marking::{{{Trail Marking}}}]] | ||
|- | |- | ||
! [[Template: | ! [[Template:List to Icons| Trail Use]] | ||
| {{ | | {{List to Icons|List={{{Trail Use|}}}}}{{#set:Allowed activities={{{Trail Use|}}}|+sep=,}} | ||
|- | |- | ||
! [[Template: | ! [[Template:List to Icons| Features]] | ||
| {{ | | {{List to Icons|List={{{Trail Features|}}}}}{{#set:Features={{{Trail Features|}}}|+sep=,}} | ||
|- | |- | ||
! [[ClubWIKI:Difficulty Rating| Difficulty Rating]] | ! [[ClubWIKI:Difficulty Rating| Difficulty Rating]] | ||
| [[Difficulty::{{{Difficulty Rating}}}]] | | [[Difficulty::{{{Difficulty Rating}}}]] | ||
|- | |- | ||
! Hiking Time | ! Hiking Time | ||
| [[Hike Time::{{{Hike Time}}}]] round trip | | [[Hike Time::{{{Hike Time}}}]] round trip | ||
|- | |- | ||
! Distance: | ! Distance: | ||
| [[Trail Distance::{{{Trail Distance}}}]] trail | | [[Trail Distance::{{{Trail Distance}}}]] trail / [[Trail distance round trip::{{{Round Trip Distance|}}}]] round trip | ||
|- | |- | ||
! Trail Type | ! Trail Type | ||
| [[Trail Type::{{{Trail Type}}}]] | | [[Trail Type::{{{Trail Type}}}]] | ||
|- | |- | ||
! | ! {{#if: {{{Low Point|}}}| Low / }}High Point | ||
| {{#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}}}]] | ||
|- | |- | ||
! | ! Elevation Change | ||
| [[ | | [[Trail Elevation Change::{{{Elevation Change}}}]] | ||
|- | |- | ||
! Parking | ! Parking | ||
| [[Parking location::{{{Parking location|}}}] | | [[Parking location::{{{Parking location|}}}]] | ||
|- | |- | ||
! Trailhead | ! Trailhead | ||
| [[Trailhead location::{{{Trailhead location|}}}] | | [[Trailhead location::{{{Trailhead location|}}}]] | ||
|- | |- | ||
| colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;" | | | colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;" | | ||
{{# | {{#display_map:{{{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;">[ | ! style="text-align: center;" colspan="2" | <span style="font-size: larger;">[http://maps.google.com/maps?q={{#replace:{{{Parking location|}}}}} Show In Google Maps]</span> | ||
| | |}[[Category:Trails]]</includeonly> |