Template:Gloshint

From Agri4castWiki
Revision as of 14:13, 14 January 2011 by Raymond (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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