Help:Special characters in tooltips

Jump to: navigation, search

Semantic extension(s): Covers extension::Semantic MediaWiki

Further extension(s): -/-

Keyword(s): Has keyword::tooltip, Has keyword::parser function, Has keyword::information, Has keyword::warning, Has keyword::note, Has keyword::info

Description: {{#set:

|Other extension=No


Tooltips are inserted in the following format: {{#info: ''<text>'' | ''<icon>'' }}. See also the respective help page on how to add tooltips.

In some cases the contents of the parser function may be interpreted as HTML causing error messages, e.g. {{#info:p = private, a = alternative}} - Here = gets interpreted as a p argument, ie p = "private, a = alternative".

To avoid this just replace = with &#61; - {{#info:p &#61; private, a &#61; alternative}} → {{#info:p = private, a = alternative}}