Difference between revisions of "Template:JS Fcn"

From AgileApps Support Wiki
imported>Aeric
imported>Aeric
Line 1: Line 1:
===lj_functionName===
===lj_functionName===
...
...
;Sample Usage:
...
:<syntaxhighlight lang="javascript" enclose="div">
</syntaxhighlight>


;Syntax:
;Syntax:
Line 6: Line 12:
lj_functionName('{option1}={value}&{option2}={value}&...');
lj_functionName('{option1}={value}&{option2}={value}&...');
lj_functionName(param, param, "string-param", ...);
lj_functionName(param, param, "string-param", ...);
</syntaxhighlight>
;Sample Usage:
...
:<syntaxhighlight lang="javascript" enclose="div">
</syntaxhighlight>
</syntaxhighlight>


Line 27: Line 27:
:Template for a Javascript Function.
:Template for a Javascript Function.
:;Usage:  
:;Usage:  
::<tt><nowiki>{{subst:Js_fcn}}</nowiki>
::<tt><nowiki>{{subst:JS_Fcn}}</nowiki>
 
{{Note|Sample comes first, so that syntax and parameters (both reference info) can be adjacent to each other.}}
</noinclude>
</noinclude>

Revision as of 21:24, 25 August 2011

lj_functionName

...

Sample Usage

...

<syntaxhighlight lang="javascript" enclose="div">

</syntaxhighlight>

Syntax
<syntaxhighlight lang="javascript" enclose="div">

lj_functionName('{option1}={value}&{option2}={value}&...'); lj_functionName(param, param, "string-param", ...); </syntaxhighlight>

Parameters

...

Parameter Description (default value in bold)
param descr



Template for a Javascript Function.
Usage
{{subst:JS_Fcn}}

Notepad.png

Note: Sample comes first, so that syntax and parameters (both reference info) can be adjacent to each other.