Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 56: Line 56:
{{#if:{{{value|}}}|{{#vardefine:value|{{{value|}}}}}}}
{{#if:{{{value|}}}|{{#vardefine:value|{{{value|}}}}}}}
{{#if:{{{desc|}}}|{{#vardefine:desc|{{{desc|}}}}}}}
{{#if:{{{desc|}}}|{{#vardefine:desc|{{{desc|}}}}}}}
{{#vardefine:sig|{{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}||{{#var:type}} {{#var:name}} = {{#var:value}};{{#if:{{#var:desc}}|//{{#var:desc}}}}}}}}
{{#vardefine:sig|{{#var:type}} {{#var:name}} = {{#var:value}};{{#if:{{#var:desc}}|//{{#var:desc}}}}}}


{{#vardefine:article_type|constant}}
{{#vardefine:article_type|constant}}
Line 75: Line 75:
{{{also_tests|}}}}}
{{{also_tests|}}}}}


{{#vardefine:signature|{{#if:{{#var:sig}}|{{#var:sig}}
{{#vardefine:signature|{{#if:{{#pos:{{#var:moded}}|u}}||{{#if:{{#pos:{{#var:moded}}|r}}|//}}{{#var:sig}}
}}{{#if:{{{signature|}}}|{{{signature|}}}
}}{{#if:{{{signature|}}}|{{{signature|}}}
}}{{#if:{{#var:signature}}|{{#var:signature}}}}
}}{{#if:{{#var:signature}}|{{#var:signature}}}}

Revision as of 14:39, 12 January 2012

See Template:LSL Constant/docs for documentation.

{{LSL Constant
|name
|type
|value
|desc
|examples
|events
|functions
|location
|history
|comment
|cat1
|cat2
|cat3
|cat4
|cat5
|cat6
}}

Example

{{var:header}}

Description

Constant: [[{{var:type}}|{{var:type}}]] [[{{var:name}}|{{var:name}}]] = {{var:value}};

{{var:float}}

The {{var:type}} constant {{var:name}} has the value {{var:value}}

{{var:desc}}

{{var:pa}}{{var:pb}}{{var:pc}}{{var:pd}}

Caveats

{{var:caveats}}


Related Articles

Constants

{{var:constants}}

Functions

{{var:functions}}

Events

{{var:events}}

Articles

{{var:articles}}

Examples

{{var:examples}}

Notes

{{var:notes}}

Deep Notes

{{var:deepnotes}}

History

{{var:history}}

All Issues

~ Search JIRA for related Issues {{var:issues}}

Source

{{var:location}}

Footnotes

    {{var:footnotes}}

Signature