Difference between revisions of "Template:Map"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
{{Map/Label|1=X|2=Y|3=Label}} | {{Map/Label|1=X|2=Y|3=Label}} | ||
{{Map/Label|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM|halfwidth=(half of width)}} | {{Map/Label|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM|halfwidth=(half of width)}} | ||
+ | {{Map/LabelE|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM}} | ||
{{Map/End}} | {{Map/End}} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 20: | Line 21: | ||
<div style="float: left; margin-right: 4em; margin-bottom: 2em;"> | <div style="float: left; margin-right: 4em; margin-bottom: 2em;"> | ||
{{Map/Start|base=Equus Oils.png|width=500}} | {{Map/Start|base=Equus Oils.png|width=500}} | ||
− | {{Map/Label| | + | {{Map/Label|12|34|Horse head|length=20|width=6|halfwidth=3}} |
− | + | {{Map/Label|28|66|Computer|width=6|halfwidth=3}} | |
− | {{Map/Label| | + | {{Map/LabelE|53|68|[[Joseph]]|length=45|width=4.5}} |
− | {{Map/ | + | {{Map/Label|80|10|Color &<br />multiline test|color=green}} |
− | {{Map/Label| | + | |
{{Map/End}} | {{Map/End}} | ||
</div> | </div> |
Revision as of 00:43, 7 February 2018
A template for making maps with labels. See Maps.
Use
Define a base map layer, choose a display width, and specify the labels. X and Y are percentages.
The grid layer can be used while editing to assist with positioning.
Optionally, for visibility, specify a color in rgba format (rgb: 0-255, a: 0.0-1.0); the default is white with 20% opacity.
{{Map/Start|base=FILENAME.png|width=PIXELS|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|color=COLOR|length=PIXELS|width=EM|halfwidth=(half of width)}} {{Map/LabelE|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM}} {{Map/End}}