Difference between revisions of "Template:LSL Const"
Jump to navigation
Jump to search
m |
(small change) |
||
Line 4: | Line 4: | ||
{{#var{{#var:define}}:cvalue|}} | {{#var{{#var:define}}:cvalue|}} | ||
{{#var{{#var:define}}:hvalue|}} | {{#var{{#var:define}}:hvalue|}} | ||
{{#var{{#var:define}}:value|}} | |||
{{{{#if:{{#var:define}}|:{{{1}}}|!}}|}} | {{{{#if:{{#var:define}}|:{{{1}}}|!}}|}} | ||
{{#vardefine:define|{{#ifexpr:{{#var:const_called}} = 1|define|}}}} | {{#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|}}}}}}} | ||
{{#var{{#var:define}}:value|{{#if:{{#var:value}}|{{#var:value}}|{{#var:cvalue}}}}}} | |||
{{#var{{#var:define}}:type|{{#if:{{#var:type}}|{{#var:type}}|{{{2|}}}}}}} | {{#var{{#var:define}}:type|{{#if:{{#var:type}}|{{#var:type}}|{{{2|}}}}}}} | ||
{{#vardefine:const_called|{{#expr:{{#var:const_called}} - 1}}}} | {{#vardefine:const_called|{{#expr:{{#var:const_called}} - 1}}}} | ||
}}{{HoverLink|1={{{1}}}|2={{#var:type}} {{{1}}}{{#if:{{#var:hvalue}}| {{=}} {{#var:hvalue}}}}{{#if:{{#var:cvalue}}| {{=}} {{#var:cvalue}}}};{{#if:{{#var:comment}}|//{{#var:comment}}}}|3={{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}}}</includeonly><noinclude> | }}{{HoverLink|1={{{1}}}|2={{#var:type}} {{{1}}}{{#if:{{#var:hvalue}}| {{=}} {{#var:hvalue}}}}{{#if:{{#var:cvalue}}| {{=}} {{#var:cvalue}}}};{{#if:{{#var:comment}}|//{{#var:comment}}}}|3={{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}}}</includeonly><noinclude> | ||
{{{{FULLPAGENAMEE}}|DEBUG_CHANNEL|some_type|some_value}}</noinclude> | {{{{FULLPAGENAMEE}}|DEBUG_CHANNEL|some_type|some_value}}</noinclude> |