Editing Template:Park
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Park" template. It is typically populated from the [[Form:Park]]. | This is the "Park" template. It is typically populated from the [[Form:Park]]. | ||
<p>It should be called in the following format | <p>It should be called in the following format: | ||
<pre> | <pre> | ||
{{Park | {{Park | ||
|Park Type= | |||
|Park Website= | |||
|Trail Map Link= | |||
|Activities= | |||
|Features= | |||
|Park Trail Count= | |||
|Park Trail Miles= | |||
|Lodging Types= | |||
|Camping Amenities= | |||
|City= | |||
|Area= | |||
|Operated By= | |||
|Parking= | |||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</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" | | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
|- | |- | ||
| colspan=2 border=0 height="200" align="center" valign="top" | | colspan=2 border=0 height="200" align="center" valign="top" | {{#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>}} | ||
|- | |- | ||
! style="text-align: center; background-color:#ccccff; height: 1em;" colspan="2" | | ! style="text-align: center; background-color:#ccccff; height: 1em;" colspan="2" | | ||
Line 36: | Line 31: | ||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | Located | ! style="text-align: left; background-color:#ccccff;" | Located | ||
| [[City::{{{City|}}}]], [[State::{{#show: {{{City|}}}|?Located In|link=none}}]] | |||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | External Links | ! style="text-align: left; background-color:#ccccff;" | External Links | ||
Line 42: | Line 37: | ||
{{#if: {{{Trail Map Link|}}}|[{{{Trail Map Link|}}} Official Trail Map]{{#set:Trail Map Link={{{Trail Map Link|}}}}}}} | {{#if: {{{Trail Map Link|}}}|[{{{Trail Map Link|}}} Official Trail Map]{{#set:Trail Map Link={{{Trail Map Link|}}}}}}} | ||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | ! style="text-align: left; background-color:#ccccff;" | Activities | ||
| {{List to Icons|List={{{Activities|}}}}}{{#set:Allowed activities={{{Activities|}}}|+sep=,}} | |||
| {{ | |||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | ! style="text-align: left; background-color:#ccccff;" | Features | ||
| {{ | | {{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 | ||
| {{#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;" | ! style="text-align: left; background-color:#ccccff;" | Lodging Types | ||
| {{# | | {{#arraymap:{{{Lodging Types|}}}|,|x|[[Lodging Types::x]]}} | ||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | Camping Amenities | |||
{{# | | {{#arraymap:{{{Camping Amenities|}}}|,|x|[[Camping Amenities::x]]}} | ||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | Park Area | ! style="text-align: left; background-color:#ccccff;" | Park Area | ||
Line 74: | Line 59: | ||
|- | |- | ||
! style="text-align: left; background-color:#ccccff;" | Main Location | ! style="text-align: left; background-color:#ccccff;" | Main Location | ||
| [[ | | [[Parking location::{{{Parking}}}]] | ||
|- | |- | ||
| 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:{{{ | {{#display_map:{{{Parking}}}~{{#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;">[http://maps.google.com/maps?q={{#replace:{{{Parking}}}}} Show In Google Maps]</span> | ||
|}[[Category:Parks]]</includeonly> | |}[[Category:Parks]]</includeonly> |