Difference between revisions of "Template:Map"

From Wikispooks
Jump to navigation Jump to search
m (left/right alignment margins)
m (typo)
Line 1: Line 1:
 
<noinclude>'''This template is for placing a GoogleMaps map and caption in a right-floating box.'''<br/>  
 
<noinclude>'''This template is for placing a GoogleMaps map and caption in a right-floating box.'''<br/>  
The caption text will wrap within the box border and the borders will expand to accommodate whatever width & height are specified for the map  
+
The caption text will wrap within the box border and the borders will expand to accommodate whatever width & height are specified for the map margin
margin
 
 
'''Usage:'''<br/>
 
'''Usage:'''<br/>
 
<nowiki>{{</nowiki>{{t|{{PAGENAME}}}}<br/>
 
<nowiki>{{</nowiki>{{t|{{PAGENAME}}}}<br/>

Revision as of 10:27, 18 November 2015

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 margin 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
|align= optional horizontal float. default is right. Use only to change to left
|zoom= Optional. whole number, 1 - 16
|type= Optional. roadmap, satellite, hybrid or terrain
}}