Template:Common tags to use in combination

From OpenStreetMap Wiki
Jump to: navigation, search

Example:

  • name=* - the name of this feature
  • operator=* - indicates the operator of name of the company operating this feature
  • brand=* - the brand this feature belongs to
  • opening_hours=* - hours of opening
  • Address
  • phone=* - phone number of this feature
  • website=* - URL of this feature
  • wikipedia=* - a link to Wikipedia's article about the feature
  • drive_through=* - yes if this feature offers drive through service
  • wheelchair=no/yes/limited - suitable for wheelchairs
[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation

This template helps to describe "Tags used in combination" section in tag description pages. It can gives descriptions of common tags used with a main tag, their standardized description and their translate text.

Usage

{{Common tags to use in combination
|feature=<the type of the feature>
|name=<yes or description>
|operator=<yes or description>
|brand=<yes or description>
|addr=<yes or description>
|opening_hours=<yes or description>
|drive_through=<yes or description>
|wheelchair=<yes or description>
|phone=<yes or description>
|website=<yes or description>
|wikipedia=<yes or description>
|lang=<langcode>
}}

If operator is set as yes, operator=* will appear with the default description. If operator is set with description string, the description will be overwritten by it. Other parameters are also similar.

If feature is not set, "feature" is used as the type of the feature.

When lang=<langcode> is omitted, a language of the page includes this template is used. If the language is not supported by this template, English text is used.

Examples

{{Common tags to use in combination
|feature=building
|operator=yes
|addr=yes
|opening_hours=yes
|phone=phone number
}}

Result:

{{Common tags to use in combination
|feature=building
|operator=yes
|addr=yes
|opening_hours=yes
|lang=ja
}}

Result:

{{Common tags to use in combination
|operator=yes
|addr=yes
|opening_hours=yes
|phone=yes
|lang=de
}}

Ergebnis: