Template:LSL Const/docs

From Second Life Wiki
Jump to navigation Jump to search

LSL_Const is a template that is designed to expose information about constants in the links and for easy editing. Fortunately mediawiki is designed so you can't have circular includes, which partly keeps this template form resulting in an infinite loop.

It has two ways of working, the first is to rely upon template parameters and other is to read the dynamic variables that result from including the constant's page. It tries to do both.

I would not advise doing extensive interlinking of the constants as a change to one page could trigger a cascade of page updates. I've been thinking about doing this for several months. I might do a similar system for functions. -- Strife Onizuka 23:16, 5 June 2007 (PDT)