Difference between revisions of "Template:LSL Function"
Jump to navigation
Jump to search
Line 80: | Line 80: | ||
''' 'sort' value not defined''' | ''' 'sort' value not defined''' | ||
<div style="padding: 0.5em;background:#ffffff;"> | <div style="padding: 0.5em;background:#ffffff;"> | ||
''Please add a 'sort' value and remove any 'Category:LSL_Function' links.<br/>The value of sort should be the function name minus the leading 'll'.<br/> llAcos would be 'sort=Acos'.''</div></div>{{#if:{{{self|}}}|| [[Category:LSL FixMe]] }} }}{{LSL Generic | ''Please add a 'sort' value and remove any 'Category:LSL_Function' links.<br/>The value of sort should be the function name minus the leading 'll'.<br/> llAcos would be 'sort=Acos'.''</div></div>{{#if:{{{self|}}}|| [[Category:LSL FixMe]] }} }}{{#if:{{{return_text|}}}{{{func_desc|}}}|| | ||
<div id="box" style="background:yellow;"> | |||
''' 'return_text' and 'func_desc' can both not be undefined''' | |||
<div style="padding: 0.5em;background:#ffffff;"> | |||
''(Please use 'return_text' or 'header_desc' to describe the {{{type}}}s actions.)''</div></div>{{#if:{{{self|}}}|| [[Category:LSL FixMe]] }} }} {{LSL Generic | |||
|{{{func}}}| | |{{{func}}}| | ||
|header_desc={{{func_desc|}}} | |header_desc={{{func_desc|}}} | ||
Line 86: | Line 90: | ||
|deprecated={{{deprecated|}}}{{{depreciated|}}} | |deprecated={{{deprecated|}}}{{{depreciated|}}} | ||
|return_type={{{return_type|}}} | |return_type={{{return_type|}}} | ||
|return_text={{{return_text|}}} | |return_text={{{return_text|.}}} | ||
|p1_type={{{p1_type|}}}|p1_name={{{p1_name|}}}|p1_desc={{{p1_desc|}}} | |p1_type={{{p1_type|}}}|p1_name={{{p1_name|}}}|p1_desc={{{p1_desc|}}} | ||
|p2_type={{{p2_type|}}}|p2_name={{{p2_name|}}}|p2_desc={{{p2_desc|}}} | |p2_type={{{p2_type|}}}|p2_name={{{p2_name|}}}|p2_desc={{{p2_desc|}}} |
Revision as of 17:19, 28 January 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
{{LSL_Function |func |func_id |func_sleep |func_desc |func_footnote |return_type |return_text |p1_type|p1_name|p1_desc |p2_type|p2_name|p2_desc |p3_type|p3_name|p3_desc |p4_type|p4_name|p4_desc |p5_type|p5_name|p5_desc |p6_type|p6_name|p6_desc |p7_type|p7_name|p7_desc |p8_type|p8_name|p8_desc |p9_type|p9_name|p9_desc |p10_type|p10_name|p10_desc |p11_type|p11_name|p11_desc |p12_type|p12_name|p12_desc |constants |spec |caveats |examples |helpers |also_header |also_functions |also_articles |also_footer |notes |mode |deprecated |sort }}
The LSL_Function template is a intermediate template for LSL_Generic, which handles the formating for both functions and events (LSL_Event is also an intermediate template). The main job of this template is to change the parameter, names & setup the rightside floater and set the additional copyright message.
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Examples