Difference between revisions of "User:Strife Onizuka/Sandbox/Switch/Template:Test2"
< User:Strife Onizuka | Sandbox | Switch
Jump to navigation
Jump to search
m (moved User:Strife Onizuka/Sandbox/Template:Test2 to User:Strife Onizuka/Sandbox/Switch/Template:Test2) |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#if: | ||
{{#vardefine:const_called|{{expr:{{#var:const_called}} + 1}}}} | {{#vardefine:const_called|{{#expr:{{#var:const_called}} + 1}}}} | ||
{{{{#ifexpr:{{#var:const_called}} = 1|:{{{1}}}|!}}|}} | {{{{#ifexpr:{{#var:const_called}} = 1|:{{{1}}}|!}}|}} | ||
{{#vardefine:define|{{#ifexpr:{{#var:const_called}} = 1|define|}}}} | {{#vardefine:define|{{#ifexpr:{{#var:const_called}} = 1|define|}}}} | ||
Line 6: | Line 6: | ||
{{#var{{#var:define}}:hvalue|{{#if:{{#var:hvalue}}|{{#var:hvalue}}|{{{hex|}}}}}}} | {{#var{{#var:define}}:hvalue|{{#if:{{#var:hvalue}}|{{#var:hvalue}}|{{{hex|}}}}}}} | ||
{{#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> | ||
</includeonly><noinclude> | {{{{FULLPAGENAMEE}}|DEBUG_CHANNEL|some_type|some_value}}</noinclude> | ||
{{{{FULLPAGENAMEE}}|DEBUG_CHANNEL}}</noinclude> |