Difference between revisions of "User:Strife Onizuka/Sandbox/Switch/Template:Test2"
< User:Strife Onizuka | Sandbox | Switch
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#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 7: | Line 7: | ||
{{#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}}}} | ||
}}[[{{{1}}}|<span title="{{#var:type}} {{{1}}}{{#if:{{#var:hvalue}}| {{=}} {{#var:hvalue}}}}{{#if:{{#var:cvalue}}| {{=}} {{#var:cvalue}}}};{{#if:{{#var:comment}}|//{{#var:comment}}}}">{{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}</span>]] | {{#var:|}}[[{{{1}}}|<span title="{{#var:type}} {{{1}}}{{#if:{{#var:hvalue}}| {{=}} {{#var:hvalue}}}}{{#if:{{#var:cvalue}}| {{=}} {{#var:cvalue}}}};{{#if:{{#var:comment}}|//{{#var:comment}}}}">{{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}</span>]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{{{FULLPAGENAMEE}}|DEBUG_CHANNEL}}</noinclude> | {{{{FULLPAGENAMEE}}|DEBUG_CHANNEL}}</noinclude> |