Open main menu

Template:Tooltip

Revision as of 14:12, 19 January 2016 by Freephile (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation[view] [edit] [history] [purge]

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