From Wikibooks, open books for an open world
Jump to navigation Jump to search

This template creates tooltips, i. e. small texts that show up when the mouse cursor hovers over a piece of text. It serves to show vocabulary translations in the language projects Freistil and Dutch. This template takes two or three parameters, making it flexible in dealing with word-by-word translations as well as more general translations that also provide the basic form of the translated term.

In the case of two parameters, the syntax is as follows:


yielding the following output:


"Wörter" is the text the reader will see. The tooltip provides the text "Wörter = words".

In the case of three parameters, the syntax is as follows:

{{C|Wörter|das Wort|word}}

yielding the output:


Here, the tooltip provides the text "das Wort = words", that is it does not repeat the original text but shows a different one.