Template:Taginfo/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

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

Usage

This is just a shortcut for embeding Taginfo info boxes in other pages.

There are also name parameters:

  • "link": if set to "yes" the template only displays the link to tag info page.
  • "search": if set, the template only displays the taginfo icon with a link to a taginfo search for the string given with search=.


{{taginfo|key|value}}

Examples

{{taginfo|highway|residential}}

{{taginfo|highway|}}

relation members and roles:
{{taginfo|rtype=route}}

{{taginfo|highway|residential|link=yes}}

ti highway=residential

{{taginfo|highway||link=yes}}

ti highway=*

{{taginfo|search=:lanes=variable}}

ti


See also