Difference between revisions of "Template:Infobox Park"

From Pensapedia, the Pensacola encyclopedia
Jump to navigation Jump to search
m
 
(7 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|}}}|
Line 19: Line 19:
 
|-
 
|-
 
{{#if: {{{operator|}}}|
 
{{#if: {{{operator|}}}|
{{!}} '''Operated by'''
+
{{!}} '''Operated&nbsp;by'''
 
{{!}} {{{operator}}}}}
 
{{!}} {{{operator}}}}}
 +
|-
 +
{{#if: {{{opened|}}}|
 +
{{!}} '''Opened'''
 +
{{!}} {{{opened}}}}}
 +
|-
 +
{{#if: {{{closed|}}}|
 +
{{!}} '''Closed'''
 +
{{!}} {{{closed}}}}}
 +
|-
 +
{{#if: {{{visitors|}}}|
 +
{{!}} '''Annual Visitors'''
 +
{{!}} {{{visitors}}}}}
 
|-  
 
|-  
 
{{#if: {{{location|}}}|
 
{{#if: {{{location|}}}|
 
{{!}} '''Location'''
 
{{!}} '''Location'''
 
{{!}} {{{location}}}}}
 
{{!}} {{{location}}}}}
|-
 
{{#if: {{{opened|}}}|
 
{{!}} '''Opened'''
 
{{!}} {{{opened}}}}}
 
 
|-
 
|-
 
{{#if: {{{mapcode|}}}|
 
{{#if: {{{mapcode|}}}|
 
{{!}} 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
 +
|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=
}}