Difference between revisions of "Template:Tooltip"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#info: {{{1}}}|{{{2}}}}}</includeonly><noinclude | + | <includeonly>{{#info: {{{1}}}|{{{2}}}}}</includeonly> |
− | + | <noinclude>{{documentation}}</noinclude> | |
− | |||
− |
Latest revision as of 14:12, 19 January 2016
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]
The above documentation is transcluded from Template:Tooltip/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |