Help:Special characters in tooltips

From semantic-mediawiki.org
Jump to: navigation, search

Semantic extension(s): Semantic MediaWiki

Further extension(s): -/-

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

Description:

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}}
p = private, a = alternative