Template:Location map

From Pikipedia, the Pikmin wiki
Revision as of 15:29, March 22, 2023 by Porplemontage (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Info

This template creates a map, particularly one that shows the location of some item. It makes use of {{map}}, but wraps it in a thumbnail frame and highlights each icon with a circle by default.

Parameters

Parameter Mandatory Default Detailed description
width Yes Width to display the image at.
height Yes Height to display the image at.
image Yes Name of the image file, with extension.
caption Yes Caption to write below the image.
align No left Page alignment for the thumbnail frame. Can be set to "right".
bg No Background color to use.
icons No A collection of icons to place on the image. Use {{map icon}} for this.

Skeleton

{{location map | width = <width> | height = <height> | image = <image> | caption = <caption> | align = <align?> | bg = <background color?> | icons =
{{map icon | <icon> | <x> | <y> | <size> | bg = <background?> | custom = <custom?>}}
}}

Examples

Code Result
{{ location map | width = 368 | height = 232 | image = AW map cropped.jpg | caption = Location of the landing site. | icons =
{{map icon | Hocotate ship | 132 | 181}}
}}
Overview of the Awakening Wood, cropped. From File:Mezame snap.jpg.
Hocotate ship icon.png
Location of the landing site.