Template:Tt/doc: Difference between revisions

Created page with "{{Documentation/Header}} {{Lua}} {{CSS|Tooltip}} {{JS|Gadget-Tooltip}} Adds a simple text tooltip to text. ==Syntax== {{T|tt|v1=text|v2=tiptext|P3=link=1/((page name))|p4=noline=1}} * {{F|1}} — Text to show. Can include links, but be careful if you don't supply tip text. * {{F|2}} — Text for tooltip. Don't use links or HTML tags. * {{F|link}} — Link for display text. Set as 1 to link to {{F|1}}, or enter the custom page to link. ==Examples== {{T|tt|So..."
 
No edit summary
Line 13: Line 13:
==Examples==
==Examples==
{{T|tt|Some text|A tooltip for the text.|_Y_=1}}<br>
{{T|tt|Some text|A tooltip for the text.|_Y_=1}}<br>
{{T|tt|Xiao|is a bird|p3=link=1|_Y_=1}}<br>
{{T|tt|Kiana|is a bird|p3=link=1|_Y_=1}}<br>
{{T|tt|Xiao|is a bird|p3=link=Alatus|_Y_=1}}
{{T|tt|Kiana Kaslana|is a bird|p3=link=Kiana|_Y_=1}}


==Template Data==
==Template Data==