Line 14: Line 14:

== Usage ==

== Usage ==

* {{Tag|phone||''number''}} whereas the ''number'' should be in international ([[wikipedia:E.164|ITU-T E.164]]) format

* {{Tag|phone||''number''}} whereas the ''number'' should be in international ([[wikipedia:E.164|ITU-T E.164]]) format

* {{Tag|phone||+<country code>-<area code>-<local number>}}

** {{Tag|phone||+<country code>-<area code>-<local number>}}, following the RFC 3966 pattern

** {{Tag|phone||+<country code> <area code> <local number>}}, following the [[wikipedia:E.123|ITU-T E.123]] and the [[wikipedia:de:DIN 5008|DIN 5008]] pattern

* When dialing the ''''-''''-signs have to be omitted

* If the ''''+''''-sign is not supported, it has to be replaced by ''00''

* When dialing the '''<code>'-'</code>'''-signs have to be omitted

* If the '''<code>'+'</code>'''-sign is not supported, it has to be replaced by [[wikipedia:List of international call prefixes|the local international call prefix]], e.g. ''00''. The dialling device has to be configured accordingly.



== Examples ==

== Examples ==

Summary

Sometimes it is useful to associate a phone number with an object. This can be a node (e.g. amenity=telephone) or a building.

Usage

  • phone=number whereas the number should be in international (ITU-T E.164) format
    • phone=+<country code>-<area code>-<local number>, following the RFC 3966 pattern
    • phone=+<country code> <area code> <local number>, following the ITU-T E.123 and the DIN 5008 pattern
  • When dialing the '-'-signs have to be omitted
  • If the '+'-sign is not supported, it has to be replaced by the local international call prefix, e.g. 00. The dialling device has to be configured accordingly.

Examples

  • phone=+49-4721-28695 for a public phone box on the German island Neuwerk

How to Map

Just add the phone=number tag to any map object that has a phone.

Icons

No special icons needed / too many different values?

See also