Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m
m (same variable names as function template ~_~ (wonder if i should make templates for each so I can easily change then in the case of collisions... *can already hear the screams of torment*))
Line 103: Line 103:
== Related Articles ==
== Related Articles ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#if:{{{constants|}}}{{#var:constants}}|<h3>Constants</h3>
{{#if:{{{constants|}}}{{#var:constants}}{{#var:also_constants}}|<h3>Constants</h3>
{{{!}}
{{{!}}
{{{constants|}}}{{#var:constants}}{{#var:also_constants}}
{{{constants|}}}{{#var:constants}}{{#var:also_constants}}
{{!}}} }}{{#if:{{{functions|}}}{{#var:functions}}{{#var:also_functions}}|<h3>Functions</h3>
{{!}}} }}{{#if:{{{functions|}}}{{#var:functions}}{{#var:also_functions}}|<h3>Functions</h3>
{{{!}}
{{{!}}
{{{functions|{{#var:functions}}}}}
{{{functions|}}}{{#var:functions}}{{#var:also_functions}}
{{!}}} }}{{#if:{{{events|}}}{{#var:events}}{{#var:also_events}}|<h3>Events</h3>
{{!}}} }}{{#if:{{{events|}}}{{#var:events}}{{#var:also_events}}|<h3>Events</h3>
{{{!}}
{{{!}}
{{{events|}}}{{#var:events}}
{{{events|}}}{{#var:events}}{{#var:also_events}}
{{!}}} }}{{#if:{{{articles|}}}{{#var:articles}}{{#var:also_articles}}|<h3>Articles</h3>
{{!}}} }}{{#if:{{{articles|}}}{{#var:articles}}{{#var:also_articles}}|<h3>Articles</h3>
{{{!}}
{{{!}}
{{{articles|}}}{{#var:articles}}
{{{articles|}}}{{#var:articles}}{{#var:also_articles}}
{{!}}} }}</div></div>{{#if:{{{examples|}}}{{#var:examples}}|<div id="box">
{{!}}} }}</div></div>{{#if:{{{examples|}}}{{#var:examples}}|<div id="box">
== Examples ==
== Examples ==

Revision as of 14:05, 25 March 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}}