Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (Remove new cell pipe for trail map)
(Adding park trail count and miles)
Line 9: Line 9:
|Activities=
|Activities=
|Features=
|Features=
|Park Trail Count=
|Park Trail Miles=
|Lodging Types=
|Lodging Types=
|Camping Amenities=
|Camping Amenities=
Line 36: Line 38:
|-
|-
! style="text-align: left; background-color:#ccccff;" | External Links
! style="text-align: left; background-color:#ccccff;" | External Links
{{#if: {{{Park Website|}}}|{{!}} [{{{Park Website|}}} Official Website]{{#set:Park Website={{{Park Website|}}}}}}}
|{{#if: {{{Park Website|}}}|[{{{Park Website|}}} Official Website]{{#set:Park Website={{{Park Website|}}}}}}}
{{#if: {{{Trail Map Link|}}}|[{{{Trail Map Link|}}} Official Trail Map]{{#set:Trail Map Link={{{Trail Map Link|}}}}}}}
{{#if: {{{Trail Map Link|}}}|[{{{Trail Map Link|}}} Official Trail Map]{{#set:Trail Map Link={{{Trail Map Link|}}}}}}}
|-
|-
Line 44: Line 46:
! style="text-align: left; background-color:#ccccff;" | Features
! style="text-align: left; background-color:#ccccff;" | Features
| {{List to Icons|List={{{Features|}}}}}{{#set:Features={{{Features|}}}|+sep=,}}
| {{List to Icons|List={{{Features|}}}}}{{#set:Features={{{Features|}}}|+sep=,}}
|-
! style="text-align: left; background-color:#ccccff;" | Park Trails
| {{#if: {{{Park Trail Count|}}}|[[Park Trail Count::{{{Park Trail Count|}}}]]|[[Park Trail Count::{{Park trail count}}]]}} Trails / Total of {{#if: {{{Park Trail Miles|}}}|[[Park Trail Miles::{{{Park Trail Miles|}}}]]|[[Park Trail Miles::{{Park trail miles}}]]}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | Lodging Types
! style="text-align: left; background-color:#ccccff;" | Lodging Types

Revision as of 22:03, 11 November 2018

This is the "Park" template. It is typically populated from the Form:Park.

It should be called in the following format:

{{Park
|Park Type=
|Park Website=
|Trail Map Link=
|Activities=
|Features=
|Park Trail Count=
|Park Trail Miles=
|Lodging Types=
|Camping Amenities=
|City=
|State=
|Area=
|Operated By=
|Parking=
}}

Edit the page to see the template text.