Template:BSLfuncinfo: Difference between revisions

mentioning button provided by XEB
m (linebreak needed?)
(mentioning button provided by XEB)
Line 131: Line 131:
|}</includeonly><noinclude>
|}</includeonly><noinclude>


'''BSLfunc''' allows for standardized listing of BSL functions. Since BSL allows for functions to take up to eight arguments, and each argument has to be described here by up to six parameters, this makes '''BSLfunc''' the most complex template on the wiki. However, you'll rarely need to use more than a few of these parameters to describe an average function.
'''BSLfunc''' allows for standardized listing of BSL functions. Since BSL allows for functions to take up to eight arguments, and each argument can be described here by up to six parameters, this makes '''BSLfunc''' the most complex template on the wiki. However, you'll rarely need to use more than a few of these parameters to describe an average function.


Parameters:
Parameters:
Line 164: Line 164:
:If a BSL function can take more than one kind of data in a given argument position, give the second argument name here.
:If a BSL function can take more than one kind of data in a given argument position, give the second argument name here.


Here's a default blank call with all parameters up through the fourth argument, which will cover most built-in functions. You can copy-paste the arg4* parameters and change them to arg5*, arg6*, etc. if needed, and you can also delete any parameters you don't need when setting up a call to this template.
Here's a default blank call with all parameters up through the fourth argument, to save some time. You can omit any parameters you don't need when adding this template to a page. However, you may find it easier to use the GUI for this template that is provided by [[XEB]].


  <nowiki>{{</nowiki>BSLfunc
  <nowiki>{{</nowiki>BSLfunc