Template:Taginfo wrapper/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

A wrapper to {{Taginfo}} which also labels the template with the key and value used. A work-around, until the label is added to Taginfo, where it should be part of the rendered HTML table.

Usage

{{Taginfo wrapper|key= key[:subkey] |value= Example |style= }}

The two first parameters key and value are mandatory. Style is optional and may be used for the container.

Example

{{Taginfo wrapper|key=highway|value=residential}} renders as:

highway=residential

See also