Listings extension

This extension was written for use in imported Wikitravel articles. In future, the tags used should be substituted by more powerful ones.

License
GPL.

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.

Example
will produce


 * Link to the Main Page.

Installing Listings
Donwload from mediawiki/trunk/extensions/Listings. Copy Listings.php and Listings.i18n.css into the Listings folder in the extensions folder of your MediaWiki installation. Then add the following line to your LocalSettings.php file (near the end):

Changes in version 1.01

 * Extension description was added.

Changes in version 1.02

 * Communication device symbols message strings are added and can be substituted within the wiki. The string can contain Mediawiki code like.
 * and  were checked to be numbers and not empty strings.

Used messages
Message strings — noted in Listings.i18n.php — are available now for three languages (de, en, and it).

listingsPositionTemplate contains a template call without "{" and "}" parentheses and with 	placeholders $1 (latitude) and $2 (longitude). If this string is missing, no position is shown.


 * example: Coord|$1|$2 instead of.