Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add entrance fee to park)
(change entrance fee row)
Line 43: Line 43:
|-
|-
! style="text-align: left; background-color:#ccccff;" | Entrance Fee
! 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}}
|{{#switch: {{{Entrance Fee Type|}}}
| None = None{{#set:Entrance Fee=0}}{{#set:Entrance Fee Type=None}}
| per vehicle|per person = ${{{Entrance Fee|}}} {{{Entrance Fee Type|}}}{{#set:Entrance Fee={{{Entrance Fee|}}}}}{{#set:Entrance Fee Type={{{Entrance Fee Type|}}}}}
| #default = 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 14:33, 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.