Difference between revisions of "Template:LSL Constant"

From Second Life Wiki
Jump to navigation Jump to search
m (Fix type page sort)
Line 24: Line 24:
=Example=
=Example=
</noinclude><includeonly><div id="RealTitleBanner" style="display:none;">
</noinclude><includeonly><div id="RealTitleBanner" style="display:none;">
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{name|{{#var:name}}}}}</span></div> __NOEDITSECTION__ {{#vardefine:sort|{{lcfirst:{{{name|{{#var:name}}}}}}}}} {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{{self|}}}||{{LSLC|Constants}}{{LSLC|{{ucfirst:{{{type|{{#var:type}}}}}}}|{{{name|{{#var:name}}}}}}}}}  
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{name|{{#var:name}}}}}</span></div> __NOEDITSECTION__ {{#vardefine:sort|{{lcfirst:{{{name|{{#var:name}}}}}}}}} {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{{self|}}}||{{LSLC|Constants|{{{name|{{#var:name}}}}}}}{{LSLC|{{ucfirst:{{{type|{{#var:type}}}}}}}|{{{name|{{#var:name}}}}}}}}}  
</includeonly>{{{!}} width="100%"
</includeonly>{{{!}} width="100%"
{{!}}<div id="box">
{{!}}<div id="box">
Line 107: Line 107:
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{{location|{{#var:location}}}}}
{{{location|{{#var:location}}}}}
</div></div>}}
{{!}}-
{{#if:{{#var:history}}|
{{!}}
<div id="box">
<h2>{{#if:{{#var:T_History}}|{{#var:T_History}}|History}}</h2>
<div style="padding: 0.5em">
{{#var:history}}
</div></div>}}
</div></div>}}
{{!}}} {{#if:{{{cat1|{{#var:cat1}}}}}|{{LSLC|{{{cat1|{{#var:cat1}}}}}}}}} {{#if:{{{cat2|{{#var:cat2}}}}}|{{LSLC|{{{cat2|{{#var:cat2}}}}}}}}} {{#if:{{{cat3|{{#var:cat3}}}}}|{{LSLC|{{{cat3|{{#var:cat3}}}}}}}}} {{#if:{{{cat4|{{#var:cat4}}}}}|{{LSLC|{{{cat4|{{#var:cat4}}}}}}}}} {{#if:{{{cat5|{{#var:cat5}}}}}|{{LSLC|{{{cat5|{{#var:cat5}}}}}}}}} {{#if:{{{cat6|{{#var:cat6}}}}}|{{LSLC|{{{cat6|{{#var:cat6}}}}}}}}}
{{!}}} {{#if:{{{cat1|{{#var:cat1}}}}}|{{LSLC|{{{cat1|{{#var:cat1}}}}}}}}} {{#if:{{{cat2|{{#var:cat2}}}}}|{{LSLC|{{{cat2|{{#var:cat2}}}}}}}}} {{#if:{{{cat3|{{#var:cat3}}}}}|{{LSLC|{{{cat3|{{#var:cat3}}}}}}}}} {{#if:{{{cat4|{{#var:cat4}}}}}|{{LSLC|{{{cat4|{{#var:cat4}}}}}}}}} {{#if:{{{cat5|{{#var:cat5}}}}}|{{LSLC|{{{cat5|{{#var:cat5}}}}}}}}} {{#if:{{{cat6|{{#var:cat6}}}}}|{{LSLC|{{{cat6|{{#var:cat6}}}}}}}}}

Revision as of 16:07, 5 June 2007

See Template:LSL Constant/docs for documentation.


{{LSL Constant
|name
|type
|value
|desc
|examples
|events
|functions
|location
|cat1
|cat2
|cat3
|cat4
|cat5
|cat6
}}

Example

[[{{var:type}}]] [[{{var:name}}]] = {{var:value}};

The {{var:type}} constant {{var:name}} has the value {{var:value}}

{{var:desc}}

{{var:pa_front}} [[{{var:name}}]]{{var:pa_mid}}{{var:pa_end}}

Functions and Events

Constants

{{var:constants}}

Functions

{{var:functions}}

Events

{{var:events}}

Examples

{{var:examples}}

Source Location

{{var:location}}