Difference between revisions of "Template:LSL Event"

From Second Life Wiki
Jump to navigation Jump to search
m
m (this is a quick and dirty edit, a better one will be coming later to bring it more in sync with the function template)
Line 156: Line 156:
{{!}}-
{{!}}-
{{!}} valign="top" {{!}} <div id="box">
{{!}} 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>
<h2>Event: [[{{{event}}}{{#var:lang}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}{{#var:lang}}]] {{LSL Param|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}{{#var:lang}}]] {{LSL Param|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}{{#var:lang}}]] {{LSL Param|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}{{#var:lang}}]] {{LSL Param|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}{{#var:lang}}]] {{LSL Param|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}{{#var:lang}}]] {{LSL Param|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}{{#var:lang}}]] {{LSL Param|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}{{#var:lang}}]] {{LSL Param|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}{{#var:lang}}]] {{LSL Param|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}{{#var:lang}}]] {{LSL Param|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}{{#var:lang}}]] {{LSL Param|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}{{#var:lang}}]] {{LSL Param|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>{ ; }</nowiki></h2>
<div style="padding: 0.5em"><div id="box" style="float:right;"><table><tr>
<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{{#var:lang}}|Event ID]]
</tr><tr {{#if:{{{event_delay|}}}||style="display:none;"}}>
</tr><tr {{#if:{{{event_delay|}}}||style="display:none;"}}>
<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{{#var:lang}}|Delay]]
</tr></table></div>
</tr></table></div>
{{{event_desc|event_desc undefined}}}<br/>
{{{event_desc|event_desc undefined}}}<br/>
Line 253: Line 253:
</div></div>}}
</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>
{{#var:footer}}<span id="sort" style="display:none;">{{#var:sort}}</span>{{#if:{{{self|}}}|| {{#ifeq:{{#var:mode}}|request||{{LSLC|Events{{#var:lang}}}} {{#if:{{#var:examples}}||{{LSLC|Needs Example}}}}}} {{#if:{{{cat1|}}}|{{LSLC|{{{cat1}}}{{#var:lang}}}}}} {{#if:{{{cat2|}}}|{{LSLC|{{{cat2}}}{{#var:lang}}}}}} {{#if:{{{cat3|}}}|{{LSLC|{{{cat3}}}{{#var:lang}}}}}} {{#if:{{{cat4|}}}|{{LSLC|{{{cat4}}}{{#var:lang}}}}}} {{#if:{{{cat5|}}}|{{LSLC|{{{cat5}}}{{#var:lang}}}}}} {{#if:{{{cat6|}}}|{{LSLC|{{{cat6}}}{{#var:lang}}}}}} {{#if:{{{cat7|}}}|{{LSLC|{{{cat7}}}{{#var:lang}}}}}} {{#if:{{{cat8|}}}|{{LSLC|{{{cat8}}}{{#var:lang}}}}}} }}</includeonly>

Revision as of 00:26, 22 March 2008

{{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