Difference between revisions of "Template:Map box"

From Birocapedia
Jump to navigationJump to search
Line 1: Line 1:
 
<div style="margin-bottom: .5em; border-style: solid; border-color: white; width: auto; clear: right; float: right; border-width: .5em 0 .8em 1.4em;"><div style="width:{{#expr: {{{width}}} + 2}}px; border: 1px solid #ccc; padding: 3px !important; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden;"><div style="width:{{{width}}}px; border: 1px solid #ccc;">{{{content}}}</div><div style="border: none; text-align: left; line-height: 1.4em; padding: 3px !important; font-size: 94%;">
 
<div style="margin-bottom: .5em; border-style: solid; border-color: white; width: auto; clear: right; float: right; border-width: .5em 0 .8em 1.4em;"><div style="width:{{#expr: {{{width}}} + 2}}px; border: 1px solid #ccc; padding: 3px !important; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden;"><div style="width:{{{width}}}px; border: 1px solid #ccc;">{{{content}}}</div><div style="border: none; text-align: left; line-height: 1.4em; padding: 3px !important; font-size: 94%;">
 
{{{caption}}}</div></div></div>
 
{{{caption}}}</div></div></div>
 +
 +
<noinclude>
 +
== Purpose ==
 +
 +
Makes a box that looks like the box around a thumbnail but with any content you want, for example a map.
 +
 +
== Usage ==
 +
 +
<pre>{{Thumbnail box
 +
|width
 +
|content
 +
|caption}}</pre>
 +
</noinclude>

Revision as of 21:21, 2 April 2009

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


Purpose

Makes a box that looks like the box around a thumbnail but with any content you want, for example a map.

Usage

{{Thumbnail box
|width
|content
|caption}}