Extension:Tooltips

This extension provides the ability to add nice tooltips to wiki text. This is remake of Extension:Tooltip by Paul Grinberg: javascript code was fully rewritten, design is completely new. Basic javascript was taken from Wowhead project and adapted for general needs.

Step 1
Download the extension code and place it in the extensions directory.

Step 2
Add the following text to your LocalSettings.php

Step 3
Replace in Parser.php: to

Usage Instructions
There are two methods for using this extension in your wiki articles: via a Parser Function, and via a new Tag. These two methods are mutually exclusive and should NOT be interchanged on a given article in order to guarantee proper output.

Tag Format
Simply add the following text tooltip text directly inline with your article, where the "image=" (optional) is a name of the jpg image without '.jpg' (must be places in /extensions/Tooltip/images/).

Parser Function Format
Create a new Template called undefined and add the following content to it

Usage:


 * base text yields base text

To use this extension on your wiki article, simply call the template like so base text