Template:Map: Difference between revisions

mNo edit summary
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>:To insert a map, see [[Template:Map]].</includeonly><noinclude>A template for making maps with labels. See [[Map]].
<includeonly>:To insert a map, see [[Template:Map]].</includeonly><noinclude>A template for making maps with labels. See [[Maps]].


== Use ==
== Use ==
Line 7: Line 7:
The grid layer can be used while editing to assist with positioning. The default grid is white with 20% opacity.
The grid layer can be used while editing to assist with positioning. The default grid is white with 20% opacity.


Optional attributes include: (Start) Link; (Label) Color, Length, Width/halfwidth
Optional attributes include: (Start) Link; (Label) Color, Length, Width


<pre><nowiki>
<pre><nowiki>
Line 13: Line 13:
<!-- {{Map/Grid|color=rgba(255, 255, 255, 1)}} -->
<!-- {{Map/Grid|color=rgba(255, 255, 255, 1)}} -->
{{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}}
{{Map/LabelE|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM}}
{{Map/LabelE|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM}}
{{Map/End}}
{{Map/End}}
Line 22: Line 22:
<div style="float: left; margin-right: 2em; margin-bottom: 2em;">
<div style="float: left; margin-right: 2em; margin-bottom: 2em;">
{{Map/Start|base=Equus Oils.png|width=500}}
{{Map/Start|base=Equus Oils.png|width=500}}
{{Map/Label|12|36|Horse head|length=20|width=6|halfwidth=3}}
{{Map/Label|12|36|Horse head|length=20|width=6}}
{{Map/Label|28|71|Computer|width=6|halfwidth=3}}
{{Map/Label|28|71|Computer|width=6}}
{{Map/LabelE|53|75|[[Joseph]]|length=45|width=4.5}}
{{Map/LabelE|53|75|[[Joseph]]|length=45|width=4.5}}
{{Map/Label|80|10|Color &<br />multiline test|color=green}}
{{Map/Label|80|10|Color &<br />multiline test|color=green}}