7,381
edits
Nate Russell (talk | contribs) |
Nate Russell (talk | contribs) |
||
Line 279: | Line 279: | ||
| 12:34, 1 February 2008 (UTC) | | 12:34, 1 February 2008 (UTC) | ||
|} | |} | ||
==Disabling Glossary/Terminology Popups== | |||
Terms that appear along with their definitions on the [[Terminology]] page will automatically be detected the first time they appear on any article in the Clicklaw Wiki. In general, this saves work, since no manual coding is required to ensure that a legal term will include a definition. The automatic nature of this process, however, will result in false-positives in cases where a defined term also has a common meaning in addition to a legal one (the terms "hearing", and "order" for example). | |||
To exclude defined terms from appearing with their pop-up definition (and where it is the first time the term has been used on a page), you should bracket the term with the HTML element: | |||
<code> <span class="noglossary">term</span> </code> | |||
A "div" tag will also work but create a separate paragraph that may not be desired. | |||
To exclude an entire article from receiving glossary popups, include the magic word <code>__NOGLOSSARY__</code> anywhere in that article's text. | |||
==Additional resources== | ==Additional resources== |