What is this trying to achieve?
Just what is this template trying to do? Looking at it, the thing that strikes me is the use of of an #ifeq statement to produce documentation if a first argument isn't given. You really should use <includeonly>...</includeonly> and <noinclude>...</noinclude> tags to isolate documentation (shown here on the template page) from the contents to be transcluded in articles.
Apart from that, it only seems to add an article into the Glossary category. If that is the only purpose, surely adding [[Category:Glossary]] to the bottom of an article would be easier. Or are you planning on doing more with this template? --imroy 05:15, 21 December 2007 (CET)