Adds a Glossary Entry if on the Glossary page or a link to the term if on any other page.
Parameters
- term - the glossary term to desribe
Usage:
[{Glossary term="TCP/IP"}] Transmission Control Protocol/Internet Protocol
Transmission Control Protocol/Internet Protocol
renderer.sjs
term = extension.getAttributeValueByName("term");
if(pageName=="Glossary")
{
return "
"+term+"
";
}
else
{
return "
";
}