Template:JOSM Icon

From OpenStreetMap Wiki
Jump to navigation Jump to search

[[File:JOSM-Icon-{{{1}}}.png|24px]]

[Edit] [Purge] Template-info.svg Template documentation

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.svg

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

JOSM-Icon-add.svg

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

JOSM-Icon-add.svg

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

JOSM-Icon-add.svg Add

JOSM icon names

Red x.svg To do: Create a JOSM Icons list page and include it here

See also