Template:Map: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
== Use == | == 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. | 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.<br> | |||
Optionally, for visibility, specify a color in rgba format (rgb: 0-255, a: 0.0-1.0); the default is white with 20% opacity. | |||
<pre><nowiki> | <pre><nowiki> | ||
{{Map/Start|base=FILENAME.png|width=PIXELS}} | {{Map/Start|base=FILENAME.png|width=PIXELS}} | ||
<!-- {{Map/Grid}} --> | <!-- {{Map/Grid|color=rgba(255, 255, 255, 1)}} --> | ||
{{Map/Label|X|Y|Label}} | {{Map/Label|X|Y|Label}} | ||
{{Map/Label|X|Y|[[Label with link]]}} | {{Map/Label|X|Y|[[Label with link]]}} | ||
| Line 24: | Line 27: | ||
{{Map/Start|base=Equus Oils.png|width=500}} | {{Map/Start|base=Equus Oils.png|width=500}} | ||
{{Map/Grid|color=rgba( | {{Map/Grid|color=rgba(0, 0, 255, 0.4)}} | ||
{{Map/End}} | {{Map/End}} | ||