Difference between revisions of "Template:Infobox Park"

From Pensapedia, the Pensacola encyclopedia
Jump to navigation Jump to search
m (green makes more sense)
m
 
(2 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: #c2e6b8;" | {{#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 #c2e6b8;" {{!}} <div style="border: 1px solid #c2e6b8;">[[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|}}}|
Line 25: Line 25:
 
{{!}} '''Opened'''
 
{{!}} '''Opened'''
 
{{!}} {{{opened}}}}}
 
{{!}} {{{opened}}}}}
 +
|-
 +
{{#if: {{{closed|}}}|
 +
{{!}} '''Closed'''
 +
{{!}} {{{closed}}}}}
 
|-  
 
|-  
 
{{#if: {{{visitors|}}}|
 
{{#if: {{{visitors|}}}|
Line 37: Line 41:
 
{{!}} colspan="2" {{!}} {{{mapcode}}}}}
 
{{!}} colspan="2" {{!}} {{{mapcode}}}}}
 
|}<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
 
<pre>{{Infobox Park
 
|park=
 
|park=
Line 48: Line 52:
 
|visitors=
 
|visitors=
 
|opened=
 
|opened=
 +
|closed=
 
|location=
 
|location=
 
|mapcode=
 
|mapcode=

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=
}}