Template:Infobox Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(adding optional park listing)
(Park didn't work on first try...)
Line 47: Line 47:
| width="130" | {{PAGENAME}}
| width="130" | {{PAGENAME}}
|-
|-
{{#if: {{{Park|}}}|{{!}}'''Park'''}}
{{#if: {{{Park}}}|{{!}} Park}}
{{#if: {{{Park|}}}|{{!}}{{rel|Park|{{{Park|}}}}}}}
{{#if: {{{Park}}}|[[Park::{{{Park}}}]]}}
|-
|-
! Nearest City
! Nearest City

Revision as of 21:40, 23 August 2015


This is the 'Infobox Trail' template. 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.