Template:PossibleSynonym

From OpenStreetMap Wiki
Jump to navigation Jump to search
  • {{{1}}}={{{2}}} ‒ {{{3}}}
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
[Edit] [Purge] Template-info.svg Template documentation

{{PossibleSynonym}} and {{PossibleSynonym2}} are both used to list common tagging mistakes. The latter is more compact, only showing the total count of elements with the tag.

Usage

Don't use this for rare tagging mistakes. In those cases, it makes more sense to correct them yourself or add Notes.

Also, for popular tagging mistakes this template is rarely useful: if there is really a common pointless duplicate then consult other mappers and take action to fix the problem. And in many cases this template was places where it was not actually a pointless duplicate and resulted in bad mass edits.

This template is basically never helpful.

You can use this template simply by adding to the page one of the following syntaxes:

You can optionally append a short observation in the first rendered line by adding the third parameter.

The optional parameters |kl = lang and |vl = lang may be used to specify explicitly the language code of the target pages for links in the rendered tags. Without them, this template will attempt to locate a translation in the same language as the current page (as determined by {{Langcode}}), or will link to the default page (usually in English) if there's still no translation available. This may be needed if there are too many costly parser calls (caused by tests of existences of translated pages), when you know that the target translated page exists (look at the links in rendered page to see if they point to the English page or a translation: if a language code prefix is present in the link, you may safely specify these parameters).

Examples

If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
  • {{PossibleSynonym|shop|car_wash}} to indicate the tag shop=car_wash is a possible synonym of the current page:
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!
  • {{PossibleSynonym|shop|car_wash|This tag may also be this other tag.}} with the short observation:
If you know places with this tag, verify if it could be tagged with another tag.
Automated edits are strongly discouraged unless you really know what you are doing!

Autocategorisation

This template categorizes automatically the pages using this template in Category:Tagging Mistakes (or one of its existing translated categories).

See also

Template displays warning about possible synonym of this tag.

Template parameters

ParameterDescriptionTypeStatus
Key1

Key (or key part of full tag) of possible synonym of the current page.

Linerequired
Value2

Value of tag of possible synonym of the current page.

Lineoptional
Description3

Short description.

Lineoptional
Languagelang

Language code of preferred template rendering.

Example
de
Stringoptional
Key page languagekl

Language code of preferred key page link.

Example
de
Stringoptional
Value page languagevl

Language code of preferred value page link.

Example
de
Stringoptional
Disable categorizationnocat

Assigning any value disables the template's category linking behavior

Example
yes
Booleanoptional