Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m (this template needs serious overhauling!)
m (i'd need to push all parameters into variables like the function template if the script is to do more (which isn't going to happen tonight).)
Line 97: Line 97:
}}{{#if:{{{pd|}}}{{#var:pd}}|
}}{{#if:{{{pd|}}}{{#var:pd}}|
{{{pd|}}}{{#var:pd}}
{{{pd|}}}{{#var:pd}}
}}{{#if:{{{caveats|}}}{{#var:caveats}}|
}}
<div id="box">
<div id="box">
== Caveats ==
== Caveats ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{LSL_Generic/Caveats|caveats={{{caveats|}}}
{{LSL_Generic/Caveats|caveats={{{caveats|}}}
{{#var:caveats}}{{#vardefine:caveats}}|bugs={{#var:bugs}}}}
{{#var:caveats}}|bugs={{#var:bugs}}}}
</div></div>}}<div id="box">
</div></div><div id="box">
== Related Articles ==
== Related Articles ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
Line 143: Line 143:
{{#var:issues}}
{{#var:issues}}
{{!}}}
{{!}}}
|<h4>Issues</h4>
|{{Anchor|Issues}}<h4>All Issues</h4>
{{JiraSearch/2|1={{{keywords|}}} {{#var:name}}|2=Search JIRA for related Issues}}
{{JiraSearch/2|1={{{keywords|}}} {{#var:name}}|2=Search JIRA for related Issues}}
}}{{#if:{{#var:also_tests}}|
}}{{#if:{{#var:also_tests}}|

Revision as of 23:47, 15 May 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}}

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