Template:Phone

From Wikivoyage
Jump to navigation Jump to search

[view] [edit] [history] [purge] Template-info.svg Template documentation

For formatting inline phone numbers (where listing template does not make sense).

  • Displays number in Wikivoyage phone format
  • Checks phone number is in standard international syntax
  • Create click and phone link
  • Saves author having to work out how to type in phone symbol
  • Will allow for quick update of format if policy guidelines change.

{{phone|123456789}} - shows 123456789 which should show format warning (if preference set)

{{phone|+1 2334 5678 9999}} - shows +1 2334 5678 9999 which should be OK