Difference between revisions of "Template:LSL Event"

From Second Life Wiki
Jump to navigation Jump to search
m
m (forgot one ^_^)
 
(4 intermediate revisions by the same user not shown)
Line 114: Line 114:
{{{inject-2|}}}
{{{inject-2|}}}


{{#vardefine:p1_name|{{{p1_name|}}}}}{{#vardefine:p1_type|{{{p1_type|}}}}}
{{#vardefine:p_{{{p1_name|}}}_desc|{{#var:p_{{{p1_name|}}}_desc}}{{{p1_desc|}}}}}
{{#vardefine:p_{{{p1_name|}}}_desc|{{#var:p_{{{p1_name|}}}_desc}}{{{p1_desc|}}}}}
{{#vardefine:p_{{{p1_name|}}}_hover|{{#var:p_{{{p1_name|}}}_hover}}{{{p1_hover|}}}}}
{{#vardefine:p_{{{p1_name|}}}_hover|{{#var:p_{{{p1_name|}}}_hover}}{{{p1_hover|}}}}}
{{#vardefine:p2_name|{{{p2_name|}}}}}{{#vardefine:p2_type|{{{p2_type|}}}}}
{{#vardefine:p_{{{p2_name|}}}_desc|{{#var:p_{{{p2_name|}}}_desc}}{{{p2_desc|}}}}}
{{#vardefine:p_{{{p2_name|}}}_desc|{{#var:p_{{{p2_name|}}}_desc}}{{{p2_desc|}}}}}
{{#vardefine:p_{{{p2_name|}}}_hover|{{#var:p_{{{p2_name|}}}_hover}}{{{p2_hover|}}}}}
{{#vardefine:p_{{{p2_name|}}}_hover|{{#var:p_{{{p2_name|}}}_hover}}{{{p2_hover|}}}}}
{{#vardefine:p3_name|{{{p3_name|}}}}}{{#vardefine:p3_type|{{{p3_type|}}}}}
{{#vardefine:p_{{{p3_name|}}}_desc|{{#var:p_{{{p3_name|}}}_desc}}{{{p3_desc|}}}}}
{{#vardefine:p_{{{p3_name|}}}_desc|{{#var:p_{{{p3_name|}}}_desc}}{{{p3_desc|}}}}}
{{#vardefine:p_{{{p3_name|}}}_hover|{{#var:p_{{{p3_name|}}}_hover}}{{{p3_hover|}}}}}
{{#vardefine:p_{{{p3_name|}}}_hover|{{#var:p_{{{p3_name|}}}_hover}}{{{p3_hover|}}}}}
{{#vardefine:p4_name|{{{p4_name|}}}}}{{#vardefine:p4_type|{{{p4_type|}}}}}
{{#vardefine:p_{{{p4_name|}}}_desc|{{#var:p_{{{p4_name|}}}_desc}}{{{p4_desc|}}}}}
{{#vardefine:p_{{{p4_name|}}}_desc|{{#var:p_{{{p4_name|}}}_desc}}{{{p4_desc|}}}}}
{{#vardefine:p_{{{p4_name|}}}_hover|{{#var:p_{{{p4_name|}}}_hover}}{{{p4_hover|}}}}}
{{#vardefine:p_{{{p4_name|}}}_hover|{{#var:p_{{{p4_name|}}}_hover}}{{{p4_hover|}}}}}
{{#vardefine:p5_name|{{{p5_name|}}}}}{{#vardefine:p5_type|{{{p5_type|}}}}}
{{#vardefine:p_{{{p5_name|}}}_desc|{{#var:p_{{{p5_name|}}}_desc}}{{{p5_desc|}}}}}
{{#vardefine:p_{{{p5_name|}}}_desc|{{#var:p_{{{p5_name|}}}_desc}}{{{p5_desc|}}}}}
{{#vardefine:p_{{{p5_name|}}}_hover|{{#var:p_{{{p5_name|}}}_hover}}{{{p5_hover|}}}}}
{{#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|}}}_desc|{{#var:p_{{{p6_name|}}}_desc}}{{{p6_desc|}}}}}
{{#vardefine:p_{{{p6_name|}}}_hover|{{#var:p_{{{p6_name|}}}_hover}}{{{p6_hover|}}}}}
{{#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|}}}_desc|{{#var:p_{{{p7_name|}}}_desc}}{{{p7_desc|}}}}}
{{#vardefine:p_{{{p7_name|}}}_hover|{{#var:p_{{{p7_name|}}}_hover}}{{{p7_hover|}}}}}
{{#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|}}}_desc|{{#var:p_{{{p8_name|}}}_desc}}{{{p8_desc|}}}}}
{{#vardefine:p_{{{p8_name|}}}_hover|{{#var:p_{{{p8_name|}}}_hover}}{{{p8_hover|}}}}}
{{#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|}}}_desc|{{#var:p_{{{p9_name|}}}_desc}}{{{p9_desc|}}}}}
{{#vardefine:p_{{{p9_name|}}}_hover|{{#var:p_{{{p9_name|}}}_hover}}{{{p9_hover|}}}}}
{{#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|}}}_desc|{{#var:p_{{{p10_name|}}}_desc}}{{{p10_desc|}}}}}
{{#vardefine:p_{{{p10_name|}}}_hover|{{#var:p_{{{p10_name|}}}_hover}}{{{p10_hover|}}}}}
{{#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|}}}_desc|{{#var:p_{{{p11_name|}}}_desc}}{{{p11_desc|}}}}}
{{#vardefine:p_{{{p11_name|}}}_hover|{{#var:p_{{{p11_name|}}}_hover}}{{{p11_hover|}}}}}
{{#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|}}}_desc|{{#var:p_{{{p12_name|}}}_desc}}{{{p12_desc|}}}}}
{{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}}
{{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}}
Line 218: Line 206:
</tr></table></div>
</tr></table></div>
{{{event_desc|event_desc undefined}}}<br/>
{{{event_desc|event_desc undefined}}}<br/>
{{#if:{{#var:p1_name}}{{#var:p1_type}}{{#var:pe_name}}{{#var:pe_type}}|{{{!}} style="margin-bottom:0.5em;"
{{#if:{{{p1_name|}}}{{{p1_type|}}}|{{{!}}
{{#if:{{#var:p1_name}}{{#var:p1_type}}|{{LSL DefineRow|1={{#var:p1_type}}|2={{#var:p1_name}}|3={{#var:p_{{#var:p1_name}}_desc}}}}
{{LSL DefineRow|1={{{p1_type|}}}|2={{#if:{{{p1_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p1_type|}}}}}/{{{p1_subtype|}}}{{#var:lang}}|{{{p1_name|}}}}}|{{LSL_Parameter_Link|{{{p1_name|}}}}}}}|3={{#var:p_{{{p1_name|}}}_desc}}}}
{{#if:{{#var:p2_name}}{{#var:p2_type}}|{{LSL DefineRow|1={{#var:p2_type}}|2={{#var:p2_name}}|3={{#var:p_{{#var:p2_name}}_desc}}}}
{{#if:{{{p2_name|}}}{{{p2_type|}}}|{{LSL DefineRow|1={{{p2_type|}}}|2={{#if:{{{p2_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p2_type|}}}}}/{{{p2_subtype|}}}{{#var:lang}}|{{{p2_name|}}}}}|{{LSL_Parameter_Link|{{{p2_name|}}}}}}}|3={{#var:p_{{{p2_name|}}}_desc}}}}
{{#if:{{#var:p3_name}}{{#var:p3_type}}|{{LSL DefineRow|1={{#var:p3_type}}|2={{#var:p3_name}}|3={{#var:p_{{#var:p3_name}}_desc}}}}
{{#if:{{{p3_name|}}}{{{p3_type|}}}|{{LSL DefineRow|1={{{p3_type|}}}|2={{#if:{{{p3_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p3_type|}}}}}/{{{p3_subtype|}}}{{#var:lang}}|{{{p3_name|}}}}}|{{LSL_Parameter_Link|{{{p3_name|}}}}}}}|3={{#var:p_{{{p3_name|}}}_desc}}}}
{{#if:{{#var:p4_name}}{{#var:p4_type}}|{{LSL DefineRow|1={{#var:p4_type}}|2={{#var:p4_name}}|3={{#var:p_{{#var:p4_name}}_desc}}}}
{{#if:{{{p4_name|}}}{{{p4_type|}}}|{{LSL DefineRow|1={{{p4_type|}}}|2={{#if:{{{p4_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p4_type|}}}}}/{{{p4_subtype|}}}{{#var:lang}}|{{{p4_name|}}}}}|{{LSL_Parameter_Link|{{{p4_name|}}}}}}}|3={{#var:p_{{{p4_name|}}}_desc}}}}
{{#if:{{#var:p5_name}}{{#var:p5_type}}|{{LSL DefineRow|1={{#var:p5_type}}|2={{#var:p5_name}}|3={{#var:p_{{#var:p5_name}}_desc}}}}
{{#if:{{{p5_name|}}}{{{p5_type|}}}|{{LSL DefineRow|1={{{p5_type|}}}|2={{#if:{{{p5_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p5_type|}}}}}/{{{p5_subtype|}}}{{#var:lang}}|{{{p5_name|}}}}}|{{LSL_Parameter_Link|{{{p5_name|}}}}}}}|3={{#var:p_{{{p5_name|}}}_desc}}}}
{{#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:{{{p6_name|}}}{{{p6_type|}}}|{{LSL DefineRow|1={{{p6_type|}}}|2={{#if:{{{p6_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p6_type|}}}}}/{{{p6_subtype|}}}{{#var:lang}}|{{{p6_name|}}}}}|{{LSL_Parameter_Link|{{{p6_name|}}}}}}}|3={{#var:p_{{{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:{{{p7_name|}}}{{{p7_type|}}}|{{LSL DefineRow|1={{{p7_type|}}}|2={{#if:{{{p7_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p7_type|}}}}}/{{{p7_subtype|}}}{{#var:lang}}|{{{p7_name|}}}}}|{{LSL_Parameter_Link|{{{p7_name|}}}}}}}|3={{#var:p_{{{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:{{{p8_name|}}}{{{p8_type|}}}|{{LSL DefineRow|1={{{p8_type|}}}|2={{#if:{{{p8_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p8_type|}}}}}/{{{p8_subtype|}}}{{#var:lang}}|{{{p8_name|}}}}}|{{LSL_Parameter_Link|{{{p8_name|}}}}}}}|3={{#var:p_{{{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:{{{p9_name|}}}{{{p9_type|}}}|{{LSL DefineRow|1={{{p9_type|}}}|2={{#if:{{{p9_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p9_type|}}}}}/{{{p9_subtype|}}}{{#var:lang}}|{{{p9_name|}}}}}|{{LSL_Parameter_Link|{{{p9_name|}}}}}}}|3={{#var:p_{{{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:{{{p10_name|}}}{{{p10_type|}}}|{{LSL DefineRow|1={{{p10_type|}}}|2={{#if:{{{p10_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p10_type|}}}}}/{{{p10_subtype|}}}{{#var:lang}}|{{{p10_name|}}}}}|{{LSL_Parameter_Link|{{{p10_name|}}}}}}}|3={{#var:p_{{{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:{{{p11_name|}}}{{{p11_type|}}}|{{LSL DefineRow|1={{{p11_type|}}}|2={{#if:{{{p11_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p11_type|}}}}}/{{{p11_subtype|}}}{{#var:lang}}|{{{p11_name|}}}}}|{{LSL_Parameter_Link|{{{p11_name|}}}}}}}|3={{#var:p_{{{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:{{{p12_name|}}}{{{p12_type|}}}|{{LSL DefineRow|1={{{p12_type|}}}|2={{#if:{{{p12_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p12_type|}}}}}/{{{p12_subtype|}}}{{#var:lang}}|{{{p12_name|}}}}}|{{LSL_Parameter_Link|{{{p12_name|}}}}}}}|3={{#var:p_{{{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|}}}|{{{event_footnote|}}}{{{event_footer|}}}}}
{{#if:{{{event_footnote|}}}{{{event_footer|}}}|{{{event_footnote|}}}{{{event_footer|}}}}}
</div></div>
</div></div>
Line 319: Line 307:
}}{{#if:{{#var:signature}}|{{#var:signature}}
}}{{#if:{{#var:signature}}|{{#var:signature}}
}}|id="lsl-signature"}}}}
}}|id="lsl-signature"}}}}
{{#if:{{{haiku|}}}|{{Collapsible_Table|table-class=haiku|table-style=width:100%;|title-style=text-align:left;|title=<h4 style="margin-top:0;">Haiku</h4>|content={{!}}
{{{haiku}}}
}}}}
</div></div>{{#if:{{{comments|}}}|<div id="box">
</div></div>{{#if:{{{comments|}}}|<div id="box">
<h2>Comments</h2>
<h2>Comments</h2>
Line 324: Line 315:
{{{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>

Latest revision as of 08:02, 1 April 2014

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