Open main menu

Changes

370 bytes added ,  15:30, 19 January 2016
examples still not working
== Usage ==
<nowiki>{{Tooltip | text | icon}}</nowiki> where 'icon' is an optional style parameter; one of info|note|warning
 
The template ends up calling the parser hook '#info' which comes from the Semantic MediaWiki extension.
<syntaxhighlight lang="html4strict">
{{#info: <text> | <icon> }}
</syntaxhighlight>
 
== Examples ==
* {{#info:this is some info | info }}
* {{#info:note about something | note }}
* {{#info:warning: high voltage | warning }}
 
== Help ==
[[smw:Help:Adding_tooltips]]
[[Category:Wiki]]
4,558

edits