Template:Infobox Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(trying something else)
(trying again)
Line 31: Line 31:
__NOTOC__
__NOTOC__
<div style="float: right; width: 270px">
<div style="float: right; width: 270px">
<div class="Infobox_Trail">
<!--the class assignment makes sure we get the right CSS applied from Common.css -->
{| style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;"
{| style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;"
| style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;" |
| style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;" |
<div class="Infobox_Trail">
<!--the class assignment makes sure we get the right CSS applied from Common.css -->
{|  
{|  
<!--lines like the one below create a visual divider bar cell -->
<!--lines like the one below create a visual divider bar cell -->
Line 114: Line 114:
|}
|}
<!-- close outer table -->
<!-- close outer table -->
<!-- |} -->
|}
</div>|}</div>[[Category:Trail]]</includeonly>
</div></div>[[Category:Trail]]</includeonly>

Revision as of 13:37, 25 September 2015

This is the 'Infobox Trail' template. This template creates the 'sidebar' with info about each trail like the state, nearest city, nearest medical, coordinates of the tail head. Entries marked "Optional" should be deleted, or at least blank in the usage to avoid erroneous data connections.

It should be called in the following format:

{{Infobox Trail
 | Image Name = Placeholder.gif
 | Park = Optional - should be name of a park without [[ ]] that has a page
 | City = *
 | State = *
 | Marking = *
 | Trail Use = {{ATV‎}} {{Biking}} {{Camping}} {{Dogs}} {{Fishing}} {{Hike}} {{Horses}} {{Shelter}} {{Skiing}} {{Waterfall}} 
 | Difficulty Rating = Easy / Medium / Hard
 | Hike Time = Default Hours, but accepts Min
 | Distance = OBSOLETE - Hike distance, unclear intent; round trip? Segments? Lollipops? (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 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)
 | High Point = Default Feet but accepts Yards, Meters, km
 | Latitude = OBSOLETE - Latitude location of parking location in decimal format
 | Longitude = OBSOLETE - Longitude location of parking location in decimal format
 | Parking coords = Optional - Lat,Lon format, long term replacing Latitude and Longitude above
 | Trailhead coords = Optional - Lat,Lon format, likely use this on the trail map
 | Medical = *
}}

Edit the page to see the template text.