Difference between revisions of "Template:Hint"

From Agri4castWiki
Jump to: navigation, search
(Created page with '<span title="{{{2}}}" style="border-bottom:1px dotted">{{{1}}}</span><noinclude> ==Usage== Adds a title to the selected text, which can be viewed in most browsers by holding the…')
 
 
Line 1: Line 1:
 
<span title="{{{2}}}" style="border-bottom:1px dotted">{{{1}}}</span><noinclude>
 
<span title="{{{2}}}" style="border-bottom:1px dotted">{{{1}}}</span><noinclude>
  
==Usage==
+
{{Templateinfo|
Adds a title to the selected text, which can be viewed in most browsers by holding the mouse cursor over the underlined text.
+
=== usage ===
 +
A template to create a tooltip when hovering over the text. Adds a title to the selected text, which can be viewed in most browsers by holding the mouse cursor over the underlined text.
  
==Example==
+
===Example===
 
code:
 
code:
 
<pre>{{Hint|TIMA|this is my acronym}}</pre>
 
<pre>{{Hint|TIMA|this is my acronym}}</pre>
  
 +
result:
 
result:
 
result:
 
{{Hint|TIMA|this is my acronym}}
 
{{Hint|TIMA|this is my acronym}}
</noinclude>
+
}}</noinclude>

Latest revision as of 16:12, 28 October 2010

{{{1}}}

(The template info below is not shown when the template is used in a page)

usage

A template to create a tooltip when hovering over the text. Adds a title to the selected text, which can be viewed in most browsers by holding the mouse cursor over the underlined text.

Example

code:

{{Hint|TIMA|this is my acronym}}

result: result: TIMA