Template:Map icon

From Pikipedia, the Pikmin wiki
Revision as of 14:25, August 6, 2021 by Espyo (talk | contribs) (Created page with "<includeonly><div class="navboxIcon" style="z: 11; position: absolute; left: {{#expr:{{{2|0}}}-{{{4|32}}}/2}}px; top: {{#expr:{{{3|0}}}-{{{4|32}}}/2}}px;">{{#if:{{{custom|}}}|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Info

Places an icon on top of a map, for use with {{map}}.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 Yes Icon The name of the icon's subject. This will place the name in the {{icon}} template.
2 Yes 0 X X coordinate of the center of the icon.
3 Yes 0 Y Y coordinate of the center of the icon.
4 No 32 Width Width of the icon.
custom No Custom icon If you don't want the icon on the first parameter to use {{icon}}, then use the first parameter to specify your custom icon (or text, or whatever you want), and give this parameter a value, like "y".

Skeleton

{{map icon | <icon> | <x> | <y> | <size> | custom = <custom?>}}

Examples

See: Template:Map#Examples