Template:JOSM Icon/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is a documentation subpage for Template:JOSM Icon.
It contains usage information, categories and other content or metadata that is not part of the original template.

Usage

This template includes JOSM icons into wiki pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namename 1

name of the JOSM icon

Example
autonode
Stringrequired
sizesize 2

icon size, in a format supported by image links

Default
24px
Example
64px
Stringoptional
alignmentalignment

alignment of the image on wiki page

Example
right;left
Stringoptional
linklink

link in case someone clicks on the image

Example
JOSM
URLoptional

Application

  • {{JOSM Icon|add}}

  • {{JOSM Icon|add|alignment=right}}
  • {{JOSM Icon|add|link=https://openstreetmap.org}}

  • {{JOSM Icon|add|48px}}

  • {{Button|{{JOSM Icon|add}} Add}}

Add

JOSM icon names

 To do: Create a JOSM Icons list page and include it here

See also