Difference between revisions of "Template:Infobox Park"

From Pensapedia, the Pensacola encyclopedia
Jump to navigation Jump to search
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: #ABCDEF;" | {{#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 #ABCDEF;" {{!}} <div style="border: 1px solid #ABCDEF;">[[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 by'''
 
{{!}} {{{operator}}}}}
 
{{!}} {{{operator}}}}}
 
|-  
 
|-  
{{#if: {{{location}}}|
+
{{#if: {{{location|}}}|
 
{{!}} '''Location'''
 
{{!}} '''Location'''
 
{{!}} {{{location}}}}}
 
{{!}} {{{location}}}}}
 
|-
 
|-
{{#if: {{{opened}}}|
+
{{#if: {{{opened|}}}|
 
{{!}} '''Opened'''
 
{{!}} '''Opened'''
 
{{!}} {{{opened}}}}}
 
{{!}} {{{opened}}}}}
 
|-
 
|-
{{#if: {{{mapcode}}}|
+
{{#if: {{{mapcode|}}}|
 
{{!}} colspan="2" {{!}} {{{mapcode}}}}}
 
{{!}} colspan="2" {{!}} {{{mapcode}}}}}
 
|}<noinclude>
 
|}<noinclude>

Revision as of 03:01, 23 December 2006

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.