Difference between revisions of "Template:Map"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
(removing half)
m
 
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 ==

Latest revision as of 10:00, 4 February 2020

A template for making maps with labels. See Maps.

Use[edit]

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 default grid is white with 20% opacity.

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

{{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}}
{{Map/LabelE|1=X|2=Y|3=Label|color=COLOR|length=PIXELS|width=EM}}
{{Map/End}}

Examples[edit]

Equus Oils.png
Horse head
Computer
Color &
multiline test
Equus Oils.png
10%
10%
10%
20%
20%
20%
30%
30%
30%
40%
40%
40%
50%
50%
50%
60%
60%
60%
70%
70%
70%
80%
80%
80%
90%
90%
90%

Components[edit]