Difference between revisions of "Template:LSL Const"

From Second Life Wiki
Jump to navigation Jump to search
(removing code for a cool feature but would hang the wiki if finished -_-)
m (Extra carriage return in the template)
Line 34: Line 34:
{{#vardefine:comment|{{{c|}}}}}
{{#vardefine:comment|{{{c|}}}}}
{{#vardefine:type|{{{2|}}}}}
{{#vardefine:type|{{{2|}}}}}
}}{{HoverLink|1={{{1}}}|2={{{2|}}} {{{1}}}{{#if:{{#var:hvalue}}| = {{#var:hvalue}}}}{{#if:{{#var:cvalue}}| = {{#var:cvalue}}}};{{#if:{{{c|}}}|//{{{c|}}}}}|3={{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}}}
}}{{HoverLink|1={{{1}}}|2={{{2|}}} {{{1}}}{{#if:{{#var:hvalue}}|&#32;&#61; {{#var:hvalue}}}}{{#if:{{#var:cvalue}}|&#32;&#61; {{#var:cvalue}}}};{{#if:{{{c|}}}|&#47;&#47;{{{c|}}}}}|3={{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}}}</includeonly>
</includeonly>

Revision as of 18:45, 20 July 2007

See Template:LSL Const/docs for documentation.

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