Template:Park: Difference between revisions
Jump to navigation
Jump to search
(Make it say 'none' if no lodging types) |
(#if other fields that are often unused) |
||
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 }} | ||
| {{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 }} | ||
| {{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 }} | ||
| {{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 21:41, 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.