Template:Valuelink/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

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

Template for value links in Map features.

Usage

{{ valuelink | key | value }}

broom icon

This template is optimised for Map Features templates. Options whose presence would slow down rendering or exceed resource limits are omitted.

For some reasons, this template requires that the value is a data item.

Example

{{Valuelink|leisure|fitness_station}} gives: fitness_station

Troubleshooting

If you get this error in red:

Data item not found. Check your spelling.

It means the value has not a data item. Check the page about data items.

See also