Difference between revisions of "Template:Gloshint"

From Agri4castWiki
Jump to: navigation, search
 
Line 1: Line 1:
[[Glossary#{{{1}}}|<span title="{{{2}}} GOTO GLOSSARY" style="border-bottom:1px dotted">{{{3}}}</span>]]<noinclude>
+
[[Glossary#{{{1}}}|<span title="{{{2}}}" style="border-bottom:1px dotted">{{{3}}}</span>]]<noinclude>
  
 
{{Templateinfo|
 
{{Templateinfo|

Latest revision as of 15:13, 14 January 2011

[[Glossary#{{{1}}}|{{{3}}}]]

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

purpose

A template to create a tooltip and link to the glossary.

usage

Adds a title to the selected text, which can be viewed in most browsers by holding the mouse cursor over the underlined text. When clicking the link you will be pointed to the corresponding glossary text.

Code

{{Gloshint|my_glossary_header|my_hover_tip|my_link_text}}
  • Replace my_glossary_header for the header as it is present in the glossary page (case sensitive).
  • Replace my_hover_text for any text that you want to display when hovering over the link.
  • Replace my_link_text for the word that needs explanation in the glossary.

Example

code:

{{Gloshint|MCYFS|Mars Crop Yield Forecasting System. |MCYFS}}

result: MCYFS