Template:BSLjunc: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(oops, need to pass blank parameters to BSLfuncinfo for ones not passed in)
(undoing for now until I have time to troubleshoot it)
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
               -->|{{{name}}}<!--
               -->|{{{name}}}<!--
               -->|{{Retitle|{{{name}}}}}<!--                ...fix page title
               -->|{{Retitle|{{{name}}}}}<!--                ...fix page title
                 -->This is a single {{#ifeq:{{{kind}}}<!--       and print "single listing" message
                 -->Edit this page to change this command's information. <!-- and print "standalone" message
                                        -->|func<!--
                                        -->|function<!--
                                        -->|variable<!--
                                -->}} listing. <!--
                 -->To see this command in the context of related commands, <!--
                 -->To see this command in the context of related commands, <!--
                 -->go to the [[BSL:{{Find BSL Group|{{{name}}}}}]] page.<!--
                 -->go to the [[BSL:{{Find BSL Group|{{{name}}}}}]] page.<br /><!--
              -->|Click [[{{{name}}}]] to edit info.<!--       otherwise, print "group listing" message
         -->}}<!--                                            end "if PAGENAME == name"
         -->}}<!--                                            end "if PAGENAME == name"
         -->{{#ifeq:{{{kind}}}<!--                                "if kind == func"
         -->{{#ifeq:{{{kind}}}<!--                                "if kind == func"
Line 91: Line 86:
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 [[Template:Retitle|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.
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 [[Template:Retitle|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.


[[Category:Basic formatting templates]]</noinclude>
[[Category:Table templates]]</noinclude>

Latest revision as of 05:40, 22 February 2018

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.