Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (fix parking parametyer name)
m (Add links to icon decoder)
Line 40: Line 40:
{{#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;" | 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 }}
| {{Auto List to Icons|List={{{Activities|}}}}}{{#set:Allowed activities={{{Activities|}}}|+sep=,}}
| {{Auto List to Icons|List={{{Activities|}}}}}{{#set:Allowed activities={{{Activities|}}}|+sep=,}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | Park Amenities{{#info: Things built to enjoy or use at the park | info }}
! style="text-align: left; background-color:#ccccff;" | [[Template:Auto List to Icons|Park Amenities]]{{#info: Things built to enjoy or use at the park | info }}
| {{Auto List to Icons|List={{{Park Amenities|}}}}}{{#set:Park Amenities={{{Park Amenities|}}}|+sep=,}}
| {{Auto List to Icons|List={{{Park Amenities|}}}}}{{#set:Park Amenities={{{Park Amenities|}}}|+sep=,}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | Features{{#info: Natural things to see at the park | info }}
! style="text-align: left; background-color:#ccccff;" | [[Template:Auto List to Icons|Features]]{{#info: Natural things to see at the park | info }}
| {{Auto List to Icons|List={{{Features|}}}}}{{#set:Features={{{Features|}}}|+sep=,}}
| {{Auto List to Icons|List={{{Features|}}}}}{{#set:Features={{{Features|}}}|+sep=,}}
|-
|-

Revision as of 16:00, 25 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=
 |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.