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

Πρότυπο:Καταχώρηση/τεκμηρίωση

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

Documentation

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

This template is used for implementing generic business listings. There are a few attraction-specific type template which should be used instead, if applicable:

* {{listing
| type=TYPE OF LISTING (see, do, buy, eat, drink, sleep)
| name=NAME OF LISTING (REQ)
| alt=ALTERNATE NAME
| url=URL OF LISTING'S WEBSITE including '''''http://''''' at the start
| email=EMAIL ADDRESS OF LISTING
| address=ADDRESS OF LISTING
| lat=LATITUDINAL POSITION OF THE LISTING
| long=LONGITUDINAL POSITION OF THE LISTING
| directions=SHORT DESCRIPTION OF HOW TO GET TO LISTING
| phone=PHONE NUMBER TO CONTACT LISTING
| tollfree=TOLL-FREE PHONE NUMBER TO CONTACT LISTING
| fax=FAX NUMBER TO CONTACT LISTING
| hours=OPERATING HOURS OF LISTING
| price=ADMISSION PRICE FOR THE LISTING
| checkin=CHECKIN TIME (SLEEP LISTINGS ONLY)
| checkout=CHECKOUT TIME (SLEEP LISTINGS ONLY)
| content=BRIEF DESCRIPTION OF THE LISTING
}}

Only name is mandatory, but you should always provide more information.

Some caveats:

  • Unlike the old XML listing syntax, do not use quotation marks around your entries.
  • "lat" and "long" are for WGS84 coordinates' latitude and longitude, respectively.

The template emits an hCard microformat.

  •   Exploratorium, Pier 15, 698 The Embarcadero (at Green St),  +1 415 528-4360. Tu-Su 10AM-5PM; open W until 10PM, closed M. A great kid friendly option, with lots of interactive exhibits teaching about science, with intriguing displays about the mind, natural systems, sound, sight, and much much more. Adults: $25, Students/seniors/youth: $19, Children age 5 and under: Free.

Source:

* {{listing
| name=Exploratorium | url=http://www.exploratorium.edu/ | email=
| address=Pier 15, 698 The Embarcadero | lat=37.8013 | long=-122.3988 | directions=at Green St
| phone=+1 415 528-4360 | tollfree= | fax=
| hours=Tu-Su 10AM-5PM; open W until 10PM, closed M
| price=Adults: $25, Students/seniors/youth: $19, Children age 5 and under: Free
| content=A great kid friendly option, with lots of interactive exhibits teaching about science,
  with intriguing displays about the mind, natural systems, sound, sight, and much much more.
}}