Template:Tooltip

From Valve Developer Community
Jump to: navigation, search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)
Icon-translate.png Available doc translations
View
Page history

Parameters

  • {{{1}}} - The hover text, which is displayed only when hovering over the normal text.
  • {{{2}}} - The normal text that the hover text may be displayed on.
  • {{{link}}} - Optional: The page that the normal text should link to.
  • {{{line}}} - Optional: The type of bottom-line that should be under the normal text, for example solid, dashed, dotted.
  • {{{style}}} - Optional: Additional style parameters for the normal text.

Examples

Example: {{Tooltip|This is mouse-over text|Hover here}}

Result: Hover here


Example: {{Tooltip|line=dashed|This is mouse-over text|Hover here}}

Result: Hover here


Example: {{Tooltip|line=dotted|link=Main Page|This is mouse-over text}}

Result: Main Page


Example: {{Tooltip|line=dotted|link=Main Page|This is mouse-over text|Hover here}}

Result: Hover here


Example: {{Tooltip|line=solid|This is mouse-over text|Hover here}}

Result: Hover here


Example: {{Tooltip|line=; border:2px solid #BD0; color:orange|This is mouse-over text|Hover here}}

Result: Hover here