phone number (P1248): Difference between revisions
Jump to navigation
Jump to search
(Changed a Property: Adding these statements since they where added in Wikidata) |
(Changed a Property: Adding these statements since they where added in Wikidata) |
||||||||||||||
Property / property constraint | |||||||||||||||
Property / property constraint: format constraint / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / property constraint: format constraint / qualifier | |||||||||||||||
format as a regular expression: ^(?:(?:(?:\+|00|011)[\.\/\-\ \t]*([17]|2(?:[07]|[1-689]\d)|3(?:[0-4679]|[578]\d)|4(?:[013-9]|2\d)|5(?:[1-8]|[09]\d)|6(?:[0-6]|[789]\d)|8(?:[1246]|[035789]\d)|9(?:[0-58]|[679]\d))[\.\/\-\ \t]*|([17])[\.\/\-\ ])?(?:\((\d{1,6})\)[\.\/\-\ \t]*)?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(\d{0,10}?)(\d{1,4}+)(?:[\.\/\-;\ \t]*e?xt?[\.\/\-=\ \t]*(\d{1,14}))?)?$ | |||||||||||||||
Property / property constraint: format constraint / qualifier | |||||||||||||||
Property / property constraint: format constraint / reference | |||||||||||||||
Property / property constraint | |||||||||||||||
Property / property constraint: citation-needed constraint / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / property constraint | |||||||||||||||
Property / property constraint: allowed-entity-types constraint / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / property constraint: allowed-entity-types constraint / qualifier | |||||||||||||||
Property / property constraint | |||||||||||||||
Property / property constraint: subject type constraint / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint: subject type constraint / qualifier | |||||||||||||||
Property / property constraint | |||||||||||||||
Property / property constraint: property scope constraint / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / property constraint: property scope constraint / qualifier | |||||||||||||||
Property / property constraint | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / property constraint: allowed qualifiers constraint / qualifier | |||||||||||||||
Property / formatter URI for RDF resource | |||||||||||||||
tel:$1 | |||||||||||||||
Property / formatter URI for RDF resource: tel:$1 / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / corresponding HTML autocomplete attribute | |||||||||||||||
tel | |||||||||||||||
Property / corresponding HTML autocomplete attribute: tel / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / subject item of this property | |||||||||||||||
Property / subject item of this property: 068181585329 / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / instance of | |||||||||||||||
Property / instance of: Wikidata property for an identifier / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / instance of | |||||||||||||||
Property / instance of: Wikidata property for Wikivoyage listings / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / instance of: Wikidata property for Wikivoyage listings / reference | |||||||||||||||
retrieved: 19 September 2018
| |||||||||||||||
Property / instance of: Wikidata property for Wikivoyage listings / reference | |||||||||||||||
Property / instance of | |||||||||||||||
Property / instance of: Wikidata property encoding a vCard value / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / instance of | |||||||||||||||
Property / instance of: Wikidata property for items about people or organisations / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / living people protection class | |||||||||||||||
Property / living people protection class: property that may violate privacy / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / OSM tag or key | |||||||||||||||
Key:contact:phone | |||||||||||||||
Property / OSM tag or key: Key:contact:phone / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / OSM tag or key | |||||||||||||||
Key:phone | |||||||||||||||
Property / OSM tag or key: Key:phone / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / URL match pattern | |||||||||||||||
^(?:tel|callto)?:(\+\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+) | |||||||||||||||
Property / URL match pattern: ^(?:tel|callto)?:(\+\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+) / rank | |||||||||||||||
Normal rank | |||||||||||||||
Property / URL match pattern: ^(?:tel|callto)?:(\+\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+) / qualifier | |||||||||||||||
URL match replacement value: \1\2\3\4\5\6 | |||||||||||||||
Property / URL match pattern: ^(?:tel|callto)?:(\+\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+) / qualifier | |||||||||||||||
syntax clarification: strips out hypens and spaces (English) |
Latest revision as of 21:51, 10 April 2022
telephone number in standard format (RFC3966), without 'tel:' prefix
- tel:
- telephone number
- landline number
- mobile number
- VOIP number
- toll-free number
- freephone number
Language | Label | Description | Also known as |
---|---|---|---|
English | phone number |
telephone number in standard format (RFC3966), without 'tel:' prefix |
|
Data type
String
Statements
2 references
+1-877-386-3649
0 references
(?:(?:(?:\+|00|011)[\.\/\-\ \t]*([17]|2(?:[07]|[1-689]\d)|3(?:[0-4679]|[578]\d)|4(?:[013-9]|2\d)|5(?:[1-8]|[09]\d)|6(?:[0-6]|[789]\d)|8(?:[1246]|[035789]\d)|9(?:[0-58]|[679]\d))[\.\/\-\ \t]*|([17])[\.\/\-\ ])?(?:\((\d{1,6})\)[\.\/\-\ \t]*)?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(\d{0,10}?)(\d{1,4}+)(?:[\.\/\-;\ \t]*e?xt?[\.\/\-=\ \t]*(\d{1,14}))?)?
detect country codes, detect optional area codes in parentheses, extract all significant groups of digits, enforcing a split on the last group for its last 4 digits, detect and extract extension (English)
this regexp also parses non-international numbers (without explicit country code) and is not suitable for URI (English)
1 reference
use RFC3966 format - e.g. +1-202-456-1414 https://github.com/googlei18n/libphonenumber or one of its ports is convenient to do automated validation and formatting (English)
0 references
使用RFC3966格式,例如+1-202-456-1414 https://github.com/googlei18n/libphonenumber或其移植可方便自动化检验与格式化 (Simplified Chinese)
0 references
specify only one number in value; add another property for each needed number, and specify their usage in a qualifier (English)
0 references
tel:$1
0 references
^(?:(?:(?:\+|00|011)[\.\/\-\ \t]*([17]|2(?:[07]|[1-689]\d)|3(?:[0-4679]|[578]\d)|4(?:[013-9]|2\d)|5(?:[1-8]|[09]\d)|6(?:[0-6]|[789]\d)|8(?:[1246]|[035789]\d)|9(?:[0-58]|[679]\d))[\.\/\-\ \t]*|([17])[\.\/\-\ ])?(?:\((\d{1,6})\)[\.\/\-\ \t]*)?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(\d{0,10}?)(\d{1,4}+)(?:[\.\/\-;\ \t]*e?xt?[\.\/\-=\ \t]*(\d{1,14}))?)?$
1 reference
0 references
0 references
tel:$1
0 references
tel
0 references
Key:contact:phone
0 references
Key:phone
0 references
^(?:tel|callto)?:(\+\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)(?:-|\s)(\d+)
\1\2\3\4\5\6
strips out hypens and spaces (English)
0 references