Difference between revisions of "Template:Tooltip"

From Freephile Wiki
Jump to navigation Jump to search
(update tag, and documentation)
 
Line 1: Line 1:
 
<includeonly>{{#info: {{{1}}}|{{{2}}}}}</includeonly>
 
<includeonly>{{#info: {{{1}}}|{{{2}}}}}</includeonly>
{{documentation}}
+
<noinclude>{{documentation}}</noinclude>

Latest revision as of 14:12, 19 January 2016

Documentation icon Template documentation[view] [edit] [history] [purge]

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