Template:Tooltip/doc: Difference between revisions
Created page with "== Usage == <nowiki>{{Tooltip | text | icon}}</nowiki> where 'icon' is an optional style parameter; one of info|note|warning Category:Wiki" |
No edit summary |
||
| Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
<nowiki>{{Tooltip | text | icon}}</nowiki> where 'icon' is an optional style parameter; one of info|note|warning | <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> | |||
== Help == | |||
[[smw:Help:Adding_tooltips]] | |||
[[Category:Wiki]] | [[Category:Wiki]] | ||