Template:Park: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (trying an array)
m (Undo revision 6798 by Tim (talk) - did not like, must not have array functions)
Line 17: Line 17:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{#arraydefine:parkcoords|{{#replace:{{{Parking}}}|<nowiki> </nowiki>|}}}}{| style="width: 30em; 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: 30em; 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" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
|-
Line 61: Line 61:
}}
}}
|-
|-
! style="text-align: center; background-color:#ccccff;" colspan="2" | <span style="font-size: larger;">[http://maps.google.com/maps?q={{#arrayprint:parkcoords}} 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:{{{Parking}}}|<nowiki> </nowiki>|}} Show In Google Maps]</span>
|}
|}
[[Category:Park]]
[[Category:Park]]
</includeonly>
</includeonly>

Revision as of 15:38, 29 April 2018

This is the "Park" template. It is typically populated from the Form:Park.

It should be called in the following format:

{{Park
|Park Type=
|Activities=
|Features=
|Lodging Types=
|Camping Amenities=
|City=
|State=
|Area=
|Operated By=
|Parking=
}}

Edit the page to see the template text.