Help/Notes

De Rich Annotator System

You can add notes as tooltips containing additional information or warnings with the #info function.

Syntax

{{#info: text |icon |max-width=width |theme=theme }}

Parameters

Text
The first parameter displays the text in the #info bubble and should only contain inline HTML elements. There is limited support for wikitext formatting such as bold, italics and internal links. No paragraphs, tables, lists or any other block elements are allowed. One should also avoid using empty lines (because empty line will terminate one paragraph and start another one) and equal signs. Refraining from those guidelines could lead to incorrect HTML code and rendering (e. g. part of text after empty line could be rendered in the page, not in the bubble).

Icon
In case a second parameter is passed onto the #info parser function, it will influence the display of the icon.

  • {{#info:test|info}} rendered: test
  • {{#info:test|note}} rendered: test
  • {{#info:test|warning}} rendered: test
  • {{#info:test|error}} rendered: test

If an incorrect parameter is used then the parameter will be silently ignored, and the default info icon will be displayed instead.

Max-width
The "max-width" parameter allows to define a maximum width for the tooltip. Thus the tooltip may be wider than the default to display more information at once. This parameter takes positive integers as values.

Theme
The "theme" parameter allows to define a different theme for the tooltip. Thus the tooltip may be adapted in appearance in comparison to the default display.

Allowed values are:

  • square-border
  • square-border-light


Back to contents