Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 7: Line 7:
{{#vardefine:desc|<nowiki>{{var:desc}}</nowiki>}}
{{#vardefine:desc|<nowiki>{{var:desc}}</nowiki>}}
{{#vardefine:rvalue|<nowiki>{{var:rvalue}}</nowiki>}}
{{#vardefine:rvalue|<nowiki>{{var:rvalue}}</nowiki>}}
{{#vardefine:type|<nowiki>{{var:type}}</nowiki>}}
{{#vardefine:examples|<nowiki>{{var:examples}}</nowiki>}}
{{#vardefine:examples|<nowiki>{{var:examples}}</nowiki>}}
{{#vardefine:caveats|<nowiki>{{var:caveats}}</nowiki>}}
{{#vardefine:caveats|<nowiki>{{var:caveats}}</nowiki>}}
Line 33: Line 32:
|name
|name
|type
|type
|subtype
|value
|value
|desc
|desc
Line 89: Line 89:


}}<div style="display:none" class="hidden-text" id="hidden-text">{{#var:hidden-text}}</div><div id="RealTitleBanner" style="display:none;">
}}<div style="display:none" class="hidden-text" id="hidden-text">{{#var:hidden-text}}</div><div id="RealTitleBanner" style="display:none;">
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{name}}}</span></div> __NOEDITSECTION__  {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{#var:self}}{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}||[[Category:LSL Constants{{#var:lang}}|{{{name}}}]][[Category:LSL {{ucfirst:{{{type}}}}}{{#var:lang}}|{{{name}}}]]{{#ifexpr:{{#var:BugCounter|0}} > 0|[[Category:LSL topics with bugs{{#var:lang}}]]}}}}  
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{name}}}</span></div> __NOEDITSECTION__  {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{#var:self}}{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}||[[Category:LSL Constants{{#var:lang}}|{{{name}}}]][[Category:LSL {{ucfirst:{{{type}}}}}{{#var:lang}}|{{{name}}}]]{{#if:{{{subtype|}}}|[[Category:LSL {{ucfirst:{{{type}}}}}/{{{subtype}}}/Values{{#var:lang}}|{{{name}}}]]}}{{#ifexpr:{{#var:BugCounter|0}} > 0|[[Category:LSL topics with bugs{{#var:lang}}]]}}}}  
</includeonly>{{#var:header}}
</includeonly>{{#var:header}}
{{RightToc|font-size:80%}}
{{RightToc|font-size:80%}}
Line 96: Line 96:
{{{float|}}}{{#var:float}}
{{{float|}}}{{#var:float}}
</div>}}
</div>}}
The {{{type}}} constant {{{name}}} has the value {{#var:rvalue}}{{#if:{{{desc|}}}{{#var:desc}}|<br/><br/>
The {{{type}}}{{#if:{{{subtype|}}}|&#32;[[:Category:LSL {{ucfirst:{{{type}}}}}/{{{subtype}}}/Values{{#var:lang}}|{{{name}}}]]}} constant {{{name}}} has the value {{#var:rvalue}}{{#if:{{{desc|}}}{{#var:desc}}|<br/><br/>
{{{desc|}}}
{{{desc|}}}
{{#var:desc}}|[[Category:LSL FixMe{{#var:lang}}]]}}
{{#var:desc}}|[[Category:LSL FixMe{{#var:lang}}]]}}

Revision as of 03:17, 23 December 2013

See Template:LSL Constant/docs for documentation.

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

Example

{{var:header}}

Description

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

{{var:float}}

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

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