Difference between revisions of "User:Strife Onizuka/Constant"
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: | {{#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|}}} }} | |||
{{{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: | ||
}} | }} | ||
{{#if:{{#var:examples}}{{{examples|}}}| | {{#if:{{#var:examples}}{{{examples|}}}| |
Revision as of 10:11, 18 November 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
See User:Strife Onizuka/Constant/docs for documentation.
This is a PrimitiveParams specific template.
Description
Constant: [[|]] [[|]] = ;The constant has the value
Caveats