Template:Hover info: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Fixed the issue)
m (Redirected page to Template:Tooltip)
Tag: New redirect
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>]]|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>}}</includeonly>
#REDIRECT [[Template:Tooltip]]
<noinclude>This template takes two parameters (link=yes/no and dotted=yes/no), and creates underlined text with a hover box for many modern browsers supporting CSS.
 
'''Examples:'''
 
Default
 
''Syntax:'' <nowiki>{{Hover info|This is mouse-over text|Hover here}}</nowiki>
 
Result: {{Hover info|This is mouse-over text|Hover here}}
 
 
''Syntax:'' <nowiki>{{Hover info|This is mouse-over text|Hover here}}</nowiki>
 
Result: {{Hover info|link=yes|This link will take you to the Main page|Main_Page}}
 
 
''Syntax:'' <nowiki>{{Hover info|dotted=no|This is mouse-over text|Hover here}}</nowiki>
 
Result: {{Hover info|dotted=no|This is mouse-over text|Hover here}}
 
 
''Syntax:'' <nowiki>{{Hover info|link=yes|dotted=no|This link will take you to the Main page|Main page}}</nowiki>
 
Result: {{Hover info|link=yes|dotted=no|This link will take you to the Main page|Main_Page}} (with link)
 
 
Note: Who ever made it that the (with link) right there doesn't work how I wanted it to be, could you please fix it and tell me what the issue was because, I was trying to find out, please help!!
 
</noinclude>

Latest revision as of 11:08, 10 February 2023

Redirect to: