Difference between revisions of "Template:LSL Generic"
Jump to navigation
Jump to search
m (Template:LSL Description moved to Template:LSL Generic) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{ | {{LSL Generic | ||
|name=llFunction | |||
|header_desc | |||
|header_footnote | |||
|deprecated | |||
|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 | |||
|return_text | |||
|constants | |constants | ||
|spec | |||
|spec | |||
|caveats | |caveats | ||
|examples | |examples | ||
Line 13: | Line 30: | ||
|also_footer | |also_footer | ||
|notes | |notes | ||
|mode | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
<includeonly> {{#if:{{{self|}}}|| __NOEDITSECTION__ }} {{#if:{{{depreciated|}}}{{{deprecated|}}}| | |||
<div id="box" style="background:red;"> | |||
'''Deprecated Function''' | |||
<div style="padding: 0.5em;background:#ffffff;"> | |||
''(This {{{type}}} has been deprecated{{#ifeq:{{{depreciated|}}}{{{deprecated|}}}|none|.|, please use {{LSLG|{{{depreciated|}}}{{{deprecated|}}}}} instead.)}}''</div></div>{{#if:{{{self|}}}|| [[Category:LSL Deprecated]] }} |}}{{#ifeq:{{{mode|}}}|god| | |||
<div id="box" style="background:yellow;"> | |||
'''Requires God Mode''' | |||
<div style="padding: 0.5em;background:#ffffff;"> | |||
''(This {{{type}}} can only be executed in God Mode.)''</div></div>{{#if:{{{self|}}}|| [[Category:LSL_God_Mode]] }} |}}{{#if:{{{also|}}}| | |||
<div id="box" style="background:yellow;"> | |||
''' 'also' Tag Removed''' | |||
<div style="padding: 0.5em;background:#ffffff;"> | |||
''(Please use 'also_header', 'also_events', 'also_functions', 'also_articles', or 'also_footer')''</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 'func_desc' to describe the {{{type}}}s actions.)''</div></div>{{#if:{{{self|}}}|| [[Category:LSL FixMe]] }} }} <!-- {{lowercase|{{{func}}}}} --> | |||
{| width="100%" | |||
|- | |||
|valign="top"| | |||
{{LSL_Function_Header|{{{name}}}| | |||
|r={{{return_type|}}} | |||
|rd={{{return_text|}}} | |||
|re={{{return_end|}}} | |||
|p1t={{{p1_type|}}}|p1={{{p1_name|}}}|p1d={{{p1_desc|}}} | |||
|p2t={{{p2_type|}}}|p2={{{p2_name|}}}|p2d={{{p2_desc|}}} | |||
|p3t={{{p3_type|}}}|p3={{{p3_name|}}}|p3d={{{p3_desc|}}} | |||
|p4t={{{p4_type|}}}|p4={{{p4_name|}}}|p4d={{{p4_desc|}}} | |||
|p5t={{{p5_type|}}}|p5={{{p5_name|}}}|p5d={{{p5_desc|}}} | |||
|p6t={{{p6_type|}}}|p6={{{p6_name|}}}|p6d={{{p6_desc|}}} | |||
|p7t={{{p7_type|}}}|p7={{{p7_name|}}}|p7d={{{p7_desc|}}} | |||
|p8t={{{p8_type|}}}|p8={{{p8_name|}}}|p8d={{{p8_desc|}}} | |||
|p9t={{{p9_type|}}}|p9={{{p9_name|}}}|p9d={{{p9_desc|}}} | |||
|p10t={{{p10_type|}}}|p10={{{p10_name|}}}|p10d={{{p10_desc|}}} | |||
|p11t={{{p11_type|}}}|p11={{{p11_name|}}}|p11d={{{p11_desc|}}} | |||
|p12t={{{p12_type|}}}|p12={{{p12_name|}}}|p12d={{{p12_desc|}}} | |||
|tb={{{header_desc|}}} | |||
|te={{{header_footnote|}}} | |||
}} | |||
|- | |||
|{{ #if: {{{spec|}}} | | |||
<div id="box"> | |||
== Specification == | |||
<div style="padding: 0.5em"> | |||
{{{spec}}} | |||
</div> | |||
</div> | |||
| }} | |||
|- | |||
|{{ #if: {{{constants|}}} | | |||
<div id="box"> | |||
== Constants == | |||
<div style="padding: 0.5em"> | |||
{{{constants}}} | |||
</div> | |||
</div> | |||
| }} | |||
|- | |||
|<div id="box"> | |||
== Caveats == | |||
<div style="padding: 0.5em"> | |||
{{#if:{{{depreciated|}}}{{{deprecated|}}}|* This {{{type}}} has been deprecated{{#ifeq:{{{depreciated|}}}{{{deprecated|}}}|none||, please use {{LSLG|{{{depreciated|}}}{{{deprecated|}}}}} instead}}.<br />|}}{{#ifeq:{{{mode|}}}|god|* This {{{type}}} can only be executed in God Mode.<br />|}}{{#if: {{{depreciated|}}}{{{deprecated|}}}{{{caveats|}}}{{#ifeq:{{{mode|}}}|god|god|}} | {{{caveats|}}} | * None known.}} | |||
</div> | |||
</div> | |||
|- | |||
|{{ #if: {{#if:{{{depreciated|}}}{{{deprecated|}}}||t}}{{{examples|}}} | | |||
<div id="box"> | |||
== Examples == | |||
<div style="padding: 0.5em"> | |||
{{ #if: {{{examples|}}} | {{{examples|}}} | }} | |||
</div> | |||
</div> | |||
|}} | |||
|- | |||
|{{ #if: {{{helpers|}}} | | |||
<div id="box"> | |||
== Helper Functions == | |||
<div style="padding: 0.5em"> | |||
{{{helpers}}} | |||
</div> | |||
</div> | |||
| }} | |||
|- | |||
|{{ #if: {{#if:{{{depreciated|}}}{{{deprecated|}}}||t}}{{{notes|}}} | | |||
<div id="box"> | |||
== Notes == | |||
<div style="padding: 0.5em"> | |||
{{ #if: {{{notes|}}} | {{{notes|}}} | }} | |||
</div> | |||
</div> | |||
|}} | |||
|- | |||
|{{ #if: {{{also_footer|}}}{{{related|}}}{{{also_functions|}}}{{{also_events|}}}{{{also_articles|}}}{{{also_header|}}} | | |||
<div id="box"> | |||
== See Also == | |||
<div style="padding: 0.5em"> | |||
{{ #if: {{{also_header|}}} | {{{also_header}}}<br /> |}}{{ #if: {{{also_events|}}} | | |||
<ul><li> Events </li></ul><dl><dd> | |||
{{{also_events|}}}</dl> | }}{{ #if: {{{also_functions|}}} | | |||
<ul><li> Functions </li></ul><dl><dd> | |||
{{{also_functions|}}}</dl> | }}{{ #if: {{{also_articles|}}} | | |||
<ul><li> Articles </li></ul><dl><dd> | |||
{{{also_articles}}}</dl> | }} {{{also_footer|}}} | |||
</div> | |||
</div> | |||
| }} | |||
|} | |||
{{ #if: {{{no_footer|}}} | |:<div style="font-size:x-small;">This page is based on information gathered from the Second Life client {{HoverText|source|'linden\indra\lscript\lscript_library\lscript_library.cpp'}}, and as such has additional [http://secondlife.com/developers/opensource/licenses licensing restrictions].</div> }}</includeonly> |
Revision as of 22:52, 27 January 2007
{{LSL Generic |name=llFunction |header_desc |header_footnote |deprecated |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 |return_text |constants |spec |caveats |examples |helpers |also_header |also_functions |also_articles |also_footer |notes |mode }}