Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m (bugs and categories ^^)
m
Line 59: Line 59:
{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}}
{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}}
{{#vardefine:self|{{{self|}}}{{#var:self}}}}
{{#vardefine:self|{{{self|}}}{{#var:self}}}}
{{#vardefine:also_tests|{{#var:also_tests}}
{{{also_tests|}}}}}
}}<div id="RealTitleBanner" style="display:none;">
}}<div id="RealTitleBanner" style="display:none;">
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#var:name}}</span></div> __NOEDITSECTION__  {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{#var:self}}||[[Category:LSL Constants{{#var:lang}}|{{#var:name}}]][[Category:LSL {{ucfirst:{{#var:type}}}}{{#var:lang}}|{{#var:name}}]]{{#ifexpr:({{#var:BugCounter}} + 0) > 0|[[Category:LSL topics with bugs{{#var:lang}}]]}}}}  
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#var:name}}</span></div> __NOEDITSECTION__  {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{#var:self}}||[[Category:LSL Constants{{#var:lang}}|{{#var:name}}]][[Category:LSL {{ucfirst:{{#var:type}}}}{{#var:lang}}|{{#var:name}}]]{{#ifexpr:({{#var:BugCounter}} + 0) > 0|[[Category:LSL topics with bugs{{#var:lang}}]]}}}}  
Line 122: Line 124:
{{{!}}
{{{!}}
{{#var:issues}}
{{#var:issues}}
{{!}}}
}}{{#if:{{#var:also_tests}}|
<h3>Tests</h3>
{{{!}}
{{#var:also_tests}}
{{!}}}
{{!}}}
}}{{#if:{{{location|}}}{{#var:location}}|
}}{{#if:{{{location|}}}{{#var:location}}|

Revision as of 12:47, 3 November 2008

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

Issues

{{var:issues}}

Source

{{var:location}}

Footnotes

    {{var:footnotes}}