Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add more links to table and try anchoring)
m (fix campground link)
Line 64: Line 64:
| {{#if: {{{Lodging Types|}}}|{{Auto List to Icons|List={{{Lodging Types|}}}}}{{#set:Lodging Types={{{Lodging Types|}}}|+sep=,}}|None}}
| {{#if: {{{Lodging Types|}}}|{{Auto List to Icons|List={{{Lodging Types|}}}}}{{#set:Lodging Types={{{Lodging Types|}}}|+sep=,}}|None}}
|-
|-
{{#if: {{{Camping Amenities|}}}|! style="text-align: left; background-color:#ccccff;" {{!}} [[Template:Auto List to Icons#camping{{!}}Camping Amenities]]}}
{{#if: {{{Camping Amenities|}}}|! style="text-align: left; background-color:#ccccff;" {{!}} [[Template:Auto List to Icons#campground{{!}}Camping Amenities]]}}
{{#if: {{{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=,}}}}
|-
|-

Revision as of 10:45, 21 December 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=
 |Main Location=
}}

Edit the page to see the template text.