Sjabloon:Listing
.
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[bewerken]
This template is used for implementing generic business listings. There are a few attraction-specific type template which should be used instead, if applicable:
Als het gewenste niet in een van deze sjablonen past, kies je deze:
* {{listing | name= | wikidata= | url= | email= | address = | lat= | long= | directions= | phone = | tollfree= | fax= | hours = | price= | lastedit = | content = }}
- Bij lastedit= vul je "2024-03-28" in.
Usage[bewerken]
* {{listing | type=TYPE OF LISTING (see, do, buy, eat, drink, sleep) | name=NAME OF LISTING (REQ) | alt=ALTERNATE NAME | wikidata=WIKIDATA QID IDENTIFIER OF THE LISTING | wikipedia=WIKIPEDIA ARTICLE NAME OF THE LISTING | 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 }}
There are no mandatory fields, but it strongly recommended to insert at least one (possibly the name) and preferably more as a {{listing}} with no information is useless to the voyager.
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[bewerken]
The template emits an hCard microformat.
Example[bewerken]
- 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 | wikidata=Q206518 | 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. }}
Associated template:
- Dependent on Template:Marker for creating a listing's header (item type, number, name, URL)
TemplateData[bewerken]
This template is used for implementing generic business listings. There are a few attraction-specific templates (see, do, buy, eat, drink, sleep) which should be used instead, if applicable.
Parameter | Beschrijving | Type | Status | |
---|---|---|---|---|
Name | name | Name of the listing
| Tekenreeks | vereist |
Alternative name | alt | Alternative name of the listing (if any)
| Tekenreeks | voorgesteld |
URL | url | URL of listing's website, including http:// at the beginning
| URL | voorgesteld |
email | Email address of the listing | Tekenreeks | voorgesteld | |
Address | address | Postal address of the listing
| Tekenreeks | voorgesteld |
Latitude | lat | Latitudinal position (use decimal notation, WGS84 style)
| Getal | voorgesteld |
Longitude | long | Longitudinal position (use decimal notation, WGS84 style)
| Getal | voorgesteld |
Directions | directions | Short description of how to get there
| Tekenreeks | voorgesteld |
Phone | phone | Contact phone number
| Tekenreeks | voorgesteld |
Toll-free | tollfree | Toll-free contact number | Tekenreeks | voorgesteld |
Fax | fax | Fax number
| Tekenreeks | voorgesteld |
Operating hours | hours | Operating hours of listing
| Tekenreeks | voorgesteld |
Price | price | Admission price
| Tekenreeks | voorgesteld |
Last edit | lastedit | Date of last update (use yyyy-mm-dd)
| Datum | voorgesteld |
Description | content | Brief description of the listing
| Inhoud | voorgesteld |