Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Change lodging to also convert to icons when possible)
(Switch to new Auto List to Icons)
Line 40: Line 40:
|-
|-
! style="text-align: left; background-color:#ccccff;" | Activities
! style="text-align: left; background-color:#ccccff;" | Activities
| {{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;" | Features
! style="text-align: left; background-color:#ccccff;" | Features
| {{List to Icons|List={{{Features|}}}}}{{#set:Features={{{Features|}}}|+sep=,}}
| {{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
Line 49: Line 49:
|-
|-
! style="text-align: left; background-color:#ccccff;" | Lodging Types
! style="text-align: left; background-color:#ccccff;" | Lodging Types
| {{List to Icons|List={{{Lodging Types|}}}}}{{#set:Lodging Types={{{Lodging Types|}}}|+sep=,}}
| {{Auto List to Icons|List={{{Lodging Types|}}}}}{{#set:Lodging Types={{{Lodging Types|}}}|+sep=,}}
|-
|-
! style="text-align: left; background-color:#ccccff;" | Camping Amenities
! style="text-align: left; background-color:#ccccff;" | Camping Amenities

Revision as of 08:30, 23 November 2018

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=
 |Park Trail Count=
 |Park Trail Miles=
 |Lodging Types=
 |Camping Amenities=
 |Area=
 |Operated By=
 |Parking=
}}

Edit the page to see the template text.