Difference between revisions of "Template:LSL Constant"
Jump to navigation
Jump to search
m |
m (bugs and categories ^^) |
||
Line 1: | Line 1: | ||
__NOTOC__ {{Multi-lang}}{{LSL Header}}<noinclude> | __NOTOC__ {{Multi-lang|category=LSL}}{{LSL Header}}<noinclude> | ||
See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation. | See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation. | ||
{{#if: | {{#if: | ||
Line 54: | Line 54: | ||
{{#vardefine:value|{{#if:{{{value|}}}|{{{value|}}}|{{#var:value}}}}}} | {{#vardefine:value|{{#if:{{{value|}}}|{{{value|}}}|{{#var:value}}}}}} | ||
}}<includeonly>{{#if: | }}<includeonly>{{#if: | ||
{{#vardefine:issues|{{ | {{#vardefine:issues|{{#var: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}}}} | ||
}}<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}}]]}} | <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}}]]}}}} | ||
</includeonly>{{#var:header}} | </includeonly>{{#var:header}} | ||
{{RightToc|font-size:80%}} | {{RightToc|font-size:80%}} | ||
<div id="box"><h2 style="display:none"> Description </h2><span id="{{anchorencode:Description}}" class="mw-headline" style="display:block; padding-bottom:0.17em; padding-top:0.5em; background:transparent none repeat scroll 0% 0%; color:#546368; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0pt; padding:0.2em 0.5em; text-align:left;"> Constant: [[{{#var:type}}{{#var:lang}}|{{#var:type}}]] {{HoverLink|1={{#var:name}}{{#var:lang}}|2={{#var:comment}}|3={{#var:name}}}} = {{#var:value}}; </span> | <div id="box"><h2 style="display:none"> Description </h2>{{#ifexpr:({{#var:BugCounter}} + 0) > 0|<span class="mw-headline" style="display:block; color:#FF0000; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; font-size:120%; font-weight:bolder; margin:0pt; padding:0.2em 0.5em; text-align:left; float:right;">[[#Issues|<span title="There {{#ifeq:{{#var:BugCounter}}|1|is 1 bug|are {{#var:BugCounter}} bugs}} reported for this constant." style="color:#FF0000;">!</span>]]</span>}}<span id="{{anchorencode:Description}}" class="mw-headline" style="display:block; padding-bottom:0.17em; padding-top:0.5em; background:transparent none repeat scroll 0% 0%; color:#546368; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0pt; padding:0.2em 0.5em; text-align:left;"> Constant: [[{{#var:type}}{{#var:lang}}|{{#var:type}}]] {{HoverLink|1={{#var:name}}{{#var:lang}}|2={{#var:comment}}|3={{#var:name}}}} = {{#var:value}}; </span> | ||
<div style="padding: 0.5em">{{#if:{{{float|}}}{{#var:float}}|<div style="float:right;"> | <div style="padding: 0.5em">{{#if:{{{float|}}}{{#var:float}}|<div style="float:right;"> | ||
{{{float|}}}{{#var:float}} | {{{float|}}}{{#var:float}} |
Revision as of 09:44, 24 October 2008
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
{{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}}