Template:Infobox Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(tweaking parks field)
(another attempt)
Line 38: Line 38:
| width="130" | {{PAGENAME}}
| width="130" | {{PAGENAME}}
|-
|-
{{#if: {{{Park|}}}|{{!}} Park}}
{{#if: {{{Park|}}}|! Park}}
{{#if: {{{Park|}}}|{{!}} [[Park::{{{Park|}}}}}]]}}
{{#if: {{{Park|}}}|{{!}} [[Park::{{{Park|}}}]]}}
|-
|-
! Nearest City
! Nearest City

Revision as of 19:04, 31 August 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.

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 = <list names of other templates>
                     | Difficulty Rating = *
                     | Hike Time = *
                     | Distance = * 
                     | Elevation Gain = *
                     | High Point = *
                     | Latitude = *
                     | Longitude = *
                     | Medical = *
}}

Edit the page to see the template text.