Шаблон:Tooltip/документація

Матеріал з Вікіджерел

Purpose[ред.]

Цей шаблон дозволяє пов'язання підказки з словом чи фразою, що відображається при наведенні курсора миші на елемент графічного інтерфейсу без натискання кнопки. Підказка виникає у вигляді словесної бульбашки або «хмарки», яка містить коментар або розширене тлумачення цього пункту.

Використання[ред.]

({{Tooltip|УСС|Українські січові стільці}})

Дає…

(УСС)

Приклад:

Many of these portraits bore inscriptions, the most famous of which was Turgot's line, “{{Tooltip|Eripuit fulmen coelo sceptrumque tyrannis.|He snatched the lightning from the skies and the scepter from the tyrants.}}”

Дає…

Many of these portraits bore inscriptions, the most famous of which was Turgot's line, “Eripuit fulmen coelo sceptrumque tyrannis.

Параметри[ред.]

Доступні іменовані параметри:

  • перший параметр $1, або з іменем target, target = УСС
  • другий параметр $2, або з іменем texttip, texttip = Українські січові стільці

{{Tooltip|target = УСС|texttip = Українські січові стільці}}

УСС

Applications[ред.]

In Wikisource, this can be used to provide translations of foreign phrases in source material. These translations will be clearly differentiated from the source material itself since they pop up in a box. Another use would be to provide the author's full name when the source only provides initials, as in many 1911 Encyclopædia Britannica articles.

Примітки[ред.]

Див. також[ред.]