Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Change to redlink nonexistent city pages)
(change parking to main location)
Line 20: Line 20:
  |Area=
  |Area=
  |Operated By=
  |Operated By=
  |Parking=
  |Main Location=
}}
}}
</pre>
</pre>
Line 74: Line 74:
|-
|-
! style="text-align: left; background-color:#ccccff;" | Main Location
! style="text-align: left; background-color:#ccccff;" | Main Location
| [[Parking location::{{{Parking|}}}]] [http://maps.google.com/maps?q={{#replace:{{{Parking|}}}}} Map]
| [[Parking location::{{{Main Location|}}}]] [http://maps.google.com/maps?q={{#replace:{{{Main Location|}}}}} Map]
|-
|-
| colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;" |  
| colspan=2 id="gmap" border=0 height="180" valign="top" style="margin-top: 20px;" |  
{{#display_map:{{{Parking}}}~{{#titleparts:{{PAGENAME}}}}~Main Parking Location|zoom=8|width=100%|height=180px|type=roadmap|controls=}}
{{#display_map:{{{Main Location}}}~{{#titleparts:{{PAGENAME}}}}~Main Parking Location|zoom=8|width=100%|height=180px|type=roadmap|controls=}}
|-
|-
! style="text-align: center; background-color:#ccccff;" colspan="2" | <span style="font-size: larger;">[http://maps.google.com/maps?q={{#replace:{{{Parking}}}}} Show In Google Maps]</span>
! style="text-align: center; background-color:#ccccff;" colspan="2" | <span style="font-size: larger;">[http://maps.google.com/maps?q={{#replace:{{{Main Location}}}}} Show In Google Maps]</span>
|}[[Category:Parks]]</includeonly>
|}[[Category:Parks]]</includeonly>

Revision as of 08:01, 19 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.