Difference between revisions of "Template:Map box"

From Birocapedia
Jump to navigationJump to search
Line 5: Line 5:
 
<div style="border: none; text-align: left; padding: 3px !important; font-size: 94%;">{{{caption}}}</div></td></tr></table><noinclude>
 
<div style="border: none; text-align: left; padding: 3px !important; font-size: 94%;">{{{caption}}}</div></td></tr></table><noinclude>
  
<div class="thumb tright"><div class="thumbinner" style="width:402px;"><a href="/wiki/File:CITs(2)8.10.09.JPG" class="image" title="The summer of 2009 CITs posing with their CIT plaque"><img alt="" src="/w/images/thumb/1/16/CITs%282%298.10.09.JPG/400px-CITs%282%298.10.09.JPG" width="400" height="281" border="0" class="thumbimage" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:CITs(2)8.10.09.JPG" class="internal" title="Enlarge"><img src="/w/skins/common/images/magnify-clip.png" width="15" height="11" alt="" /></a></div>The summer of 2009 CITs posing with their CIT plaque</div></div></div>
+
<div class="thumb tright">
 +
<table><tr>
 +
<td width="90%"><!--push col 1 back--></td>
 +
<td><div class="thumbinner"><div class="thumbimage">{{{content}}}</div>
 +
<div class="thumbcaption">{{{caption}}}</div>
 +
</td></tr></table></div></div>
  
  

Revision as of 22:29, 13 November 2009

You forgot to put the map in!
{{{caption}}}
{{{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:

You forgot to put the map in!
{{{caption}}}