Difference between revisions of "Template:Map box"

From Birocapedia
Jump to navigationJump to search
Line 1: Line 1:
<div class="thumb tright">
+
<table style="width:1px; margin-bottom: .5em; border-style: solid; border-color: white; clear: right; float: right; border-width: .5em 0 .8em 1.4em;">
<table style="width:0px;"><tr><td style="width:90%"></td><td>
+
<tr><td width="90%"><!--push col 2 back--></td>
<div class="thumbinner">
+
<td style="border: 1px solid #ccc; padding: 3px !important; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden;"><div class="thumbimage">{{{content}}}</div><div class="thumbcaption">{{{caption}}}</div></td></tr></table><noinclude>
<div class="thumbimage">{{{content}}}</div>
+
 
<div class="thumbcaption">{{{caption}}}</div>
 
</div></td></tr></table></div><noinclude>
 
  
 
<pre>
 
<pre>

Revision as of 23:10, 13 November 2009

{{{content}}}
{{{caption}}}



Purpose

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

Usage

{{Thumbnail box
|align=
|width=
|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. The width value also has a default of 200 pixels.

Example

{{Thumbnail box
|align=left
|width=600
|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:

{{{content}}}
{{{caption}}}