plugin:autotooltip
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:autotooltip [2019-10-25 10:06] – Dr-Yukon | plugin:autotooltip [2024-02-11 03:39] (current) – zioth | ||
---|---|---|---|
Line 5: | Line 5: | ||
author | author | ||
email : elifenton@this_is_not_a_real_email.fake | email : elifenton@this_is_not_a_real_email.fake | ||
- | type : syntax, helper, renderer | + | type : syntax, helper, action, renderer |
- | lastupdate : 2018-12-28 | + | lastupdate : 2024-02-10 |
- | compatible : Greebo | + | compatible : Greebo, Hogfather, Igor, Jack Jackrum, Kaos |
depends | depends | ||
conflicts | conflicts | ||
Line 21: | Line 21: | ||
---- | ---- | ||
- | This syntax/ | + | This plugin allows you to construct tooltips for text and links on the page, or to automatically generate tooltips based on a wikilink' |
Line 27: | Line 27: | ||
Install the plugin using the [[plugin: | Install the plugin using the [[plugin: | ||
+ | |||
+ | |||
+ | ==== Automatically turning plain text into links with tooltips ==== | ||
+ | |||
+ | Install both this plugin and [[plugin: | ||
+ | |||
+ | |||
+ | ==== Adding tooltips to every link on your site, or specific namespaces ==== | ||
+ | |||
+ | If you're already using [[plugin: | ||
+ | |||
+ | You can limit this to specific namespaces or pages using the configuration options. | ||
+ | |||
+ | You won't see tooltips on self-referential links. In other words, a link to // | ||
+ | |||
===== Examples/ | ===== Examples/ | ||
- | [[http:// | + | [[http:// |
+ | |||
+ | === Generating tooltip content automatically === | ||
+ | |||
+ | < | ||
+ | |||
+ | This will generate a link to wiki: | ||
+ | |||
+ | < | ||
+ | |||
+ | Same as above, but the link text will be " | ||
=== Manual tooltips === | === Manual tooltips === | ||
Line 41: | Line 66: | ||
This creates a simple tooltip for text on the page. | This creates a simple tooltip for text on the page. | ||
- | === Customizing | + | === Customizing |
<autott style1 style2> | <autott style1 style2> | ||
Line 60: | Line 85: | ||
<autott picture> | <autott picture> | ||
- | |||
- | |||
- | |||
- | === Generating a tooltip === | ||
- | |||
- | < | ||
- | |||
- | This will generate a link to wiki: | ||
- | |||
- | < | ||
- | |||
- | Same as above, but the link text will be " | ||
- | |||
- | |||
- | ===== Adding tooltips to every link ===== | ||
- | |||
- | Using the syntax above, you can add tooltips to any wikilink, but what if you want a tooltip on //every// wikilink? | ||
- | |||
- | To enable this feature, go to //Admin// -> // | ||
- | |||
- | You won't see tooltips on self-referential links. In other words, a link to // | ||
Line 96: | Line 100: | ||
=== forText === | === forText === | ||
- | Create a manual tooltip. | + | Create a manual tooltip |
$tooltip-> | $tooltip-> | ||
Line 107: | Line 111: | ||
=== forWikilink === | === forWikilink === | ||
- | Create a wikilink. | + | Create a wikilink |
$tooltip-> | $tooltip-> | ||
plugin/autotooltip.1571990770.txt.gz · Last modified: 2019-10-25 10:06 by Dr-Yukon