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 7: | Line 7: | ||
{{Trail | {{Trail | ||
| Banner Image = pick a trail tagged photo, if left blank will search for pagename Banner.jpg | | Banner Image = pick a trail tagged photo, if left blank will search for pagename Banner.jpg | ||
| Trail | | Trail Comment = Optional - Brief comment about the trail for use in tables and map balloons | ||
| Trail Number = Optional - Typically a Forest Service Trail # | | 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.) | | Trail System = Optional - Is it part of some larger network? (e.g. AT, OMVT, Warriors Path Bike Trails, etc.) | ||
Line 33: | Line 33: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
[[Category:Trail Class Items]] | [[Category:Trail Class Items]] | ||
</noinclude><includeonly | </noinclude><includeonly>{| class="Infobox_Trail" | ||
! style="text-align: center;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span><div style="float: right;">{{Trip Report Button|Page={{PAGENAME}}|Text=Hiked It}}</div> | |||
! style="text-align: center;" colspan="2" | | |||
|- | |- | ||
| 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 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>}}}} | ||
Line 46: | Line 40: | ||
! colspan="2" | | ! colspan="2" | | ||
|- | |- | ||
{{#if: {{{Trail | {{#if: {{{Trail Comment|}}}|! Highlight}} | ||
{{#if: {{{Trail | {{#if: {{{Trail Comment|}}}|{{!}} [[Trail Comment::{{{Trail Comment|}}}]]}} | ||
|- | |- | ||
{{#if: {{{Trail Number|}}}|! Trail Number}} | {{#if: {{{Trail Number|}}}|! Trail Number}} | ||
Line 65: | Line 59: | ||
|- | |- | ||
! 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 | ||
Line 93: | Line 87: | ||
! [[TEHCC Wiki:Trail Elevations|Elev. Gain/Loss]]{{#info: See link for details of calculation. Gain/Loss is direction dependent. | info }} | ! [[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}}}]] | ||
|- | |- | ||
! Parking | ! Parking | ||
| [[Parking location::{{{Parking location|}}}]] [ | | [[Parking location::{{{Parking location|}}}]] [http://maps.google.com/maps?q={{#replace:{{{Parking location|}}}}} Map] | ||
|- | |- | ||
! Trailhead | ! Trailhead | ||
| [[Trailhead location::{{{Trailhead location|}}}]] [ | | [[Trailhead location::{{{Trailhead location|}}}]] [http://maps.google.com/maps?q={{#replace:{{{Trailhead location|}}}}} Map] | ||
|- | |- | ||
| 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> | ||
|}{{#if:{{filepath:{{#titleparts:{{PAGENAME}}}}.kml}}|{{#set:Has KML Link={{filepath:{{#titleparts:{{PAGENAME}}}}.kml}} }} }}[[Category:Trails]]</includeonly> | |}{{#if:{{filepath:{{#titleparts:{{PAGENAME}}}}.kml}}|{{#set:Has KML Link={{filepath:{{#titleparts:{{PAGENAME}}}}.kml}} }} }}[[Category:Trails]]</includeonly> |