Difference between revisions of "Template:Tooltip"
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}} | |
− | |||
− |
Revision as of 14:06, 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. |