Difference between revisions of "Tooltips"

From Freephile Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
To create tooltips in your wiki, you can simply use the '''info''' function that is included in Semantic MediaWiki.
 
To create tooltips in your wiki, you can simply use the '''info''' function that is included in Semantic MediaWiki.
  
{{#info:This is a tooltip.}}
+
There would normally be a tooltip here{{#info:This is a tooltip.}}
  
 
== Tooltip Extension ==
 
== Tooltip Extension ==

Revision as of 16:44, 2 December 2014

Semantic MediaWiki[edit | edit source]

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

There would normally be a tooltip hereThis is a tooltip.

Tooltip Extension[edit | edit source]

There is an extension [1] that allows you to add tooltips via tag or parser function.

Using the tag like this

<tooltip text="body text" x=xoffset y=yoffset>tooltip text</tooltip>

produces ?UNIQab115884f90c6e0b-tooltip-00000005-QINU? errors

Trying the template and parser function approach produces fatal errors because methods in the Parser class have changed.

base text


References[edit source]