Template:Location map: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - "0 1em 0.5em 0" to "0 1em 0.25em 0")
(This should allow it to match the thumbnail style for consistency across different skins, let's see)
Line 1: Line 1:
<includeonly>{| style="float: left; margin: 0 1em 0.25em 0;" class="wikitable locationmap"
<includeonly><div class="thumb tleft"><div class="thumbinner">
| style="text-align: center;" |
{{map | width = {{{width}}} | height = {{{height}}} | image = {{{image}}} | bg = {{{bg|}}} | icons = {{{icons|}}} }}
{{map | width = {{{width}}} | height = {{{height}}} | image = {{{image}}} | bg = {{{bg|}}} | icons = {{{icons|}}} }}<span style="font-size: 90%">{{{caption}}}</span>
<div class="thumbcaption">{{{caption}}}</div>
|}</includeonly><noinclude>
</div></div></includeonly><noinclude>


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


==Parameters==
==Parameters==

Revision as of 18:44, August 11, 2021


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.
icons No A collection of icons to place on the image. Use {{map icon}} for this.
bg No Background color to use.

Skeleton

{{location map | width = <width> | height = <height> | image = <image> | bg = <background color> | caption = <caption> | 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
Location of the landing site.