Template:Hover info: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Fixed the issue)
(minor corrections on examples)
Line 10: Line 10:




''Syntax:'' <nowiki>{{Hover info|This is mouse-over text|Hover here}}</nowiki>
''Syntax:'' <nowiki>{{Hover info|link=yes|This link will take you to the Main page|Main_Page}}</nowiki>


Result: {{Hover info|link=yes|This link will take you to the Main page|Main_Page}}
Result: {{Hover info|link=yes|This link will take you to the Main page|Main_Page}}
Line 20: Line 20:




''Syntax:'' <nowiki>{{Hover info|link=yes|dotted=no|This link will take you to the Main page|Main page}}</nowiki>
''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)
Result: {{Hover info|link=yes|dotted=no|This link will take you to the Main page|Main_Page}} (with link)

Revision as of 21:22, 8 September 2018

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: {{Hover info|This is mouse-over text|Hover here}}

Result: Hover here


Syntax: {{Hover info|link=yes|This link will take you to the Main page|Main_Page}}

Result: Main_Page


Syntax: {{Hover info|dotted=no|This is mouse-over text|Hover here}}

Result: Hover here


Syntax: {{Hover info|link=yes|dotted=no|This link will take you to the Main page|Main_Page}}

Result: 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!!