Even for a low-activity wiki, hosting & rendering many HQ image files takes significant resources and comes with high monthly server costs.
If you're able, please consider contributing to keep the site running to help support this independent, ad-free, fan-run site. Thank you!
Difference between revisions of "Template:Map"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
{{Map/Start|base=FILENAME.png|width=PIXELS|link=PAGENAME}} | {{Map/Start|base=FILENAME.png|width=PIXELS|link=PAGENAME}} | ||
<!-- {{Map/Grid|color=rgba(255, 255, 255, 1)}} --> | <!-- {{Map/Grid|color=rgba(255, 255, 255, 1)}} --> | ||
− | {{Map/Label|X|Y|Label}} | + | {{Map/Label|1=X|2=Y|3=Label}} |
− | {{Map/Label|X|Y| | + | {{Map/Label|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM|halfwidth=(half of width)}} |
− | |||
{{Map/End}} | {{Map/End}} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 23: | Line 22: | ||
{{Map/Label|50|50|Test}} | {{Map/Label|50|50|Test}} | ||
{{Map/Label|25|75|[[Equus Oils|Link test]]}} | {{Map/Label|25|75|[[Equus Oils|Link test]]}} | ||
− | {{Map/Label|75|25|Color test|color=green}} | + | {{Map/Label|25|25|Width test|width=6|halfwidth=3}} |
+ | {{Map/Label|75|25|Color & length test|color=green|length=40}} | ||
{{Map/Label|75|75|A longer test on several lines}} | {{Map/Label|75|75|A longer test on several lines}} | ||
{{Map/End}} | {{Map/End}} |
Revision as of 00:24, 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/End}}