Difference between revisions of "Template:Map box"

From Birocapedia
Jump to navigationJump to search
Line 10: Line 10:
  
 
<pre>{{Thumbnail box
 
<pre>{{Thumbnail box
|width
+
|align=
|content
+
|width=
|caption}}</pre>
+
|content=
 +
|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.
 +
 
 +
== Example ==
 +
 
 +
<pre>{{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.}}</pre>
 +
Gives:
 +
{{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.}}
 
</noinclude>
 
</noinclude>

Revision as of 13:54, 3 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
|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:

<googlemap version="0.9" lat="44.327256" lon="-70.680027" type="terrain" zoom="15" width="600"> </googlemap>
Overset Pond and Overset Mountain. Lake McWain is due south.