2,664
edits
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<span class="tooltip">{{{Hover words|}}} <span class="tooltiptext" style="width:{{{Width|}}}; margin-left:{{{Shift left|}}}px;">{{{Words in popup|}}}</span></span> test<noinclude> | |||
< | |||
<span class="tooltiptext" style=" width:{{{Width}}}; margin-left: | |||
</ | |||
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:<br><br> | 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:<br><br> | ||
<nowiki> | <nowiki> | ||
{{Tooltip | {{Tooltip | ||
|Width=200px /* adjust to desired box width */ | |Width=200px /* adjust to desired box width */ | ||
|Shift | |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 | |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'. | |Words in popup=Words here will show up in a box when a user hovers over the 'Hover words'. | ||
}}</nowiki></noinclude><noinclude>[[Category:Guided Research]][[Category:Templates|Guided Research]]</noinclude> | }}</nowiki></noinclude><noinclude>[[Category:Guided Research]][[Category:Templates|Guided Research]]</noinclude> |
edits