Template:Tooltip

From FamilySearch Wiki
Revision as of 18:21, 24 June 2020 by Ahancey (talk | contribs) (Hopefullyl fixed...added 'Shift left' property. This should be approximately 1/2 of the width passed in.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template will create a popup box tooltip when the user hovers over 'Hover words', which will be underlined. The following is an example of what the call to this template should look like:

 {{Tooltip
  |Width=200px   /* adjust to desired box width */
  |Shift left=100px  /* use this to adjust the tooltip box over words.  Typically, this should be 1/2 the size of the Width */ 
  |Hover words=Hover over these words
  |Words in popup=Words here will show up in a box when a user hovers over the 'Hover words'.
 }}