Template:Test

From OpenStreetMap Wiki
Jump to navigation Jump to search


Logo.png
This page describes a historic artifact in the history of OpenStreetMap. It does not reflect the current situation, but instead documents the historical concepts, issues, or ideas.
About
nowadays Template:Tag implements this


This template is meant to replace the {{tag|...}} by {{test|language-code|...}} on non-English pages. It links to the respective language specific pages if they exist.

Example
Replace {{tag|power|tower}} by {{test|de|power|tower}}

If the page for the tag power exists in the specified language, i. e. there is a de:Tag:power than the template links to that page. If that page does not (yet) exist it links to the corresponding page in English, i. e. Tag:power.

Hence, translations of tag-pages are automatically linked as soon they exist.

Besides being language specific it provides the same options as {{tag}}.

What you want What you type

highway= motorway

{{test|de|highway|motorway}}

highway= *

{{test|de|highway}}
To force it to not link, skip the third argument and put the text in the fourth argument like:

highway= motorway

{{test|de|highway||motorway}}