Tooltips: Difference between revisions

clarifies
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Feature
{{Feature
|explains    = Tooltips
|image=Reference Tooltips reworked.png
|description =create icons with onmouseover tooltips
|imgdesc=tooltips
|notes        =not working as of 2016-01-19
|title=
|tests          =
|examples  =[[Template:Tooltip/doc]]
}}
}}
{{#set:feature description = create icons with onmouseover tooltips }}
{{#set:feature notes = works on this page, but not on the doc page?? as of 2016-01-19 }}
{{#set:feature tests =  }}
{{#set:feature examples = [[Template:Tooltip/doc]] }}
== Semantic MediaWiki ==
== Semantic MediaWiki ==
To create tooltips in your wiki, you can simply use the '''info''' function that is [[smw:Help:Adding_tooltips|included in Semantic MediaWiki]].
To create tooltips in your wiki, you can simply use the '''info''' function that is [[smw:Help:Adding_tooltips|included in Semantic MediaWiki]].
Line 16: Line 18:
<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]]