Difference between revisions of "Template:Map box"

From Birocapedia
Jump to navigationJump to search
Line 1: Line 1:
<div style="clear: {{{align|right}}}; float: {{{align|right}}}; {{#ifeq: {{{align|right}}} | left | margin-right: .5em; |  }}; border-width: .5em {{#ifeq: {{{align|right}}} | right | 0 .8em 1.4em | 1.4em .8em 0 }};">
+
<div style="margin-bottom: .5em; border-style: solid; border-color: white; clear: {{{align|right}}}; float: {{{align|right}}}; {{#ifeq: {{{align|right}}} | left | margin-right: .5em; |  }}; border-width: .5em {{#ifeq: {{{align|right}}} | right | 0 .8em 1.4em | 1.4em .8em 0 }};">
<table style="width:1px; margin-bottom: .5em; border-style: solid; border-color: white;">
+
<table style="width:1px;">
 
<tr>
 
<tr>
 
<td width="90%"><!--push col 1 back--></td>
 
<td width="90%"><!--push col 1 back--></td>
 
<td style="border: 1px solid #ccc; padding: 3px !important; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden;">
 
<td style="border: 1px solid #ccc; padding: 3px !important; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden;">
 
<div style="border: 1px solid #ccc;">{{{content|You forgot to put the map in!}}}</div>
 
<div style="border: 1px solid #ccc;">{{{content|You forgot to put the map in!}}}</div>
<div style="border: none; text-align: left; padding: 3px !important; font-size: 94%; width: inherit;">{{{caption|}}}</div></td>
+
<div style="border: none; text-align: left; padding: 3px !important; font-size: 94%;">{{{caption|}}}</div></td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
</div>
 
</div>
 
 
<noinclude>
 
<noinclude>
  

Revision as of 20:56, 13 November 2009

You forgot to put the map in!


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!