Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 65: Line 65:
</includeonly>{{#var:header}}
</includeonly>{{#var:header}}
{{RightToc|font-size:80%}}
{{RightToc|font-size:80%}}
<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 id="box"><h2 style="display:none"> Summary </h2>{{#ifexpr:({{#var:BugCounter}} + 0) > 0|<div class="mw-headline" style="float:right; margin: 5px 0.5em 0 0.5em;">{{#tag:imagemap|
Image:Issue_Type-Bug.gif{{!}}Buggy
default [[#{{anchorencode:Important Issues}}|There {{#ifeq:{{#var:BugCounter}}|1|is 1 important Jira Issue|are {{#var:BugCounter}} important Jira Issues}} pertaining to this function.]]
desc none
}}<span id="{{anchorencode:Summary}}" style="display:none"></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}}
Line 113: Line 117:
{{#if:{{#var:notes}}|{{#var:notes}}{{#if:{{{notes|}}}|<br/>
{{#if:{{#var:notes}}|{{#var:notes}}{{#if:{{{notes|}}}|<br/>
{{{notes|}}}}}|{{{notes|}}}}}
{{{notes|}}}}}|{{{notes|}}}}}
</div></div>}}{{#if:{{{history|}}}{{#var:history}}{{#var:issues}}{{{location|}}}{{#var:location}}{{#var:footnotes}}{{{deepnotes|}}}{{#var:deepnotes}}{{#var:also_tests}}{{{mono|}}}{{#var:mono}}{{{lso|}}}{{#var:lso}}|<div id="box">
</div></div>}}<div id="box">
== Deep Notes ==
== Deep Notes ==
<div style="padding: 0.5em"><div>
<div style="padding: 0.5em"><div>
Line 121: Line 125:
{{{history|}}}{{#var:history}}
{{{history|}}}{{#var:history}}
</div>}}{{#if:{{#var:issues}}|
</div>}}{{#if:{{#var:issues}}|
<h4> Issues </h4>
<h4 style="display:inline; line-height:2em;">Issues </h4>~ {{JiraSearch/2|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Issues}}
{{{!}}
{{{!}} style="font-size:90%; line-height:1.1em;"
{{#var:issues}}
{{#var:issues}}
{{!}}}
{{!}}}
|<h4>Issues</h4>
{{JiraSearch/2|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Issues}}
}}{{#if:{{#var:also_tests}}|
}}{{#if:{{#var:also_tests}}|
<h3>Tests</h3>
<h3>Tests</h3>
Line 133: Line 139:
<h4> Source </h4><div>
<h4> Source </h4><div>
{{{location|}}}{{#var:location}}
{{{location|}}}{{#var:location}}
</div>}}{{#if:{{#var:footnotes}}|
</div>{{#if:{{#var:footnotes}}|
<h4 style="margin-bottom:0;"> Footnotes </h4>
<h4 style="margin-bottom:0;"> Footnotes </h4>
{{{{#if:{{#var:footnotes}}|Footnotes|}}|}}
{{{{#if:{{#var:footnotes}}|Footnotes|}}|}}
}}
}}
</div></div>}}{{#if:{{{cat1|}}}|[[Category:LSL {{{cat1|}}}{{#var:lang}}]]}}{{#if:{{{cat2|}}}|[[Category:LSL {{{cat2|}}}{{#var:lang}}]]}}{{#if:{{{cat3|}}}|[[Category:LSL {{{cat3|}}}{{#var:lang}}]]}}{{#if:{{{cat4|}}}|[[Category:LSL {{{cat4|}}}{{#var:lang}}]]}}{{#if:{{{cat5|}}}|[[Category:LSL {{{cat5|}}}{{#var:lang}}]]}}{{#if:{{{cat6|}}}|[[Category:LSL {{{cat6|}}}{{#var:lang}}]]}}
</div></div>}}{{#if:{{{cat1|}}}|[[Category:LSL {{{cat1|}}}{{#var:lang}}]]}}{{#if:{{{cat2|}}}|[[Category:LSL {{{cat2|}}}{{#var:lang}}]]}}{{#if:{{{cat3|}}}|[[Category:LSL {{{cat3|}}}{{#var:lang}}]]}}{{#if:{{{cat4|}}}|[[Category:LSL {{{cat4|}}}{{#var:lang}}]]}}{{#if:{{{cat5|}}}|[[Category:LSL {{{cat5|}}}{{#var:lang}}]]}}{{#if:{{{cat6|}}}|[[Category:LSL {{{cat6|}}}{{#var:lang}}]]}}

Revision as of 14:43, 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}}

Summary

{{#ifexpr:( + 0) > 0|
Buggy
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

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

Source

{{var:location}}

Footnotes

    {{var:footnotes}}