Template:JOSM Icon

From OpenStreetMap Wiki
Jump to: navigation, 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 has custom formatting.

ParameterDescriptionTypeStatus
Namename1

name of the JOSM icon

Default
empty
Example
autonode
Auto value
empty
Stringrequired
Sizesize2

icon size, in a format supported by image links

Default
24px
Example
64px
Auto value
empty
Stringoptional
Alignmentalignment

alignment of the image on wiki page

Default
empty
Example
right;left
Auto value
empty
Stringoptional
Linklink

link in case someone clicks on the image

Default
empty
Example
JOSM
Auto value
empty
URLoptional

Application

  • {{JOSM Icon|add}}

JOSM-Icon-add.png

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

JOSM-Icon-add.png

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

JOSM-Icon-add.png

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

JOSM-Icon-add.png Add

JOSM icon names

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

See also

JOSM-Icon