Difference between revisions of "Template:LSL Constant"
Jump to navigation
Jump to search
m (not sure why this wasn't inlined (i'll find out soon?), not higher parameters can clear the bugs so they don't have to double render.) |
m (this template needs serious overhauling!) |
||
Line 51: | Line 51: | ||
</noinclude>{{#if: | </noinclude>{{#if: | ||
{{#if:{{{type|}}}|{{#vardefine:type|{{{type|}}}}}}} | |||
{{#if:{{{name|}}}|{{#vardefine:name|{{{name|}}}}}}} | |||
{{#if:{{{value|}}}|{{#vardefine:value|{{{value|}}}}}}} | |||
{{#vardefine:article_type|constant}} | |||
{{{inject-1|}}} | |||
}}<includeonly>{{#if: | }}<includeonly>{{#if: | ||
{{#vardefine:issues|{{#var:issues}} | {{#vardefine:issues|{{#var:issues}} | ||
{{{issues|}}}}} | {{{issues|}}}}} | ||
{{#vardefine:comment|{{{comment|}}}{{#var:comment}}}} | {{#vardefine:comment|{{{comment|}}}{{#var:comment}}}} | ||
{{#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}} | {{#vardefine:also_tests|{{#var:also_tests}} | ||
{{{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 90: | Line 101: | ||
== Caveats == | == Caveats == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{ | {{LSL_Generic/Caveats|caveats={{{caveats|}}} | ||
{{#var:caveats}}{{#vardefine:caveats}}|bugs={{#var:bugs}}}} | |||
{{#var:bugs | |||
</div></div>}}<div id="box"> | </div></div>}}<div id="box"> | ||
== Related Articles == | == Related Articles == |
Revision as of 22:03, 24 April 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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}}