Editing Template:Map
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
== Use == | == Use == | ||
− | Define a base map layer, choose a display width, and specify the labels. X and Y are percentages. | + | 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. |
− | |||
− | The grid layer can be used while editing to assist with positioning. | ||
− | |||
− | |||
<pre><nowiki> | <pre><nowiki> | ||
− | {{Map/Start|base=FILENAME.png|width=PIXELS | + | {{Map/Start|base=FILENAME.png|width=PIXELS}} |
− | <!-- {{Map/Grid | + | <!-- {{Map/Grid}} --> |
− | {{Map/Label| | + | {{Map/Label|X|Y|Label}} |
− | {{Map/Label| | + | {{Map/Label|X|Y|[[Label with link]]}} |
− | {{Map/ | + | {{Map/Label|X|Y|Label|color=COLOR}} |
{{Map/End}} | {{Map/End}} | ||
</nowiki></pre> | </nowiki></pre> | ||
== Examples == | == Examples == | ||
− | + | ||
− | |||
{{Map/Start|base=Equus Oils.png|width=500}} | {{Map/Start|base=Equus Oils.png|width=500}} | ||
− | {{Map/Label| | + | {{Map/Label|50|50|Test}} |
− | {{Map/Label| | + | {{Map/Label|25|75|[[Equus Oils|Link test]]}} |
− | {{Map/ | + | {{Map/Label|75|25|Color test|color=green}} |
− | {{Map/Label| | + | {{Map/Label|75|75|A longer test on several lines}} |
{{Map/End}} | {{Map/End}} | ||
− | + | ||
{{Map/Start|base=Equus Oils.png|width=500}} | {{Map/Start|base=Equus Oils.png|width=500}} | ||
{{Map/Grid|color=rgba(255, 255, 255, 0.4)}} | {{Map/Grid|color=rgba(255, 255, 255, 0.4)}} | ||
{{Map/End}} | {{Map/End}} | ||
− | |||
− | |||
== Components == | == Components == | ||
Line 41: | Line 34: | ||
* [[Template:Map/End]] | * [[Template:Map/End]] | ||
− | [[Category: | + | [[Category:Maps]] |
</noinclude> | </noinclude> |