Difference between revisions of "Template:Map"

From Wikispooks
Jump to navigation Jump to search
m (Undo revision 50050 by Peter (talk))
m (tweek)
Line 5: Line 5:
 
<nowiki>{{</nowiki>{{t|{{PAGENAME}}}}<br/>
 
<nowiki>{{</nowiki>{{t|{{PAGENAME}}}}<br/>
 
|{{t|coordinates}}= Mandatory. coordinate1,2~marker title~marker text; repeat for more markers<br/>
 
|{{t|coordinates}}= Mandatory. coordinate1,2~marker title~marker text; repeat for more markers<br/>
|{{t|width}}= Optional. map width - whole number only - no'px' (default 400)<br/>
+
|{{t|width}}= Optional. map width - whole number only - ie no 'px' (default 400)<br/>
|{{t|height}}= Optional. map height - whole number only - no'px' (default 340)<br/>
+
|{{t|height}}= Optional. map height - whole number only - ie no 'px' (default 340)<br/>
 
|{{t|caption}}= Optional. map caption - standard wikitext including links<br/>
 
|{{t|caption}}= Optional. map caption - standard wikitext including links<br/>
 
|{{t|zoom}}= Optional. whole number, 1 - 13<br/>
 
|{{t|zoom}}= Optional. whole number, 1 - 13<br/>

Revision as of 07:01, 8 September 2014

This template is for placing a GoogleMaps map and caption in a right-floating box.
The caption text will wrap within the box border and the borders will expand to accommodate whatever width & height are specified for the map

Usage:
{{Map
|coordinates= Mandatory. coordinate1,2~marker title~marker text; repeat for more markers
|width= Optional. map width - whole number only - ie no 'px' (default 400)
|height= Optional. map height - whole number only - ie no 'px' (default 340)
|caption= Optional. map caption - standard wikitext including links
|zoom= Optional. whole number, 1 - 13
|type= Optional. roadmap, satellite, hybrid or terrain
}}