Difference between revisions of "Template:Map box"

From Birocapedia
Jump to navigationJump to search
Line 14: Line 14:
 
|caption=}}</pre>
 
|caption=}}</pre>
  
Note that if you want the box aligned to the right then you do not need to specify the align value, you can leave it blank just like with a thumbnail. The width value also has a default of 200 pixels.
+
Note that if you want the box aligned to the right then you do not need to specify the align value, you can leave it blank just like with a thumbnail. You can leave the caption field blank.
  
 
== Example ==
 
== Example ==
Line 27: Line 27:
 
{{Thumbnail box
 
{{Thumbnail box
 
|align=left
 
|align=left
|content=<googlemap version="0.9" lat="44.327256" lon="-70.680027" type="terrain" zoom="15" width="600"></googlemap>}}
+
|content=<googlemap version="0.9" lat="44.327256" lon="-70.680027" type="terrain" zoom="15" width="600"></googlemap>
 +
|caption=Overset Pond and Overset Mountain. [[Lake McWain]] is due south.}}}}
 
</noinclude>
 
</noinclude>

Revision as of 22:30, 13 November 2009

{{#ifeq: right | right | | }} {{#ifeq: right | right | | }}
{{{content}}}
{{#if: |
{{{caption}}}
| }}

Purpose

Makes a box that looks like the box around a thumbnail around a map.

Usage

{{Thumbnail box
|align=
|content=
|caption=}}

Note that if you want the box aligned to the right then you do not need to specify the align value, you can leave it blank just like with a thumbnail. You can leave the caption field blank.

Example

{{Thumbnail box
|align=left
|content=
<googlemap version="0.9" lat="44.327256" lon="-70.680027" type="terrain" zoom="15" width="600">
</googlemap>
|caption=Overset Pond and Overset Mountain. [[Lake McWain]] is due south.}}

Gives:

{{#ifeq: left | right | | }} {{#ifeq: left | right | | }}
<googlemap version="0.9" lat="44.327256" lon="-70.680027" type="terrain" zoom="15" width="600"></googlemap>
{{#if: Overset Pond and Overset Mountain. Lake McWain is due south. |
Overset Pond and Overset Mountain. Lake McWain is due south.
| }}

}}