Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(change entrance fee row)
(make camping amenities disappear when not used)
Line 64: Line 64:
| {{Auto List to Icons|List={{{Lodging Types|}}}}}{{#set:Lodging Types={{{Lodging Types|}}}|+sep=,}}
| {{Auto List to Icons|List={{{Lodging Types|}}}}}{{#set:Lodging Types={{{Lodging Types|}}}|+sep=,}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | Camping Amenities
{{#if: {{{Camping Amenities|}}}|! style="text-align: left; background-color:#ccccff;" {{!}} Camping Amenities}}
| {{Auto List to Icons|List={{{Camping Amenities|}}}}}{{#set:Camping Amenities={{{Camping Amenities|}}}|+sep=,}}
{{#if: {{{Camping Amenities|}}}|{{!}} {{Auto List to Icons|List={{{Camping Amenities|}}}}}{{#set:Camping Amenities={{{Camping Amenities|}}}|+sep=,}}}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | Park Area
! style="text-align: left; background-color:#ccccff;" | Park Area

Revision as of 21:37, 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.