Difference between revisions of "User:Strife Onizuka/Sandbox/Switch/Const"
< User:Strife Onizuka | Sandbox | Switch
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
See [[{{FULLPAGENAME}}/docs]] for documentation. | See [[{{FULLPAGENAME}}/docs]] for documentation. | ||
{{#vardefine:type|<nowiki>{{var:type}}</nowiki>}}{{#vardefine:name|<nowiki>{{var:name}}</nowiki>}} {{#vardefine:value|<nowiki>{{var:value}}</nowiki>}}{{#vardefine:type|<nowiki>{{var:type}}</nowiki>}} {{#vardefine:examples|<nowiki>{{var:examples}}</nowiki>}} {{#vardefine:desc|<nowiki>{{var:desc}}</nowiki>}} {{#vardefine:functions|{{!}}<nowiki>{{var:functions}}</nowiki>}} | {{#vardefine:type|<nowiki>{{var:type}}</nowiki>}}{{#vardefine:name|<nowiki>{{var:name}}</nowiki>}} {{#vardefine:value|<nowiki>{{var:value}}</nowiki>}}{{#vardefine:type|<nowiki>{{var:type}}</nowiki>}} {{#vardefine:examples|<nowiki>{{var:examples}}</nowiki>}} {{#vardefine:desc|<nowiki>{{var:desc}}</nowiki>}} {{#vardefine:functions|{{!}}<nowiki>{{var:functions}}</nowiki>}} | ||
{{#vardefine:constants|{{!}}<nowiki>{{var:constants}}</nowiki>}} {{#vardefine:events|{{!}}<nowiki>{{var:events}}</nowiki>}} {{#vardefine:location|<nowiki>{{var:location}}</nowiki>}} {{#vardefine: | {{#vardefine:constants|{{!}}<nowiki>{{var:constants}}</nowiki>}} {{#vardefine:events|{{!}}<nowiki>{{var:events}}</nowiki>}} {{#vardefine:location|<nowiki>{{var:location}}</nowiki>}} {{#vardefine:pa_front|<nowiki>{{var:pa_front}}</nowiki>}} {{#vardefine:pa_mid|<nowiki>{{var:pa_mid}}</nowiki>}} {{#vardefine:pa_end|<nowiki>{{var:pa_end}}</nowiki>}} | ||
<pre> | <pre> | ||
{{LSL Constant | {{LSL Constant | ||
Line 32: | Line 32: | ||
</div></div> | </div></div> | ||
{{!}}- | {{!}}- | ||
{{#if:{{{ | {{#if:{{{pa_front|{{#var:pa_front}}}}}| | ||
{{!}}<div id="box"> | {{!}}<div id="box"> | ||
=={{{ | =={{{pa_front|{{#var:pa_front}}}}} [[{{{name|{{#var:name}}}}}]]{{{pa_mid|{{#var:pa_mid}}}}}{{#if:{{#var:pa1_name}}{{#var:pa1_type}}| [[{{#var:pa1_type}}]] {{LSL Param|{{#var:pa1_name}}|{{#var:pa1_disp}}}}{{#if:{{#var:pa2_name}}{{#var:pa2_type}}|, [[{{#var:pa2_type}}]] {{LSL Param|{{#var:pa2_name}}|{{#var:pa2_disp}}}}{{#if:{{#var:pa3_name}}{{#var:pa3_type}}|, [[{{#var:pa3_type}}]] {{LSL Param|{{#var:pa3_name}}|{{#var:pa3_disp}}}}{{#if:{{#var:pa4_name}}{{#var:pa4_type}}|, [[{{#var:pa4_type}}]] {{LSL Param|{{#var:pa4_name}}|{{#var:pa4_disp}}}}{{#if:{{#var:pa5_name}}{{#var:pa5_type}}|, [[{{#var:pa5_type}}]] {{LSL Param|{{#var:pa5_name}}|{{#var:pa5_disp}}}}{{#if:{{#var:pa6_name}}{{#var:pa6_type}}|, [[{{#var:pa6_type}}]] {{LSL Param|{{#var:pa6_name}}|{{#var:pa6_disp}}}}{{#if:{{#var:pa7_name}}{{#var:pa7_type}}|, [[{{#var:pa7_type}}]] {{LSL Param|{{#var:pa7_name}}|{{#var:pa7_disp}}}}{{#if:{{#var:pa8_name}}{{#var:pa8_type}}|, [[{{#var:pa8_type}}]] {{LSL Param|{{#var:pa8_name}}|{{#var:pa8_disp}}}}{{#if:{{#var:pa9_name}}{{#var:pa9_type}}|, [[{{#var:pa9_type}}]] {{LSL Param|{{#var:pa9_name}}|{{#var:pa9_disp}}}}{{#if:{{#var:pa10_name}}{{#var:pa10_type}}|, [[{{#var:pa10_type}}]] {{LSL Param|{{#var:pa10_name}}|{{#var:pa10_disp}}}}{{#if:{{#var:pa11_name}}{{#var:pa11_type}}|, [[{{#var:pa11_type}}]] {{LSL Param|{{#var:pa11_name}}|{{#var:pa11_disp}}}}{{#if:{{#var:pa12_name}}{{#var:pa12_type}}|, [[{{#var:pa12_type}}]] {{LSL Param|{{#var:pa12_name}}|{{#var:pa12_disp}}}}}}}}}}}}}}}}}}}}}}}}}}}}{{{pa_end|{{#var:pa_end}}}}}== | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em">{{#if:{{#var:pa1_name}}{{#var:pa1_type}}| | ||
{{{!}} | {{{!}} | ||
{{#if:{{#var: | {{LSL_DefineRow|{{#var:pa1_type}}|{{#if:{{#var:pa1_disp}}|{{#var:pa1_disp}}|{{#var:pa1_name}}}}|{{#var:pa1_desc}}{{#var:pa_{{#var:pa1_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa2_name}}{{#var:pa2_type}}|{{LSL_DefineRow|{{#var:pa2_type}}|{{#if:{{#var:pa2_disp}}|{{#var:pa2_disp}}|{{#var:pa2_name}}}}|{{#var:pa2_desc}}{{#var:pa_{{#var:pa2_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa3_name}}{{#var:pa3_type}}|{{LSL_DefineRow|{{#var:pa3_type}}|{{#if:{{#var:pa3_disp}}|{{#var:pa3_disp}}|{{#var:pa3_name}}}}|{{#var:pa3_desc}}{{#var:pa_{{#var:pa3_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa4_name}}{{#var:pa4_type}}|{{LSL_DefineRow|{{#var:pa4_type}}|{{#if:{{#var:pa4_disp}}|{{#var:pa4_disp}}|{{#var:pa4_name}}}}|{{#var:pa4_desc}}{{#var:pa_{{#var:pa4_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa5_name}}{{#var:pa5_type}}|{{LSL_DefineRow|{{#var:pa5_type}}|{{#if:{{#var:pa5_disp}}|{{#var:pa5_disp}}|{{#var:pa5_name}}}}|{{#var:pa5_desc}}{{#var:pa_{{#var:pa5_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa6_name}}{{#var:pa6_type}}|{{LSL_DefineRow|{{#var:pa6_type}}|{{#if:{{#var:pa6_disp}}|{{#var:pa6_disp}}|{{#var:pa6_name}}}}|{{#var:pa6_desc}}{{#var:pa_{{#var:pa6_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa7_name}}{{#var:pa7_type}}|{{LSL_DefineRow|{{#var:pa7_type}}|{{#if:{{#var:pa7_disp}}|{{#var:pa7_disp}}|{{#var:pa7_name}}}}|{{#var:pa7_desc}}{{#var:pa_{{#var:pa7_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa8_name}}{{#var:pa8_type}}|{{LSL_DefineRow|{{#var:pa8_type}}|{{#if:{{#var:pa8_disp}}|{{#var:pa8_disp}}|{{#var:pa8_name}}}}|{{#var:pa8_desc}}{{#var:pa_{{#var:pa8_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa9_name}}{{#var:pa9_type}}|{{LSL_DefineRow|{{#var:pa9_type}}|{{#if:{{#var:pa9_disp}}|{{#var:pa9_disp}}|{{#var:pa9_name}}}}|{{#var:pa9_desc}}{{#var:pa_{{#var:pa9_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa10_name}}{{#var:pa10_type}}|{{LSL_DefineRow|{{#var:pa10_type}}|{{#if:{{#var:pa10_disp}}|{{#var:pa10_disp}}|{{#var:pa10_name}}}}|{{#var:pa10_desc}}{{#var:pa_{{#var:pa10_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa11_name}}{{#var:pa11_type}}|{{LSL_DefineRow|{{#var:pa11_type}}|{{#if:{{#var:pa11_disp}}|{{#var:pa11_disp}}|{{#var:pa11_name}}}}|{{#var:pa11_desc}}{{#var:pa_{{#var:pa11_name}}_desc}}}} | ||
{{#if:{{#var: | {{#if:{{#var:pa12_name}}{{#var:pa12_type}}|{{LSL_DefineRow|{{#var:pa12_type}}|{{#if:{{#var:pa12_disp}}|{{#var:pa12_disp}}|{{#var:pa12_name}}}}|{{#var:pa12_desc}}{{#var:pa_{{#var:pa12_name}}_desc}}}} | ||
}}}}}}}}}}}}}}}}}}}}}}}} | }}}}}}}}}}}}}}}}}}}}}} | ||
{{ | {{!}}} }} | ||
{{{pa_text|}}}{{#var:pa_text}} | |||
</div> | </div> | ||
</div>}} | |||
{{!}}- | |||
{{#if:{{{pb_front|{{#var:pb_front}}}}}| | |||
{{!}}<div id="box"> | |||
=={{{pb_front|{{#var:pb_front}}}}} [[{{{name|{{#var:name}}}}}]]{{{pb_mid|{{#var:pb_mid}}}}}{{#if:{{#var:pb1_name}}{{#var:pb1_type}}| [[{{#var:pb1_type}}]] {{LSL Param|{{#var:pb1_name}}|{{#var:pb1_disp}}}}{{#if:{{#var:pb2_name}}{{#var:pb2_type}}|, [[{{#var:pb2_type}}]] {{LSL Param|{{#var:pb2_name}}|{{#var:pb2_disp}}}}{{#if:{{#var:pb3_name}}{{#var:pb3_type}}|, [[{{#var:pb3_type}}]] {{LSL Param|{{#var:pb3_name}}|{{#var:pb3_disp}}}}{{#if:{{#var:pb4_name}}{{#var:pb4_type}}|, [[{{#var:pb4_type}}]] {{LSL Param|{{#var:pb4_name}}|{{#var:pb4_disp}}}}{{#if:{{#var:pb5_name}}{{#var:pb5_type}}|, [[{{#var:pb5_type}}]] {{LSL Param|{{#var:pb5_name}}|{{#var:pb5_disp}}}}{{#if:{{#var:pb6_name}}{{#var:pb6_type}}|, [[{{#var:pb6_type}}]] {{LSL Param|{{#var:pb6_name}}|{{#var:pb6_disp}}}}{{#if:{{#var:pb7_name}}{{#var:pb7_type}}|, [[{{#var:pb7_type}}]] {{LSL Param|{{#var:pb7_name}}|{{#var:pb7_disp}}}}{{#if:{{#var:pb8_name}}{{#var:pb8_type}}|, [[{{#var:pb8_type}}]] {{LSL Param|{{#var:pb8_name}}|{{#var:pb8_disp}}}}{{#if:{{#var:pb9_name}}{{#var:pb9_type}}|, [[{{#var:pb9_type}}]] {{LSL Param|{{#var:pb9_name}}|{{#var:pb9_disp}}}}{{#if:{{#var:pb10_name}}{{#var:pb10_type}}|, [[{{#var:pb10_type}}]] {{LSL Param|{{#var:pb10_name}}|{{#var:pb10_disp}}}}{{#if:{{#var:pb11_name}}{{#var:pb11_type}}|, [[{{#var:pb11_type}}]] {{LSL Param|{{#var:pb11_name}}|{{#var:pb11_disp}}}}{{#if:{{#var:pb12_name}}{{#var:pb12_type}}|, [[{{#var:pb12_type}}]] {{LSL Param|{{#var:pb12_name}}|{{#var:pb12_disp}}}}}}}}}}}}}}}}}}}}}}}}}}}}{{{pb_end|{{#var:pb_end}}}}}== | |||
<div style="padding: 0.5em">{{#if:{{#var:pb1_name}}{{#var:pb1_type}}| | |||
{{{!}} | |||
{{LSL_DefineRow|{{#var:pb1_type}}|{{#if:{{#var:pb1_disp}}|{{#var:pb1_disp}}|{{#var:pb1_name}}}}|{{#var:pb1_desc}}{{#var:pb_{{#var:pb1_name}}_desc}}}} | |||
{{#if:{{#var:pb2_name}}{{#var:pb2_type}}|{{LSL_DefineRow|{{#var:pb2_type}}|{{#if:{{#var:pb2_disp}}|{{#var:pb2_disp}}|{{#var:pb2_name}}}}|{{#var:pb2_desc}}{{#var:pb_{{#var:pb2_name}}_desc}}}} | |||
{{#if:{{#var:pb3_name}}{{#var:pb3_type}}|{{LSL_DefineRow|{{#var:pb3_type}}|{{#if:{{#var:pb3_disp}}|{{#var:pb3_disp}}|{{#var:pb3_name}}}}|{{#var:pb3_desc}}{{#var:pb_{{#var:pb3_name}}_desc}}}} | |||
{{#if:{{#var:pb4_name}}{{#var:pb4_type}}|{{LSL_DefineRow|{{#var:pb4_type}}|{{#if:{{#var:pb4_disp}}|{{#var:pb4_disp}}|{{#var:pb4_name}}}}|{{#var:pb4_desc}}{{#var:pb_{{#var:pb4_name}}_desc}}}} | |||
{{#if:{{#var:pb5_name}}{{#var:pb5_type}}|{{LSL_DefineRow|{{#var:pb5_type}}|{{#if:{{#var:pb5_disp}}|{{#var:pb5_disp}}|{{#var:pb5_name}}}}|{{#var:pb5_desc}}{{#var:pb_{{#var:pb5_name}}_desc}}}} | |||
{{#if:{{#var:pb6_name}}{{#var:pb6_type}}|{{LSL_DefineRow|{{#var:pb6_type}}|{{#if:{{#var:pb6_disp}}|{{#var:pb6_disp}}|{{#var:pb6_name}}}}|{{#var:pb6_desc}}{{#var:pb_{{#var:pb6_name}}_desc}}}} | |||
{{#if:{{#var:pb7_name}}{{#var:pb7_type}}|{{LSL_DefineRow|{{#var:pb7_type}}|{{#if:{{#var:pb7_disp}}|{{#var:pb7_disp}}|{{#var:pb7_name}}}}|{{#var:pb7_desc}}{{#var:pb_{{#var:pb7_name}}_desc}}}} | |||
{{#if:{{#var:pb8_name}}{{#var:pb8_type}}|{{LSL_DefineRow|{{#var:pb8_type}}|{{#if:{{#var:pb8_disp}}|{{#var:pb8_disp}}|{{#var:pb8_name}}}}|{{#var:pb8_desc}}{{#var:pb_{{#var:pb8_name}}_desc}}}} | |||
{{#if:{{#var:pb9_name}}{{#var:pb9_type}}|{{LSL_DefineRow|{{#var:pb9_type}}|{{#if:{{#var:pb9_disp}}|{{#var:pb9_disp}}|{{#var:pb9_name}}}}|{{#var:pb9_desc}}{{#var:pb_{{#var:pb9_name}}_desc}}}} | |||
{{#if:{{#var:pb10_name}}{{#var:pb10_type}}|{{LSL_DefineRow|{{#var:pb10_type}}|{{#if:{{#var:pb10_disp}}|{{#var:pb10_disp}}|{{#var:pb10_name}}}}|{{#var:pb10_desc}}{{#var:pb_{{#var:pb10_name}}_desc}}}} | |||
{{#if:{{#var:pb11_name}}{{#var:pb11_type}}|{{LSL_DefineRow|{{#var:pb11_type}}|{{#if:{{#var:pb11_disp}}|{{#var:pb11_disp}}|{{#var:pb11_name}}}}|{{#var:pb11_desc}}{{#var:pb_{{#var:pb11_name}}_desc}}}} | |||
{{#if:{{#var:pb12_name}}{{#var:pb12_type}}|{{LSL_DefineRow|{{#var:pb12_type}}|{{#if:{{#var:pb12_disp}}|{{#var:pb12_disp}}|{{#var:pb12_name}}}}|{{#var:pb12_desc}}{{#var:pb_{{#var:pb12_name}}_desc}}}} | |||
}}}}}}}}}}}}}}}}}}}}}} | |||
{{!}}} }} | |||
{{{pb_text|}}}{{#var:pb_text}} | |||
</div> | </div> | ||
{{!}}- | </div>}} | ||
{{!}}- | |||
{{!}}<div id="box"> | {{!}}<div id="box"> | ||
== Functions and Events == | == Functions and Events == |
Latest revision as of 14:38, 17 December 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
See User:Strife Onizuka/Sandbox/Switch/Const/docs for documentation.
{{LSL Constant |name |type |value |desc |examples |events |functions |location |cat1 |cat2 |cat3 |cat4 |cat5 |cat6 }}
Example
[[{{var:type}}]] [[{{var:name}}]] = {{var:value}};The {{var:type}} constant {{var:name}} has the value {{var:value}} | |||
{{var:pa_front}} [[{{var:name}}]]{{var:pa_mid}}{{var:pa_end}} | |||
Functions and EventsConstants
Functions
Events
| |||
Examples{{var:examples}} | |||
Source Location{{var:location}} |