Πρότυπο:Listing
Εμφάνιση
.
This documentation is transcluded from Πρότυπο:Listing/τεκμηρίωση. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
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:
Usage
[επεξεργασία]* {{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) | lastedit=DATE OF LAST EDIT (yyyy-mm-dd) | 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. Decimal form, see example.
Microformat
[επεξεργασία]The template emits an hCard microformat.
Example
[επεξεργασία]- 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 | lastedit=2015-01-15 | 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. }}