Template:BSLjunc

From OniGalore
Revision as of 17:06, 13 December 2015 by Iritscen (talk | contribs) (re-indenting and adding comments to help me follow code structure; removing superfluous closing braces)
Jump to navigation Jump to search

BSLjunc is what could be called a "junction template"; in displaying the information about a function or variable which is passed into it, it determines which of three templates to call -- BSLtableinfo, BSLfuncinfo, or BSLvarinfo -- depending on circumstances which are fully explained on BSL:Grouping. This template is used to display command information on individual BSL function and variable pages, on scripting task pages, and on BSL:List. It is also responsible for re-titling the individual function/variable pages to use the correct capitalization and underscores found in the original command names, and for displaying messages that direct the reader from the individual page to the scripting task page or vice versa.