Difference between revisions of "Template:LSL Const"
Jump to navigation
Jump to search
m |
|||
Line 5: | Line 5: | ||
{{#var{{#var:define}}:hvalue|}} | {{#var{{#var:define}}:hvalue|}} | ||
{{{{#if:{{#var:define}}|:{{{1}}}|!}}|}} | {{{{#if:{{#var:define}}|:{{{1}}}|!}}|}} | ||
{{#vardefine:define|{{#ifexpr:{{#var:const_called}} = 1|define|}}}} | |||
{{#var{{#var:define}}:cvalue|{{#if:{{#var:cvalue}}|{{#var:cvalue}}|{{#if:{{#var:value}}|{{#var:value}}|{{#if:{{{hex|}}}|{{{{#if:{{{hex|}}}|LSL Hex/Parse|!}}|{{{hex|}}}}}|{{{3|}}}}}}}}}}} | {{#var{{#var:define}}:cvalue|{{#if:{{#var:cvalue}}|{{#var:cvalue}}|{{#if:{{#var:value}}|{{#var:value}}|{{#if:{{{hex|}}}|{{{{#if:{{{hex|}}}|LSL Hex/Parse|!}}|{{{hex|}}}}}|{{{3|}}}}}}}}}}} | ||
{{#var{{#var:define}}:hvalue|{{#if:{{#var:hvalue}}|{{#var:hvalue}}|{{{hex|}}}}}}} | {{#var{{#var:define}}:hvalue|{{#if:{{#var:hvalue}}|{{#var:hvalue}}|{{{hex|}}}}}}} |