Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (curly not paren)
(remove bang templates - messed up property assignments)
Line 50: Line 50:
|-
|-
! 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 }}
| {{#if: {{{Activities|}}}|{{Auto List to Icons|List={{{Activities|}}}}}{{#set:Allowed activities={{{Activities|}}}{{!}}+sep=,}}}}
| {{#if: {{{Activities|}}}|{{Auto List to Icons|List={{{Activities|}}}}}{{#set:Allowed activities={{{Activities|}}}|+sep=,}}}}
|-
|-
! 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 }}
! 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 }}
| {{#if: {{{Park Amenities|}}}|{{Auto List to Icons|List={{{Park Amenities|}}}}}{{#set:Park Amenities={{{Park Amenities|}}}{{!}}+sep=,}}}}
| {{#if: {{{Park Amenities|}}}|{{Auto List to Icons|List={{{Park Amenities|}}}}}{{#set:Park Amenities={{{Park Amenities|}}}|+sep=,}}}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | [[Template:Auto List to Icons|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 }}
| {{#if: {{{Features|}}}|{{Auto List to Icons|List={{{Features|}}}}}{{#set:Features={{{Features|}}}{{!}}+sep=,}}}}
| {{#if: {{{Features|}}}|{{Auto List to Icons|List={{{Features|}}}}}{{#set:Features={{{Features|}}}|+sep=,}}}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | Park Trails
! style="text-align: left; background-color:#ccccff;" | Park Trails

Revision as of 13:06, 2 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=
 |Parking=
}}

Edit the page to see the template text.