Difference between revisions of "User:Strife Onizuka/Constant"

From Second Life Wiki
Jump to navigation Jump to search
m
m (modes not fully supported yet)
Line 11: Line 11:
{{#if:{{{name|}}}|{{#vardefine:Name|{{{name|}}}}}}}
{{#if:{{{name|}}}|{{#vardefine:Name|{{{name|}}}}}}}
{{#if:{{{value|}}}|{{#vardefine:Value|{{{value|}}}}}}}
{{#if:{{{value|}}}|{{#vardefine:Value|{{{value|}}}}}}}
{{#vardefine:comment|{{{comment|}}}{{#var:Comment}}}}
{{#vardefine:Comment|{{{comment|}}}{{#var:Comment}}}}


{{#vardefine:const_{{#var:Name}}|{{LSL Const|{{#var:Name}}|{{#var:Type}}|{{#var:Value}}|comment={{#var:Comment}}}}}}
{{#vardefine:const_{{#var:Name}}|{{LSL Const|{{#var:Name}}|{{#var:Type}}|{{#var:Value}}|comment={{#var:Comment}}}}}}
Line 20: Line 20:


{{{inject-1|}}}
{{{inject-1|}}}
{{#if:{{{mode|}}}|{{#vardefine:mode|{{{mode|}}} }} }}


{{{{#switch:{{#var:mode}}
{{{{#switch:{{#var:mode}}
Line 28: Line 30:
|user=!{{#vardefine:moded|u{{#var:moded}}}}
|user=!{{#vardefine:moded|u{{#var:moded}}}}
|!}}|}}
|!}}|}}
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}}
{{#if:{{{deprecated|}}}|{{LSL_Generic/deprecated{{#var:lang}}|{{{deprecated|}}} }}


{{{inject-2|}}}
{{{inject-2|}}}
Line 116: Line 118:
{{#vardefine:issues|{{#var:issues}}
{{#vardefine:issues|{{#var:issues}}
{{{issues|}}}}}
{{{issues|}}}}}
{{#vardefine:bugs|{{#var:bugs}}
{{{bugs|}}}}}


{{#vardefine:caveats|{{#if:{{#var:caveats}}|
{{#vardefine:caveats|{{#if:{{#var:caveats}}|
Line 157: Line 162:
}}
}}


{{#vardefine:bugs|{{#var:bugs}}
{{{bugs|}}}}}


{{#vardefine:caveats|{{#if:{{#var:caveats}}|
{{#var:caveats}}}}{{#if:{{{caveats|}}}|
{{{caveats|}}}}}}}
{{#if:{{#pos:{{#var:moded}}|u}}||{{#vardefine:caveats|{{LSL_Generic/Caveats}}}}}}


{{#if:{{#var:examples}}{{{examples|}}}|
{{#if:{{#var:examples}}{{{examples|}}}|

Revision as of 10:11, 18 November 2010