Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 61: Line 61:
}}
}}
{{#if:{{{desc|}}}|{{#vardefine:desc|{{{desc|}}}}}}}
{{#if:{{{desc|}}}|{{#vardefine:desc|{{{desc|}}}}}}}
{{#vardefine:sig|{{#var:type}} {{#var:name}} = {{#if:{{#var:hvalue}}|{{#var:hvalue}}|{{#var:value}}}};{{#if:{{#var:desc}}|//{{#var:desc}}}}}}
{{#vardefine:comment|{{{comment|}}}{{#var:comment}}}}
{{#vardefine:sig|{{#var:type}} {{#var:name}} = {{#if:{{#var:hvalue}}|{{#var:hvalue}}|{{#var:value}}}};{{#if:{{#var:comment}}|//{{#var:comment}}}}}}


{{#vardefine:article_type|constant}}
{{#vardefine:article_type|constant}}
Line 71: Line 72:
{{#vardefine:issues|{{#var:issues}}
{{#vardefine:issues|{{#var:issues}}
{{{issues|}}}}}
{{{issues|}}}}}
{{#vardefine:comment|{{{comment|}}}{{#var:comment}}}}


{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}}
{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}}

Revision as of 14:53, 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

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