Template:Infobox Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Add elevation loss field)
(Tweak - still trying to get rid of extra space)
Line 25: Line 25:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<div style="float: right; width: 270px">
<!----hide the table of contents, I'm not expecting our pages so long that they're needed -->
<!----hide the table of contents, I'm not expecting our pages so long that they're needed -->
__NOTOC__
__NOTOC__
<div style="float: right; width: 270px">
<div class="Infobox_Trail">
<div class="Infobox_Trail">
<!--the class assignment makes sure we get the right CSS applied from Common.css -->
<!--the class assignment makes sure we get the right CSS applied from Common.css -->

Revision as of 23:00, 10 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 = Default Miles, but accepts Ft, Meters, and km 
 | Elevation Gain = Default Feet but accepts Yards, Meters, km
 | Elevation Loss = Default Feet but accepts Yards, Meters, km
 | High Point = Default Feet but accepts Yards, Meters, km
 | Latitude = *
 | Longitude = *
 | Parking coords = Optional - Lat,Lon format
 | Trailhead coords = Optional - Lat,Lon format
 | Medical = *
}}

Edit the page to see the template text.