Open main menu

Template:Tooltip/doc

< Template:Tooltip
Revision as of 15:30, 19 January 2016 by Freephile (talk | contribs) (examples still not working)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Usage

{{Tooltip | text | icon}} 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.

{{#info: <text> | <icon> }}

Examples

  • this is some info
  • note about something
  • warning: high voltage

Help

smw:Help:Adding_tooltips