Difference between revisions of "Template:LSL Const"

From Second Life Wiki
Jump to navigation Jump to search
m
m (Undo revision 49976 by Asuka Neely (Talk))
Line 37: Line 37:
{{#vardefine:comment|{{{c|}}}}}
{{#vardefine:comment|{{{c|}}}}}
{{#vardefine:type|{{{2|}}}}}
{{#vardefine:type|{{{2|}}}}}
{{#vardefine:cname|{{#if:{{{5|}}}|{{{5|{{{2}}}}}}|{{{2}}}}}}}
{{#vardefine:cname|{{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}}}
}}{{{{#if:{{{nolink|}}}|HoverText|HoverLink}}|1={{{1}}}|2={{{2|}}} {{#var:cname}}{{#if:{{#var:hvalue}}|&#32;&#61; {{#var:hvalue}}}}{{#if:{{#var:cvalue}}|&#32;&#61; {{#var:cvalue}}}};{{#if:{{{c|}}}|&#47;&#47;{{{c|}}}}}|3={{#var:cname}}}}</includeonly>
}}{{{{#if:{{{nolink|}}}|HoverText|HoverLink}}|1={{{1}}}|2={{{2|}}} {{#var:cname}}{{#if:{{#var:hvalue}}|&#32;&#61; {{#var:hvalue}}}}{{#if:{{#var:cvalue}}|&#32;&#61; {{#var:cvalue}}}};{{#if:{{{c|}}}|&#47;&#47;{{{c|}}}}}|3={{#var:cname}}}}</includeonly>

Revision as of 02:34, 19 January 2008

See Template:LSL Const/docs for documentation.

Example Raw Text
name
{{LSL Const|name|type|value|hex=hex|c=comment}}
name
{{LSL Const|name|type|value|hex=hex|c=comment|nolink=*}}
Variables Values
value hex
cvalue value
hvalue hex
type type
comment comment