Template:Tooltip/doc

From Freephile Wiki
< 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)
Jump to navigation Jump to search

Usage[edit source]

{{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[edit source]

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

Help[edit source]

smw:Help:Adding_tooltips