Difference between revisions of "Template:Infobox Park"

From Pensapedia, the Pensacola encyclopedia
Jump to navigation Jump to search
m
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{| class="infobox" style="width: 300px; font-size: 90%;"
 
{| class="infobox" style="width: 300px; font-size: 90%;"
 
|-
 
|-
! colspan="2" style="font-size: larger; background-color: #ABCDEF;" | {{#if: {{{park}}}|{{{park}}}}}
+
! colspan="2" style="font-size: larger; background-color: #eaf1e8;" | {{#if: {{{park|}}}|{{{park}}}}}
 
|-
 
|-
{{#if: {{{image}}}|
+
{{#if: {{{image|}}}|
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #ABCDEF;" {{!}} <div style="border: 1px solid #ABCDEF;">[[Image:{{{image}}}|288px|{{{caption}}}]]</div> <center>{{{caption}}}</center>}}
+
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #eaf1e8;" {{!}} <div style="border: 1px solid #eaf1e8;">[[Image:{{{image}}}|288px|{{{caption}}}]]</div> <center>{{{caption}}}</center>}}
 
|-
 
|-
{{#if: {{{type}}}|
+
{{#if: {{{type|}}}|
 
{{!}} '''Type'''
 
{{!}} '''Type'''
 
{{!}} {{{type}}}}}
 
{{!}} {{{type}}}}}
 
|-
 
|-
{{#if: {{{size}}}|
+
{{#if: {{{size|}}}|
 
{{!}} '''Size'''
 
{{!}} '''Size'''
 
{{!}} {{{size}}}}}
 
{{!}} {{{size}}}}}
 
|-
 
|-
{{#if: {{{facilities}}}|
+
{{#if: {{{facilities|}}}|
 
{{!}} '''Facilities'''
 
{{!}} '''Facilities'''
 
{{!}} {{{facilities}}}}}
 
{{!}} {{{facilities}}}}}
 
|-
 
|-
{{#if: {{{operator}}}|
+
{{#if: {{{operator|}}}|
{{!}} '''Operated by'''
+
{{!}} '''Operated&nbsp;by'''
 
{{!}} {{{operator}}}}}
 
{{!}} {{{operator}}}}}
 
|-
 
|-
{{#if: {{{visitors}}}|
+
{{#if: {{{opened|}}}|
{{!}} '''Annual visitors'''
+
{{!}} '''Opened'''
 +
{{!}} {{{opened}}}}}
 +
|-
 +
{{#if: {{{closed|}}}|
 +
{{!}} '''Closed'''
 +
{{!}} {{{closed}}}}}
 +
|-
 +
{{#if: {{{visitors|}}}|
 +
{{!}} '''Annual Visitors'''
 
{{!}} {{{visitors}}}}}
 
{{!}} {{{visitors}}}}}
 
|-  
 
|-  
{{#if: {{{location}}}|
+
{{#if: {{{location|}}}|
 
{{!}} '''Location'''
 
{{!}} '''Location'''
 
{{!}} {{{location}}}}}
 
{{!}} {{{location}}}}}
 
|-
 
|-
{{#if: {{{opened}}}|
+
{{#if: {{{mapcode|}}}|
{{!}} '''Opened'''
+
{{!}} colspan="2" {{!}} {{{mapcode}}}}}
{{!}} {{{opened}}}}}
 
|-
 
{{#if: {{{lat}}} and {{{lon}}}|
 
<googlemap lat="{{{lat}}}" lon="{{{lon}}}" zoom="16" width="288" height="288" overview="no">{{{lat}}}, {{{lon}}}, {{{park}}}</googlemap>}}
 
 
|}<noinclude>
 
|}<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 the latitude and longitude for the respective "lat" and "lon" properties.
+
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 and copy-paste the resulting code into the "mapcode" field. (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]]
 
[[Category:Infobox templates|Park]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:31, 19 August 2009

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 and copy-paste the resulting code into the "mapcode" field. (288px is a good width to use.)

{{Infobox Park
|park=
|image=
|caption=
|type=
|size=
|facilities=
|operator=
|visitors=
|opened=
|closed=
|location=
|mapcode=
}}