Difference between revisions of "Tooltips"

From Freephile Wiki
Jump to navigation Jump to search
(clarifies)
Line 2: Line 2:
 
|explains    = Tooltips
 
|explains    = Tooltips
 
|description =create icons with onmouseover tooltips
 
|description =create icons with onmouseover tooltips
|notes        =not working as of 2016-01-19
+
|notes        =works on this page, but not on the doc page?? as of 2016-01-19
 
|tests          =  
 
|tests          =  
 
|examples  =[[Template:Tooltip/doc]]
 
|examples  =[[Template:Tooltip/doc]]
Line 16: Line 16:
 
<nowiki>{{Tooltip | text | icon}}</nowiki> which uses the [[Template:Tooltip|Tooltip]] template, which in turn relies on the <code>#info</code> parser function by SMW works like this:
 
<nowiki>{{Tooltip | text | icon}}</nowiki> which uses the [[Template:Tooltip|Tooltip]] template, which in turn relies on the <code>#info</code> parser function by SMW works like this:
 
{{Tooltip | This is some info | info }}
 
{{Tooltip | This is some info | info }}
 
 
  
 
{{References}}
 
{{References}}
  
 
[[Category:Wiki]]
 
[[Category:Wiki]]

Revision as of 14:38, 19 January 2016

Tooltips Dialog-information.svg
Summary
Description: create icons with onmouseover tooltips
More
Notes: works on this page, but not on the doc page?? as of 2016-01-19
Example: Template:Tooltip/doc

Semantic MediaWiki[edit | edit source]

To create tooltips in your wiki, you can simply use the info function that is included in Semantic MediaWiki. This is a Semantic MediaWiki example: This is a tooltip.

Extension[edit | edit source]

The Tooltip extension has it's latest code on the 'Talk' page, and is superseded by extensions like Extension:Lingo.

Template[edit | edit source]

{{Tooltip | text | icon}} which uses the Tooltip template, which in turn relies on the #info parser function by SMW works like this: This is some info


References[edit source]