Template:Park: Difference between revisions
Jump to navigation
Jump to search
(change smw parameter to Main Location) |
(add more links to table and try anchoring) |
||
Line 49: | Line 49: | ||
}} | }} | ||
|- | |- | ||
! 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|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#amenities|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|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=,}}}} | ||
|- | |- | ||
Line 61: | Line 61: | ||
| {{#if: {{{Park Trail Count|}}}|[[Park Trail Count::{{{Park Trail Count|}}}]]|[[Park Trail Count::{{Park trail count|Park={{PAGENAME}}}}]]}} Trails / Total of {{#if: {{{Park Trail Miles|}}}|[[Park Trail Miles::{{{Park Trail Miles|}}}]]|[[Park Trail Miles::{{Park trail miles|Park={{PAGENAME}}}}]]}} | | {{#if: {{{Park Trail Count|}}}|[[Park Trail Count::{{{Park Trail Count|}}}]]|[[Park Trail Count::{{Park trail count|Park={{PAGENAME}}}}]]}} Trails / Total of {{#if: {{{Park Trail Miles|}}}|[[Park Trail Miles::{{{Park Trail Miles|}}}]]|[[Park Trail Miles::{{Park trail miles|Park={{PAGENAME}}}}]]}} | ||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | Lodging Types | ! style="text-align: left; background-color:#ccccff;" | [[Template:Auto List to Icons#lodging|Lodging Types]] | ||
| {{#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;" {{!}} Camping Amenities}} | {{#if: {{{Camping Amenities|}}}|! style="text-align: left; background-color:#ccccff;" {{!}} [[Template:Auto List to Icons#camping{{!}}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:44, 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.