Template:Park: Difference between revisions
Jump to navigation
Jump to search
m (fix campground link) |
(change to https) |
||
(One intermediate revision by the same user not shown) | |||
Line 26: | Line 26: | ||
[[Category:Park Class Items]] | [[Category:Park Class Items]] | ||
</noinclude><includeonly>{| style="width: 350px; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | </noinclude><includeonly>{| style="width: 350px; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<div style="float: left;">{{List It Button|Page={{PAGENAME}}|Text=List It|Exist Text=Edit List}}</div><span style="font-size: larger;">{{PAGENAME}}</span> | ||
|- | |- | ||
| colspan=2 border=0 height="200" align="center" valign="top" | {{#if: {{{Banner Image|}}}|[[{{{Banner Image|}}}|350px]]|{{#ifexist: Media:{{PAGENAME}} Banner.jpg|[[File:{{PAGENAME}} Banner.jpg|350px]]|<div style="width:250px"><div class="pops" style="width:200px;height:200px;line-height:250px;text-align:center;border: 1px solid #404040">''[[media:{{PAGENAME}} Banner.jpg|Click here to upload a picture]]''</div></div>}}}} | | colspan=2 border=0 height="200" align="center" valign="top" | {{#if: {{{Banner Image|}}}|[[{{{Banner Image|}}}|350px]]|{{#ifexist: Media:{{PAGENAME}} Banner.jpg|[[File:{{PAGENAME}} Banner.jpg|350px]]|<div style="width:250px"><div class="pops" style="width:200px;height:200px;line-height:250px;text-align:center;border: 1px solid #404040">''[[media:{{PAGENAME}} Banner.jpg|Click here to upload a picture]]''</div></div>}}}} | ||
Line 74: | Line 74: | ||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | Main Location | ! style="text-align: left; background-color:#ccccff;" | Main Location | ||
| [[Main Location::{{{Main Location|}}}]] [ | | [[Main Location::{{{Main Location|}}}]] [https://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:{{{Main Location}}}~{{#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;">[ | ! style="text-align: center; background-color:#ccccff;" colspan="2" | <span style="font-size: larger;">[https://maps.google.com/maps?q={{#replace:{{{Main Location}}}}} Show In Google Maps]</span> | ||
|}[[Category:Parks]]</includeonly> | |}[[Category:Parks]]</includeonly> |
Latest revision as of 23:53, 2 January 2023
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.