Difference between revisions of "Template:LSL Event"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 95: Line 95:


{{#vardefine:name|{{{event|}}}}}
{{#vardefine:name|{{{event|}}}}}
{{#vardefine:event_id|{{#if:{{{event_id|}}}|{{{event_id|}}}|?????}}}}
{{#if:{{{event_id|}}}|{{#vardefine:event_id|{{{event_id|}}}}}}}


{{#vardefine:mode|{{#var:mode}}{{{mode|}}}}}
{{#vardefine:mode|{{#var:mode}}{{{mode|}}}}}
Line 324: Line 324:
{{{comments|}}}
{{{comments|}}}
</div></div>}}
</div></div>}}
{{#var:footer}} {{#if:{{{self|}}}|| {{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}|| [[Category:LSL Events{{#var:lang}}]] {{#if:{{#pos:{{#var:moded}}|f}}|[[Category:LSL Keywords/Pre-release{{#var:lang}}]]|[[Category:LSL Keywords/All{{#var:lang}}]]{{#ifexpr:({{#var:BugCounter}} + 0) > 0|[[Category:LSL topics with bugs{{#var:lang}}]]}}}} [[Category:LSL Events/ID{{#var:lang}}| {{padleft:{{#var:event_id}}|5|0}}]] {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}} {{LSL Unhelpful|{{{event}}}|}} }} {{#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>
{{#var:footer}} {{#if:{{{self|}}}|| {{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}|| [[Category:LSL Events{{#var:lang}}]] {{#if:{{#pos:{{#var:moded}}|f}}|[[Category:LSL Keywords/Pre-release{{#var:lang}}]]|[[Category:LSL Keywords/All{{#var:lang}}]]{{#ifexpr:({{#var:BugCounter}} + 0) > 0|[[Category:LSL topics with bugs{{#var:lang}}]]}}}} {{#if:{{#var:event_id}}|[[Category:LSL Events/ID{{#var:lang}}| {{padleft:{{#var:event_id}}|5|0}}]]|[[Category:LSL Events/ID{{#var:lang}}|?{{#var:name}}]]}} {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}} {{LSL Unhelpful|{{{event}}}|}} }} {{#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 13:23, 16 October 2013

{{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
|signature
|cat1
|cat2
|cat3
|cat4
|cat5
|cat6
|cat7
|cat8
}}

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

Description

! 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

Deep Notes

Issues

All Issues

~ Search JIRA for related Issues
   first SVC bug

Signature

event void MyEvent( integer i, float f, string s, key k, list l, vector v, rotation r );signature