Μετάβαση στο περιεχόμενο

Module:LinkPhone/doc

Από Βικιταξίδια

Example Usage

[επεξεργασία]
Text Code Result
+1 234 567 890 {{#invoke:LinkPhone|LinkPhone|+1 234 567 890}} +1 234 567 890
+1 234-567-890 {{#invoke:LinkPhone|LinkPhone|+1 234-567-890}} +1 234-567-890
+1 234-567-890 ext 12 {{#invoke:LinkPhone|LinkPhone|+1 234-567-890 ext 12}} +1 234-567-890 ext 12
+1 (234) 567 890 {{#invoke:LinkPhone|LinkPhone|+1 (234) 567 890}} +1 (234) 567 890
+1 234.567.890 {{#invoke:LinkPhone|LinkPhone|+1 234.567.890}} +1 234.567.890Category:Listing with phone format issue
234 567 890 {{#invoke:LinkPhone|LinkPhone|234 567 890}} 234 567 890Category:Listing with phone missing country code
+1 234 567 WIKI {{#invoke:LinkPhone|LinkPhone|+1 234 567 WIKI}} +1 234 567 WIKI (9454)
+44 20 7890 1234 reservations, +44 20 7890 1235 general enquiries {{#invoke:LinkPhone|LinkPhone|+44 20 7890 1234 reservations, +44 20 7890 1235 general enquiries}} +44 20 7890 1234 reservationsCategory:Listing with phone format issue, +44 20 7890 1235 general enquiriesCategory:Listing with phone format issue
+44 20 7890 1234 (reservations), +44 20 7890 1235 (general enquiries) {{#invoke:LinkPhone|LinkPhone|+44 20 7890 1234 (reservations), +44 20 7890 1235 (general enquiries)}} +44 20 7890 1234 (reservations), +44 20 7890 1235 (general enquiries)
+44 20 7890 1234, +44 20 7890 1235 {{#invoke:LinkPhone|LinkPhone|+44 20 7890 1234, +44 20 7890 1235}} +44 20 7890 1234, +44 20 7890 1235
+44 20 7890 1234 {{#invoke:LinkPhone|LinkPhone|''+44'' 20 7890 1234}} +44 20 7890 1234
+44 (0)234 567 890 {{#invoke:LinkPhone|LinkPhone|+44 (0)234 567 890}} +44 (0)234 567 890Category:Listing with phone format issue
blank {{#invoke:LinkPhone|LinkPhone| }}

Highlighting issues

[επεξεργασία]

To make it easier to see any issues with the phone numbers, you can add the following to your own common.css page.

.phoneinfo
{
    color: red;
    background: yellow;
    display: inline !important;
}