Jump to content

Template:BSLfuncinfo: Difference between revisions

+sample call
(+docs)
(+sample call)
Line 59: Line 59:
:You don't have to use these unless the function is <u>not</u> available and working on one platform; set the appropriate parameter(s) to "no" if that is the case.
:You don't have to use these unless the function is <u>not</u> available and working on one platform; set the appropriate parameter(s) to "no" if that is the case.


;<tt>arg1name</tt>, <tt>arg2name</tt>, <tt>arg3name</tt>, <tt>arg4name</tt>
;<tt>arg1optional</tt>, <tt>arg2optional</tt>, <tt>arg3optional</tt>, <tt>arg4optional</tt>
:If these arguments to the BSL function exist, give their names here.
:If this argument can be omitted, set this to "yes".
 
;<tt>arg1default</tt>, <tt>arg2default</tt>, <tt>arg3default</tt>, <tt>arg4default</tt>
:Optional arguments have default assumed values that are used when the argument is not used explicitly; give those values here.


;<tt>arg1type</tt>, <tt>arg2type</tt>, <tt>arg3type</tt>, <tt>arg4type</tt>
;<tt>arg1type</tt>, <tt>arg2type</tt>, <tt>arg3type</tt>, <tt>arg4type</tt>
:If these arguments to the BSL function exist, give their types here.
:If these arguments to the BSL function exist, give their types here.


;<tt>arg1optional</tt>, <tt>arg2optional</tt>, <tt>arg3optional</tt>, <tt>arg4optional</tt>
;<tt>arg1name</tt>, <tt>arg2name</tt>, <tt>arg3name</tt>, <tt>arg4name</tt>
:If this argument can be omitted, set this to "yes".
:If these arguments to the BSL function exist, give their names here.


;<tt>arg1default</tt>, <tt>arg2default</tt>, <tt>arg3default</tt>, <tt>arg4default</tt>
;<tt>arg1alttype</tt>, <tt>arg2alttype</tt>, <tt>arg3alttype</tt>, <tt>arg4alttype</tt>
:Optional arguments have default assumed values that are used when the argument is not used explicitly; give those values here.
:If a BSL function can take more than one kind of data in a given argument position, give the second argument type here.


;<tt>arg1altname</tt>, <tt>arg2altname</tt>, <tt>arg3altname</tt>, <tt>arg4altname</tt>
;<tt>arg1altname</tt>, <tt>arg2altname</tt>, <tt>arg3altname</tt>, <tt>arg4altname</tt>
: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.


;<tt>arg1alttype</tt>, <tt>arg2alttype</tt>, <tt>arg3alttype</tt>, <tt>arg4alttype</tt>
Here's a default blank call with all parameters:
:If a BSL function can take more than one kind of data in a given argument position, give the second argument type here.
 
<nowiki>{{</nowiki>BSLfunc
|type=
|name=
|mac=
|win=<br />
|arg1optional=
|arg1default=
|arg1type=
|arg1name=
|arg1alttype=
|arg1altname=<br />
|arg2optional=
|arg2default=
|arg2type=
|arg2name=
|arg2alttype=
|arg2altname=<br />
|arg3optional=
|arg3default=
|arg3type=
|arg3name=
|arg3alttype=
|arg3altname=<br />
|arg4optional=
|arg4default=
|arg4type=
|arg4name=
|arg4alttype=
|arg4altname=
<nowiki>}}</nowiki>


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