Template:Tag test

From OpenStreetMap Wiki
Jump to: navigation, search

Prototype replacement for Template:Tag.

{{ Tag_test | key | value | value (without auto-link) }}

What you want What you type
highway=motorway {{Tag_test|highway|motorway}}
highway=* {{Tag_test|highway}}
To force it to not link, skip the second argument and put the text in the third argument like:
bridge=yes {{Tag_test|bridge||yes}}
ref=ref number {{Tag_test|ref||''ref number''}}
addr:housenumber=number {{Tag_test|addr||''number''|:=housenumber}}
To link to the other language version.

Insert those parameters somewhere in the template. xx indicates the namespace for a language.

  • kl=xx
  • vl=xx
What you want What you type
highway=motorway {{Tag_test|kl=DE|highway|motorway}}
highway=motorway {{Tag_test|highway|vl=DE|motorway}}
highway=motorway {{Tag_test|highway|motorway|kl=DE|vl=DE}}