Extension:Listings

Installation
To install this extension, add the following to LocalSettings.php:

Tags
The Listings extension implements the following tags:



Attributes
All tags can be used with the same attributes:


 * Name of the destination.
 * Additional information on the destination. This string can contain Wiki markups.
 * Address the destination. This string can contain Wiki markups.
 * Way to or region of the destination. This string can contain Wiki markups.
 * Phone number(s) of the destination.
 * Toll-free phone number(s) of the destination.
 * Email of the destination.
 * Fax number(s) of the destination.
 * URL of the destination.
 * Opening hours of the destination.
 * Price for the entrance or for accomodation of the destination.
 * Check-in time of the hotels.
 * Check-out-time of the hotels.
 * Position latitude of the destination. This information will be show only if,   attributes and the   string are specified.
 * Position longitude of the destination. This information will be show only if,   attributes and the   string are specified.
 * Additional tags (specifications) of the destination. This information is not shown.

Text
The text included by the starting and closing tags is shown at the end. This string can contain Wiki markups.

Deprecation
This extension performs a task which is already possible using standard templates. This appears to have been intended as a means to retain compatibility with an old Wikitravel listings editor which is not in use on Wikivoyage. The default behaviour effectively hard-codes a template-like design and field names into the extension's PHP code; this must be overridden if new fields are to be added without changing the code.


 * 43220 implemented a patch which overrides the generated output for this extension by redirecting processing to a template.
 * Individual-language Wikivoyage projects have deployed robot scripts to edit every page, replacing the XML tags with voy:template:listing or its local equivalent.

The tags still work on Wikivoyage, but are deprecated and (at least on en:) any pages still using the tag are being added to a maintenance category.