Template:Hover info

From Valve Developer Community
Revision as of 11:20, 2 August 2018 by Karl-police (talk | contribs) (Created page with "<includeonly>{{#ifeq:{{{link}}}|yes|[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}}>{{{2}}}</span>]]|<span title="{{{1}}}" {{#i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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

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