Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (Add links to icon decoder)
(add entrance fee to park)
Line 9: Line 9:
  |Park Website=
  |Park Website=
  |Trail Map Link=
  |Trail Map Link=
|Entrance Fee=
|Entrance Fee Type=
  |Activities=
  |Activities=
  |Features=
  |Features=
Line 39: Line 41:
|{{#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|}}}}}}}
|-
! style="text-align: left; background-color:#ccccff;" | Entrance Fee
|{{#if: {{{Entrance Fee Type|}}}|{{{Entrance Fee|}}} {{{Entrance Fee Type|}}}{{#set:Entrance Fee={{{Entrance Fee|}}}}}{{#set:Entrance Fee Type={{{Entrance Fee Type|}}}}}|Unknown}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | [[Template:Auto List to Icons|Activities]]{{#info: Things to do at the park | info }}
! style="text-align: left; background-color:#ccccff;" | [[Template:Auto List to Icons|Activities]]{{#info: Things to do at the park | info }}

Revision as of 12:57, 30 November 2019

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

It should be called in the following format (remember to delete unused fields after the '=' or delete the entire row):

{{Park
 |Banner Image = pick a trail tagged photo, if left blank will search for pagename Banner.jpg
 |Park Type=
 |City=
 |Park Website=
 |Trail Map Link=
 |Entrance Fee=
 |Entrance Fee Type=
 |Activities=
 |Features=
 |Amenities=
 |Park Trail Count=
 |Park Trail Miles=
 |Lodging Types=
 |Camping Amenities=
 |Area=
 |Operated By=
 |Parking=
}}

Edit the page to see the template text.