Difference between revisions of "Template:LSLFunctionAll"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
__NOTOC__ __NOEDITSECTION__ <includeonly> {{lowercase|{{{func}}}}} | __NOTOC__ __NOEDITSECTION__ <includeonly> <!-- {{lowercase|{{{func}}}}} --> | ||
{| width="100%" | {| width="100%" | ||
|- | |- | ||
|valign="top"| | |valign="top"| | ||
{{LSLFunction|{{{func}}}|{{{func_id|}}}|{{{func_sleep}}}|{{{func_energy}}} | {{LSLFunction|{{{func}}}|{{{func_id|}}}|{{{func_sleep|}}}|{{{func_energy|}}} | ||
|r={{{return_type|}}} | |r={{{return_type|}}} | ||
|rd={{{return_text|}}} | |rd={{{return_text|}}} | ||
Line 71: | Line 71: | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
__EDITSECTION__ | |||
<noinclude> | <noinclude> | ||
This template renders ever function page. If it is to be edited it should be done in such a way as to not break existing content. | |||
One problem with using this template, is you must turn off section editing for the page (the template does that for you) | |||
<pre> | |||
{{LSLFunctionAll | {{LSLFunctionAll | ||
|func=llFunction | |func=llFunction | ||
Line 77: | Line 83: | ||
|func_sleep=0.0 | |func_sleep=0.0 | ||
|func_energy=0.0 | |func_energy=0.0 | ||
|func_footnote | |||
|p1_type|p1_name|p1_desc | |p1_type|p1_name|p1_desc | ||
|p2_type|p2_name|p2_desc | |p2_type|p2_name|p2_desc | ||
Line 94: | Line 101: | ||
|caveats | |caveats | ||
|examples | |examples | ||
| | |helpers | ||
|also | |also | ||
|notes | |notes | ||
}} | }} | ||
</pre> | |||
</noinclude> | </noinclude> |
Revision as of 19:16, 25 January 2007
__EDITSECTION__
This template renders ever function page. If it is to be edited it should be done in such a way as to not break existing content.
One problem with using this template, is you must turn off section editing for the page (the template does that for you)
{{LSLFunctionAll |func=llFunction |func_id |func_sleep=0.0 |func_energy=0.0 |func_footnote |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 |return_type=integer |return_text=that is set to zero. |spec=Function template thingy |caveats |examples |helpers |also |notes }}