Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m (couple nagging template issues (hope adding header support doesn't cause problems).)
m
Line 54: Line 54:
{{#vardefine:value|{{#if:{{{value|}}}|{{{value|}}}|{{#var:value}}}}}}
{{#vardefine:value|{{#if:{{{value|}}}|{{{value|}}}|{{#var:value}}}}}}
}}<includeonly>{{#if:
}}<includeonly>{{#if:
{{#vardefine:issues|{{{issues|}}}
{{#var:issues}}}}
{{#vardefine:comment|{{{comment|}}}{{#var:comment}}}}
{{#vardefine:comment|{{{comment|}}}{{#var:comment}}}}
{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}}
{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}}
Line 109: Line 111:
{{#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}}{{{issues|}}}{{#var:issues}}{{{location|}}}{{#var:location}}{{#var:footnotes}}{{{deepnotes|}}}{{#var:deepnotes}}{{{mono|}}}{{#var:mono}}{{{lso|}}}{{#var:lso}}|<div id="box">
</div></div>}}{{#if:{{{history|}}}{{#var:history}}{{#var:issues}}{{{location|}}}{{#var:location}}{{#var:footnotes}}{{{deepnotes|}}}{{#var:deepnotes}}{{{mono|}}}{{#var:mono}}{{{lso|}}}{{#var:lso}}|<div id="box">
== Deep Notes ==
== Deep Notes ==
<div style="padding: 0.5em"><div>
<div style="padding: 0.5em"><div>
Line 116: Line 118:
<h4> History </h4><div>
<h4> History </h4><div>
{{{history|}}}{{#var:history}}
{{{history|}}}{{#var:history}}
</div>}}{{#if:{{{issues|}}}{{#var:issues}}|
</div>}}{{#if:{{#var:issues}}|
<h4> Issues </h4>
<h4> Issues </h4>
{{{!}}
{{{!}}
{{{issues|}}}{{#var:issues}}
{{#var:issues}}
{{!}}}
{{!}}}
}}{{#if:{{{location|}}}{{#var:location}}|
}}{{#if:{{{location|}}}{{#var:location}}|

Revision as of 09:41, 24 October 2008

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