Difference between revisions of "Template:LSL Event"

From Second Life Wiki
Jump to navigation Jump to search
Line 7: Line 7:
|event_desc
|event_desc
|event_footnote
|event_footnote
|p1_type|p1_name|p1_desc
|p1_type|p1_name|p1_desc|p1_hover
|p2_type|p2_name|p2_desc
|p2_type|p2_name|p2_desc|p2_hover
|p3_type|p3_name|p3_desc
|p3_type|p3_name|p3_desc|p3_hover
|p4_type|p4_name|p4_desc
|p4_type|p4_name|p4_desc|p4_hover
|p5_type|p5_name|p5_desc
|p5_type|p5_name|p5_desc|p5_hover
|p6_type|p6_name|p6_desc
|p6_type|p6_name|p6_desc|p6_hover
|p7_type|p7_name|p7_desc
|p7_type|p7_name|p7_desc|p7_hover
|p8_type|p8_name|p8_desc
|p8_type|p8_name|p8_desc|p8_hover
|p9_type|p9_name|p9_desc
|p9_type|p9_name|p9_desc|p9_hover
|p10_type|p10_name|p10_desc
|p10_type|p10_name|p10_desc|p10_hover
|p11_type|p11_name|p11_desc
|p11_type|p11_name|p11_desc|p11_hover
|p12_type|p12_name|p12_desc
|p12_type|p12_name|p12_desc|p12_hover
|constants
|constants
|spec
|spec
Line 32: Line 32:
|mode
|mode
|deprecated
|deprecated
|location
|cat1
|cat1
|cat2
|cat2
Line 81: Line 82:
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:
{{#if:
{{#vardefine:name|{{{event}}}}}
{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{#if:{{{sort|}}}|{{{sort}}}|{{ucfirst:{{#var:name}}}}}}}}}}
{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{#if:{{{sort|}}}|{{{sort}}}|{{ucfirst:{{#var:name}}}}}}}}}}
}}{{DEFAULTSORT:{{#var:sort}}}}{{#if:
}}{{DEFAULTSORT:{{#var:sort}}}}{{#if:
{{#vardefine:p1_name|{{{p1_name|}}}}}{{#vardefine:p1_type|{{{p1_type|}}}}}{{#vardefine:p_{{#var:p1_name}}_desc|{{#var:p_{{#var:p1_name}}_desc}}{{{p1_desc|}}}}}
{{#vardefine:p1_name|{{{p1_name|}}}}}{{#vardefine:p1_type|{{{p1_type|}}}}}
{{#vardefine:p2_name|{{{p2_name|}}}}}{{#vardefine:p2_type|{{{p2_type|}}}}}{{#vardefine:p_{{#var:p2_name}}_desc|{{#var:p_{{#var:p2_name}}_desc}}{{{p2_desc|}}}}}
{{#vardefine:p_{{{p1_name|}}}_desc|{{#var:p_{{{p1_name|}}}_desc}}{{{p1_desc|}}}}}
{{#vardefine:p3_name|{{{p3_name|}}}}}{{#vardefine:p3_type|{{{p3_type|}}}}}{{#vardefine:p_{{#var:p3_name}}_desc|{{#var:p_{{#var:p3_name}}_desc}}{{{p3_desc|}}}}}
{{#vardefine:p_{{{p1_name|}}}_hover|{{#var:p_{{{p1_name|}}}_hover}}{{{p1_hover|}}}}}
{{#vardefine:p4_name|{{{p4_name|}}}}}{{#vardefine:p4_type|{{{p4_type|}}}}}{{#vardefine:p_{{#var:p4_name}}_desc|{{#var:p_{{#var:p4_name}}_desc}}{{{p4_desc|}}}}}
{{#vardefine:p2_name|{{{p2_name|}}}}}{{#vardefine:p2_type|{{{p2_type|}}}}}
{{#vardefine:p5_name|{{{p5_name|}}}}}{{#vardefine:p5_type|{{{p5_type|}}}}}{{#vardefine:p_{{#var:p5_name}}_desc|{{#var:p_{{#var:p5_name}}_desc}}{{{p5_desc|}}}}}
{{#vardefine:p_{{{p2_name|}}}_desc|{{#var:p_{{{p2_name|}}}_desc}}{{{p2_desc|}}}}}
{{#vardefine:p6_name|{{{p6_name|}}}}}{{#vardefine:p6_type|{{{p6_type|}}}}}{{#vardefine:p_{{#var:p6_name}}_desc|{{#var:p_{{#var:p6_name}}_desc}}{{{p6_desc|}}}}}
{{#vardefine:p_{{{p2_name|}}}_hover|{{#var:p_{{{p2_name|}}}_hover}}{{{p2_hover|}}}}}
{{#vardefine:p7_name|{{{p7_name|}}}}}{{#vardefine:p7_type|{{{p7_type|}}}}}{{#vardefine:p_{{#var:p7_name}}_desc|{{#var:p_{{#var:p7_name}}_desc}}{{{p7_desc|}}}}}
{{#vardefine:p3_name|{{{p3_name|}}}}}{{#vardefine:p3_type|{{{p3_type|}}}}}
{{#vardefine:p8_name|{{{p8_name|}}}}}{{#vardefine:p8_type|{{{p8_type|}}}}}{{#vardefine:p_{{#var:p8_name}}_desc|{{#var:p_{{#var:p8_name}}_desc}}{{{p8_desc|}}}}}
{{#vardefine:p_{{{p3_name|}}}_desc|{{#var:p_{{{p3_name|}}}_desc}}{{{p3_desc|}}}}}
{{#vardefine:p9_name|{{{p9_name|}}}}}{{#vardefine:p9_type|{{{p9_type|}}}}}{{#vardefine:p_{{#var:p9_name}}_desc|{{#var:p_{{#var:p9_name}}_desc}}{{{p9_desc|}}}}}
{{#vardefine:p_{{{p3_name|}}}_hover|{{#var:p_{{{p3_name|}}}_hover}}{{{p3_hover|}}}}}
{{#vardefine:p10_name|{{{p10_name|}}}}}{{#vardefine:p10_type|{{{p10_type|}}}}}{{#vardefine:p_{{#var:p10_name}}_desc|{{#var:p_{{#var:p10_name}}_desc}}{{{p10_desc|}}}}}
{{#vardefine:p4_name|{{{p4_name|}}}}}{{#vardefine:p4_type|{{{p4_type|}}}}}
{{#vardefine:p11_name|{{{p11_name|}}}}}{{#vardefine:p11_type|{{{p11_type|}}}}}{{#vardefine:p_{{#var:p11_name}}_desc|{{#var:p_{{#var:p11_name}}_desc}}{{{p11_desc|}}}}}
{{#vardefine:p_{{{p4_name|}}}_desc|{{#var:p_{{{p4_name|}}}_desc}}{{{p4_desc|}}}}}
{{#vardefine:p12_name|{{{p12_name|}}}}}{{#vardefine:p12_type|{{{p12_type|}}}}}{{#vardefine:p_{{#var:p12_name}}_desc|{{#var:p_{{#var:p12_name}}_desc}}{{{p12_desc|}}}}}
{{#vardefine:p_{{{p4_name|}}}_hover|{{#var:p_{{{p4_name|}}}_hover}}{{{p4_hover|}}}}}
{{#vardefine:return_end|<nowiki>{ ; }</nowiki>}}
{{#vardefine:p5_name|{{{p5_name|}}}}}{{#vardefine:p5_type|{{{p5_type|}}}}}
{{#vardefine:template}}
{{#vardefine:p_{{{p5_name|}}}_desc|{{#var:p_{{{p5_name|}}}_desc}}{{{p5_desc|}}}}}
{{#vardefine:name|{{{event}}}}}
{{#vardefine:p_{{{p5_name|}}}_hover|{{#var:p_{{{p5_name|}}}_hover}}{{{p5_hover|}}}}}
{{#vardefine:p6_name|{{{p6_name|}}}}}{{#vardefine:p6_type|{{{p6_type|}}}}}
{{#vardefine:p_{{{p6_name|}}}_desc|{{#var:p_{{{p6_name|}}}_desc}}{{{p6_desc|}}}}}
{{#vardefine:p_{{{p6_name|}}}_hover|{{#var:p_{{{p6_name|}}}_hover}}{{{p6_hover|}}}}}
{{#vardefine:p7_name|{{{p7_name|}}}}}{{#vardefine:p7_type|{{{p7_type|}}}}}
{{#vardefine:p_{{{p7_name|}}}_desc|{{#var:p_{{{p7_name|}}}_desc}}{{{p7_desc|}}}}}
{{#vardefine:p_{{{p7_name|}}}_hover|{{#var:p_{{{p7_name|}}}_hover}}{{{p7_hover|}}}}}
{{#vardefine:p8_name|{{{p8_name|}}}}}{{#vardefine:p8_type|{{{p8_type|}}}}}
{{#vardefine:p_{{{p8_name|}}}_desc|{{#var:p_{{{p8_name|}}}_desc}}{{{p8_desc|}}}}}
{{#vardefine:p_{{{p8_name|}}}_hover|{{#var:p_{{{p8_name|}}}_hover}}{{{p8_hover|}}}}}
{{#vardefine:p9_name|{{{p9_name|}}}}}{{#vardefine:p9_type|{{{p9_type|}}}}}
{{#vardefine:p_{{{p9_name|}}}_desc|{{#var:p_{{{p9_name|}}}_desc}}{{{p9_desc|}}}}}
{{#vardefine:p_{{{p9_name|}}}_hover|{{#var:p_{{{p9_name|}}}_hover}}{{{p9_hover|}}}}}
{{#vardefine:p10_name|{{{p10_name|}}}}}{{#vardefine:p10_type|{{{p10_type|}}}}}
{{#vardefine:p_{{{p10_name|}}}_desc|{{#var:p_{{{p10_name|}}}_desc}}{{{p10_desc|}}}}}
{{#vardefine:p_{{{p10_name|}}}_hover|{{#var:p_{{{p10_name|}}}_hover}}{{{p10_hover|}}}}}
{{#vardefine:p11_name|{{{p11_name|}}}}}{{#vardefine:p11_type|{{{p11_type|}}}}}
{{#vardefine:p_{{{p11_name|}}}_desc|{{#var:p_{{{p11_name|}}}_desc}}{{{p11_desc|}}}}}
{{#vardefine:p_{{{p11_name|}}}_hover|{{#var:p_{{{p11_name|}}}_hover}}{{{p11_hover|}}}}}
{{#vardefine:p12_name|{{{p12_name|}}}}}{{#vardefine:p12_type|{{{p12_type|}}}}}
{{#vardefine:p_{{{p12_name|}}}_desc|{{#var:p_{{{p12_name|}}}_desc}}{{{p12_desc|}}}}}
{{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}}
{{#vardefine:constants_nb|{{#var:constants_nb}}{{{constants|}}}}}
{{#vardefine:constants_nb|{{#var:constants_nb}}{{{constants|}}}}}
{{#vardefine:spec|{{{spec|}}}}}
{{#vardefine:spec|{{#if:{{#var:spec}}|{{#var:spec}}<br/>}}{{{spec|}}}}}
{{#vardefine:examples|{{#var:examples}}{{{examples|}}}}}
{{#vardefine:examples|{{#var:examples}}{{{examples|}}}}}
{{#vardefine:helpers|{{#var:helpers}}{{{helpers|}}}}}
{{#vardefine:helpers|{{#var:helpers}}{{{helpers|}}}}}
{{#vardefine:also_header|{{#var:also_header}}{{{also_header|}}}}}
{{#vardefine:also_header|{{#var:also_header}}{{{also_header|}}}}}
{{#vardefine:also_tests|{{#var:also_tests}}{{{also_tests|}}}}}
{{#vardefine:also_tests|{{#var:also_tests}}
{{#vardefine:also_events|{{#var:also_events}}{{{also_events|}}}}}
{{{also_tests|}}}}}
{{#vardefine:also_functions|{{#var:also_functions}}{{{also_functions|}}}}}
{{#vardefine:also_events|{{#var:also_events}}
{{#vardefine:also_articles|{{#var:also_articles}}{{{also_articles|}}}}}
{{{also_events|}}}}}
{{#vardefine:also_functions|{{#var:also_functions}}
{{{also_functions|}}}}}
{{#vardefine:also_articles|{{#var:also_articles}}
{{{also_articles|}}}}}
{{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}}
{{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}}
{{#vardefine:notes|{{#var:notes}}{{{notes|}}}}}
{{#vardefine:notes|{{#var:notes}}{{{notes|}}}}}
Line 112: Line 139:
{{#vardefine:self|{{#var:self}}{{{self|}}}}}
{{#vardefine:self|{{#var:self}}{{{self|}}}}}
{{#vardefine:type|event}}
{{#vardefine:type|event}}
{{#vardefine:template}}
{{#vardefine:caveats|{{#var:caveats}}{{{caveats|}}}}}
{{#vardefine:caveats|{{#var:caveats}}{{{caveats|}}}}}
{{#vardefine:location|{{#var:location}}{{{location|}}}}}
{{#vardefine:location|{{#var:location}}{{{location|}}}}}
{{#vardefine:footer|{{#var:footer}}}}
{{#vardefine:footer|{{#var:footer}}}}
{{#vardefine:header_footnote|{{{event_footnote|}}}{{{event_footer|}}}}}
{{#vardefine:header_desc|{{{event_desc|event_desc undefined}}}}}
{{#vardefine:history|{{#var:history}}{{{history}}}}}
{{#vardefine:history|{{#var:history}}{{{history}}}}}
{{{{#ifeq:{{#var:mode}}|god|LSL_Generic/god|!}}|}}
{{{{#ifeq:{{#var:mode}}|god|LSL_Generic/god|!}}|}}
{{{{#ifeq:{{#var:mode}}|request|LSL_Generic/request|!}}|}}
{{{{#ifeq:{{#var:mode}}|request|LSL_Generic/request|!}}|}}
{{{{#if:{{{deprecated|}}}{{{depreciated|}}}|LSL_Generic/deprecated|!}}|{{{deprecated|}}}{{{depreciated|}}}|}}
{{{{#if:{{{deprecated|}}}{{{depreciated|}}}|LSL_Generic/deprecated|!}}|{{{deprecated|}}}{{{depreciated|}}}|}}
{{#vardefine:header_floater|<table><tr>
{{#if:{{#var:header_desc}}||
<div id="box" style="background:yellow;">
&nbsp;&nbsp;''' 'event_desc' can not be undefined'''
<div style="padding: 0.5em;background:#ffffff;">
''(Please define a value for 'event_desc' to describe the events actions.)''</div></div>{{#if:{{{self|}}}|| {{LSLC|FixMe}} }} }}
}}{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{func}}}}}}}|<div id="RealTitleBanner" style="display:none;"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{event}}}</span></div>}}}}{{#if:{{#var:self}}|| __NOEDITSECTION__ }}{{#var:header}}
{{{!}} width="100%"
{{!}}-
{{!}} valign="top" {{!}} <div id="box">
<h2>Event: [[{{{event}}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}]] {{LSL Param|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}]] {{LSL Param|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}]] {{LSL Param|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}]] {{LSL Param|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}]] {{LSL Param|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}]] {{LSL Param|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}]] {{LSL Param|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}]] {{LSL Param|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}]] {{LSL Param|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}]] {{LSL Param|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}]] {{LSL Param|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}]] {{LSL Param|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>{ ; }</nowiki></h2>
<div style="padding: 0.5em"><div id="box" style="float:right;"><table><tr>
<td>{{#ifeq:{{#var:mode}}|request|REQUEST|{{HoverText|{{{event_id|}}}|The event index number.}}}}
<td>{{#ifeq:{{#var:mode}}|request|REQUEST|{{HoverText|{{{event_id|}}}|The event index number.}}}}
<td>[[LSL Event ID|Event ID]]
<td>[[LSL Event ID|Event ID]]
Line 128: Line 162:
<td>{{HoverText|{{{event_delay|}}}|Seconds between events of this type}}
<td>{{HoverText|{{{event_delay|}}}|Seconds between events of this type}}
<td>[[LSL Delay|Delay]]
<td>[[LSL Delay|Delay]]
</tr></table>}}
</tr></table></div>
{{#if:{{#var:header_desc}}||
{{{event_desc|event_desc undefined}}}<br/>
<div id="box" style="background:yellow;">
{{#if:{{#var:p1_name}}{{#var:p1_type}}{{#var:pe_name}}{{#var:pe_type}}|{{{!}}
&nbsp;&nbsp;''' 'event_desc' can not be undefined'''
{{#if:{{#var:p1_name}}{{#var:p1_type}}|{{LSL DefineRow|1={{#var:p1_type}}|2={{#var:p1_name}}|3={{#var:p_{{#var:p1_name}}_desc}}}}
<div style="padding: 0.5em;background:#ffffff;">
{{#if:{{#var:p2_name}}{{#var:p2_type}}|{{LSL DefineRow|1={{#var:p2_type}}|2={{#var:p2_name}}|3={{#var:p_{{#var:p2_name}}_desc}}}}
''(Please define a value for 'event_desc' to describe the events actions.)''</div></div>{{#if:{{{self|}}}|| {{LSLC|FixMe}} }} }}
{{#if:{{#var:p3_name}}{{#var:p3_type}}|{{LSL DefineRow|1={{#var:p3_type}}|2={{#var:p3_name}}|3={{#var:p_{{#var:p3_name}}_desc}}}}
{{#vardefine:header_text|{{LSL Generic/Text}}}}
{{#if:{{#var:p4_name}}{{#var:p4_type}}|{{LSL DefineRow|1={{#var:p4_type}}|2={{#var:p4_name}}|3={{#var:p_{{#var:p4_name}}_desc}}}}
{{#vardefine:header_title|Event: {{LSL_Generic/Title}}}}
{{#if:{{#var:p5_name}}{{#var:p5_type}}|{{LSL DefineRow|1={{#var:p5_type}}|2={{#var:p5_name}}|3={{#var:p_{{#var:p5_name}}_desc}}}}
}}{{LSL_Generic}}{{#if:{{{self|}}}|| {{#ifeq:{{#var:mode}}|request||{{LSLC|Events}} {{#if:{{#var:examples}}||{{LSLC|Needs Example}}}}}} {{#if:{{{cat1|}}}|{{LSLC|{{{cat1}}}}}}} {{#if:{{{cat2|}}}|{{LSLC|{{{cat2}}}}}}} {{#if:{{{cat3|}}}|{{LSLC|{{{cat3}}}}}}} {{#if:{{{cat4|}}}|{{LSLC|{{{cat4}}}}}}} {{#if:{{{cat5|}}}|{{LSLC|{{{cat5}}}}}}} {{#if:{{{cat6|}}}|{{LSLC|{{{cat6}}}}}}} {{#if:{{{cat7|}}}|{{LSLC|{{{cat7}}}}}}} {{#if:{{{cat8|}}}|{{LSLC|{{{cat8}}}}}}} }}</includeonly>
{{#if:{{#var:p6_name}}{{#var:p6_type}}|{{LSL DefineRow|1={{#var:p6_type}}|2={{#var:p6_name}}|3={{#var:p_{{#var:p6_name}}_desc}}}}
{{#if:{{#var:p7_name}}{{#var:p7_type}}|{{LSL DefineRow|1={{#var:p7_type}}|2={{#var:p7_name}}|3={{#var:p_{{#var:p7_name}}_desc}}}}
{{#if:{{#var:p8_name}}{{#var:p8_type}}|{{LSL DefineRow|1={{#var:p8_type}}|2={{#var:p8_name}}|3={{#var:p_{{#var:p8_name}}_desc}}}}
{{#if:{{#var:p9_name}}{{#var:p9_type}}|{{LSL DefineRow|1={{#var:p9_type}}|2={{#var:p9_name}}|3={{#var:p_{{#var:p9_name}}_desc}}}}
{{#if:{{#var:p10_name}}{{#var:p10_type}}|{{LSL DefineRow|1={{#var:p10_type}}|2={{#var:p10_name}}|3={{#var:p_{{#var:p10_name}}_desc}}}}
{{#if:{{#var:p11_name}}{{#var:p11_type}}|{{LSL DefineRow|1={{#var:p11_type}}|2={{#var:p11_name}}|3={{#var:p_{{#var:p11_name}}_desc}}}}
{{#if:{{#var:p12_name}}{{#var:p12_type}}|{{LSL DefineRow|1={{#var:p12_type}}|2={{#var:p12_name}}|3={{#var:p_{{#var:p12_name}}_desc}}}}
}}}}}}}}}}}}}}}}}}}}}}}}
{{#if:{{#var:pe_name}}{{#var:pe_type}}|{{LSL DefineRow|1={{#var:pe_type}}|2={{#var:pe_name}}|3={{#var:pe_desc}}}}}}
{{!}}} }}
{{#if:{{{event_footnote|}}}{{{event_footer|}}}|<br/>
{{{event_footnote|}}}{{{event_footer|}}}}}
<div style="clear:right;" ></div></div></div>
{{#if:{{#var:spec}}|{{!}}-
{{!}}<div id="box">
<h2>{{#if:{{#var:T_Specification}}|{{#var:T_Specification}}|Specification}}</h2>
<div style="padding: 0.5em">
{{#var:spec}}
</div></div>}}
{{!}}-
{{#if:{{#var:constants_nb}}{{#var:constants}}|
{{!}}{{#var:constants_nb}}{{#if:{{#var:constants}}|
<div id="box"><h2>{{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constants}}</h2>
{{#var:constants}}
</div>}}}}
{{!}}-
{{#if:{{#var:caveats}}|
{{!}}<div id="box"><h2>{{#if:{{#var:T_Caveats}}|{{#var:T_Caveats}}|Caveats}}</h2>
<div style="padding: 0.5em">
{{#var:caveats}}
</div></div>}}
{{!}}-
{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}|
{{!}}<div id="box"><h2>{{#if:{{#var:T_Examples}}|{{#var:T_Examples}}|Examples}}</h2>
<div style="padding: 0.5em">
{{#var:examples}}
</div></div>}}
{{!}}-
{{#if:{{#var:helpers}}|
{{!}}<div id="box"><h2>{{#if:{{#var:T_Useful_Snippets}}|{{#var:T_Useful_Snippets}}|Useful Snippets}}</h2>
<div style="padding: 0.5em">
{{#var:helpers}}
</div></div>}}
{{!}}-
{{#if:{{#var:notes}}|
{{!}}<div id="box"><h2>{{#if:{{#var:T_Notes}}|{{#var:T_Notes}}|Notes}}</h2>
<div style="padding: 0.5em">
{{#var:notes}}
</div></div>}}
{{!}}-
{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}|
{{!}}<div id="box"><h2>{{#if:{{#var:T_See_Also}}|{{#var:T_See Also}}|See Also}}</h2>
<div style="padding: 0.5em">
{{#if:{{#var:also_header}}|
{{#var:also_header}}}}{{#if:{{#var:also_events}}|
<h3>{{#if:{{#var:T_Also_Events}}|{{#var:T_Also_Events}}|Events}}</h3>
{{{!}}
{{#var:also_events}}
{{!}}} }}{{#if:{{#var:also_functions}}|
<h3>{{#if:{{#var:T_Also_Functions}}|{{#var:T_Also_Functions}}|Functions}}</h3>
{{{!}}
{{#var:also_functions}}
{{!}}} }}{{#if:{{#var:also_tests}}|
<h3>{{#if:{{#var:T_Also_Tests}}|{{#var:T_Also_Tests}}|Tests}}</h3>
{{{!}}
{{#var:also_tests}}
{{!}}} }}{{#if:{{#var:also_articles}}|
<h3>{{#if:{{#var:T_Also_Articles}}|{{#var:T_Also_Articles}}|Articles}}</h3>
{{{!}}
{{#var:also_articles}}
{{!}}} }}
{{#if:{{#var:also_footer}}|<br/>{{#var:also_footer}}}}
</div></div>}}
{{!}}-
{{#if:{{#var:location}}|
{{!}}
<div id="box">
<h2>{{#if:{{#var:T_Source_Location}}|{{#var:T_Source_Location}}|Source Location}}</h2>
<div style="padding: 0.5em">
{{#var:location}}
</div></div>}}
{{!}}}
{{#var:footer}}<span id="sort" style="display:none;">{{#var:sort}}</span>{{#if:{{{self|}}}|| {{#ifeq:{{#var:mode}}|request||{{LSLC|Events}} {{#if:{{#var:examples}}||{{LSLC|Needs Example}}}}}} {{#if:{{{cat1|}}}|{{LSLC|{{{cat1}}}}}}} {{#if:{{{cat2|}}}|{{LSLC|{{{cat2}}}}}}} {{#if:{{{cat3|}}}|{{LSLC|{{{cat3}}}}}}} {{#if:{{{cat4|}}}|{{LSLC|{{{cat4}}}}}}} {{#if:{{{cat5|}}}|{{LSLC|{{{cat5}}}}}}} {{#if:{{{cat6|}}}|{{LSLC|{{{cat6}}}}}}} {{#if:{{{cat7|}}}|{{LSLC|{{{cat7}}}}}}} {{#if:{{{cat8|}}}|{{LSLC|{{{cat8}}}}}}} }}</includeonly>

Revision as of 14:07, 8 August 2007

{{LSL_Event
|event
|event_id
|event_delay
|event_desc
|event_footnote
|p1_type|p1_name|p1_desc|p1_hover
|p2_type|p2_name|p2_desc|p2_hover
|p3_type|p3_name|p3_desc|p3_hover
|p4_type|p4_name|p4_desc|p4_hover
|p5_type|p5_name|p5_desc|p5_hover
|p6_type|p6_name|p6_desc|p6_hover
|p7_type|p7_name|p7_desc|p7_hover
|p8_type|p8_name|p8_desc|p8_hover
|p9_type|p9_name|p9_desc|p9_hover
|p10_type|p10_name|p10_desc|p10_hover
|p11_type|p11_name|p11_desc|p11_hover
|p12_type|p12_name|p12_desc|p12_hover
|constants
|spec
|caveats
|examples
|helpers
|also_header
|also_functions
|also_tests
|also_articles
|also_footer
|notes
|mode
|deprecated
|location
|cat1
|cat2
|cat3
|cat4
|cat5
|cat6
|cat7
|cat8
}}

See Template:LSL Function for syntax explanation (they are almost identical).

Event: MyEvent( integer i, float f, string s, key k, list l, vector v, rotation r ){ ; }

-1 Event ID
100.5 Delay

A fictitious Event

• integer i
• float f
• string s
• key k
• list l
• vector v
• rotation r


event_footnote

Specification

spec

constants

Caveats

caveats

Examples

examples

Useful Snippets

helpers

Notes

notes

See Also

also_header

Events

  • also_events

Functions

  • also_functions

Tests

  • also_tests

Articles

  • also_articles


also_footer