Template:BSLjunc: Difference between revisions
Jump to navigation
Jump to search
(moving out table code to another template; indented for readability) |
(+docs) |
||
Line 12: | Line 12: | ||
-->{{BSLfuncinfo|type={{{type}}}|name={{{name}}}}}<!-- | -->{{BSLfuncinfo|type={{{type}}}|name={{{name}}}}}<!-- | ||
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
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 -- [[Template:BSLtableinfo|BSLtableinfo]], [[Template:BSLfuncinfo|BSLfuncinfo]], or [[Template:BSLvarinfo|BSLvarinfo]] -- depending on circumstances which are fully explained on [[BSL:Grouping]]. This template is used to display command information on individual BSL [[:Category:BSL functions|function]] and [[:Category:BSL variables|variable]] pages, on [[:Category:Scripting tasks|scripting task]] pages, and on [[BSL:List]]. It is also responsible for setting the page title on individual function/variable pages to use the correct capitalization and underscores found in the original command name, and for displaying messages that direct the reader from the individual page to the scripting task page or vice versa. | |||
[[Category:Basic formatting templates]]</noinclude> | [[Category:Basic formatting templates]]</noinclude> |
Revision as of 03:34, 13 December 2015
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 setting the page title on individual function/variable pages to use the correct capitalization and underscores found in the original command name, and for displaying messages that direct the reader from the individual page to the scripting task page or vice versa.