Open main menu

Changes

419 bytes added ,  10:00, 4 February 2020
m
no edit summary
<includeonly>:To insert a map, see [[Template:Map]].</includeonly><noinclude>A template for making maps with labels. See [[Maps]].
== Use ==
Define a base map layer, choose a display width, and list specify the placeslabels. X and Y are percentages. Uncomment the 2%  The grid layer can be used while editing to position the locationsassist with positioning. The default grid is white with 20% opacityOptional attributes include: (Start) Link; (Label) Color, Length, Width
<pre><nowiki>
{{Map/Start|base=FILENAME.png|width=WIDTHPIXELS|link=PAGENAME}}<!--{{Map/Grid|color=rgba(255, 255, 255, 1)}}-->{{Map/Label|1=X|2=Y|3=Label}}{{Map/Label|1=X|2=Y|[[3=Label with link]]|color=COLOR|length=PIXELS|width=EM}}{{Map/LabelLabelE|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM}}
{{Map/End}}
</nowiki></pre>
== Tests & Examples ==<div style="overflow: hidden;"><div style="float: left; margin-right: 2em; margin-bottom: 2em;">
{{Map/Start|base=Equus Oils.png|width=500}}
{{Map/Label|5012|5036|TestHorse head|length=20|width=6}}{{Map/Label|2528|7571|Computer|[[Test]]width=6}}{{Map/LabelLabelE|53|75|25|[[TestJoseph]]|colorlength=45|width=blue4.5}}{{Map/Label|7580|7510|A longer Color &<br />multiline test on several lines|color=green}}
{{Map/End}}
 {{Map</Start|basediv><div style=Screen_Shot_2013"float: left; margin-12bottom: 2em; margin-17_at_3.01.44_PM.png}}{{Map/Label|56|48|[[Elkhorn Mine]]}}{{Map/End}}left: 2em;">{{Map/Start|base=GiantoverworldmapEquus Oils.png|width=700500}}{{Map/Grid|color=rgba(255, 255, 255, 0.4)}}
{{Map/End}}
</div>
</div>
== Edit Components ==
* [[Template:Map/Start]]
* [[Template:Map/Label]]
* [[Template:Map/Grid]]
* [[Template:Map/End]]
[[Category:MapsMap Templates]]
</noinclude>