Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 50: Line 50:
=Example=
=Example=
</noinclude>{{#if:
</noinclude>{{#if:
{{#vardefine:type|{{#if:{{{type|}}}|{{{type|}}}|{{#var:type}}}}}}
{{#vardefine:type|{{#if:{{{type|}}}|{{{type|}}}|{{#var:type}}}}}}
{{#vardefine:name|{{#if:{{{name|}}}|{{{name|}}}|{{#var:name}}}}}}
{{#vardefine:name|{{#if:{{{name|}}}|{{{name|}}}|{{#var:name}}}}}}
{{#vardefine:value|{{#if:{{{value|}}}|{{{value|}}}|{{#var:value}}}}}}
{{#vardefine:value|{{#if:{{{value|}}}|{{{value|}}}|{{#var:value}}}}}}
{{#vardefine:caveats|{{#if:{{#var:caveats}}|
{{#var:caveats}}}}{{#if:{{{caveats|}}}|
{{{caveats|}}}}}
{{#ifeq:{{#var:mode}}|user||{{#if:{{#var:bugs}}|<h3 style="display:inline; line-height:2em;">Important Issues </h3>~ {{JiraSearch/1|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Bugs}}
{{{!}} style="font-size:80%; line-height:1.1em;"
{{#var:bugs}}
{{!}}}|{{JiraSearch/1|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Bugs}}}}}}}}
}}<includeonly>{{#if:
}}<includeonly>{{#if:
{{#vardefine:issues|{{#var:issues}}
{{#vardefine:issues|{{#var:issues}}
Line 88: Line 99:
== Caveats ==
== Caveats ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{{caveats|}}}{{#var:caveats}}
{{#var:caveats}}
</div></div>}}<div id="box">
</div></div>}}<div id="box">
== Related Articles ==
== Related Articles ==

Revision as of 15:32, 31 January 2010

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

Issues

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

Source

{{var:location}}

Footnotes

    {{var:footnotes}}