Template:Map

From Outward Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

Template which invokes the Map module to display an interactive Leaflet map.

Usage

{{Map

| map = One of: chersonese, cierzo, enmerkarforest, berg, hallowedmarsh, monsoon, abrassar, levant, antiqueplateau, harmattan, caldera

| title = Title above the map (optional)

| center = The position the map defaults to. Format is y,x (min: 0,0, max: 100,100)

| width = Width of the displayed map, defaults to 300. Min should be 200, max 600.

| height = Height of the displayed map, defaults to 300. Min should be 200, max 600.

| minzoom = The minimum zoom level, must be whole numbers. Defaults to 1, min is 1, max 4.

| zoom = The default zoom level, must be whole numbers. Defaults to 2, min is 1, max 4.

| padding = padding around the map, default 10px.

| float = css float property, default to left.

| points = Simple point markers, separated by ";". Format is "y,x,title(optional),description(optional),color(optional);"

| rectangles = Dual-coordinate areas, separated by ";". Format is "yA,xA,yB,xB,title(optional),description(optional),color(optional);"
}}

Examples

{{Map
|map=chersonese
|title=Chersonese
|padding=10
|float=none
|center=45,45
|width=200
|height=200
|minzoom=1
|zoom=3
| 45,45
}}


Chersonese
Loading map...
Chersonese
Loading map...

See Also