Changes

Jump to navigation Jump to search

Template:Infobox Park

124 bytes added, 21:31, 19 August 2009
m
no edit summary
{| class="infobox" style="width: 300px; font-size: 90%;"
|-
! colspan="2" style="font-size: larger; background-color: #ABCDEFeaf1e8;" | {{#if: {{{park|}}}|{{{park}}}}}
|-
{{#if: {{{image|}}}|{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #ABCDEFeaf1e8;" {{!}} <div style="border: 1px solid #ABCDEFeaf1e8;">[[Image:{{{image}}}|288px|{{{caption}}}]]</div> <center>{{{caption}}}</center>}}
|-
{{#if: {{{type|}}}|
{{!}} '''Type'''
{{!}} {{{type}}}}}
|-
{{#if: {{{size|}}}|
{{!}} '''Size'''
{{!}} {{{size}}}}}
|-
{{#if: {{{facilities|}}}|
{{!}} '''Facilities'''
{{!}} {{{facilities}}}}}
|-
{{#if: {{{operator|}}}|{{!}} '''Operated &nbsp;by'''
{{!}} {{{operator}}}}}
|-
{{#if: {{{opened|}}}|{{!}} '''Opened'''{{!}} {{{opened}}}}}|-{{#if: {{{closed|}}}|{{!}} '''Closed'''{{!}} {{{closed}}}}}|- {{#if: {{{visitors|}}}|{{!}} '''Annual visitorsVisitors'''
{{!}} {{{visitors}}}}}
|-
{{#if: {{{location|}}}|
{{!}} '''Location'''
{{!}} {{{location}}}}}
|-
{{#if: {{{openedmapcode|}}}|{{!}} '''Opened'''{{!}} {{{opened}}}}}|-{{#if: {{{lat}}} and {{{lon}}}|<googlemap lat="{{{lat}}}" lon="{{{lon}}}" zoomcolspan="162" width="288" height="288" overview="no">{{{lat}}}, {{{lon}!}}, {{{parkmapcode}}}</googlemap>}}
|}<noinclude>
This is an infobox template for when you want a generic infobox for a park, preserve or similar facility of any kind. For the Map field, just use the built-in Google Editors Map to find and copy-paste the latitude and longitude for resulting code into the respective "latmapcode" and "lon" propertiesfield. (288px is a good width to use.)<pre>{{Infobox Park|park=|image=|caption=|type=|size=|facilities=|operator=|visitors=|opened=|closed=|location=|mapcode=}}</pre>
[[Category:Infobox templates|Park]]
</noinclude>

Navigation menu