Template:PermanentID/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

Gives the permanent ID (name) set in the corresponding data item of a key or tag, respective to the type. The type must be manually set as second parameter with a template call.

Notes

Syntax

{{PermanentID|<Q-ID>|<tag type>}}

Parameters

  • 1 = data entity (item) ID starting with Q...
  • 2 = type of tag: key / prefix / suffix / value

Examples

  • {{PermanentID|Q123|key}} rendered : building:roof
  • {{PermanentID|Q123|value}} rendered : -
  • {{PermanentID|Q890|value}} rendered : bridge:movable=lift

See also