Difference between revisions of "User:Strife Onizuka/Sandbox/Switch/Template:Test2"

From Second Life Wiki
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#var:~
<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}}}}
}}[[{{{1}}}|<span title="{{#var:type}} {{{1}}}{{#if:{{#var:hvalue}}|&#32;{{=}} {{#var:hvalue}}}}{{#if:{{#var:cvalue}}|&#32;{{=}} {{#var:cvalue}}}};{{#if:{{#var:comment}}|&#47;&#47;{{#var:comment}}}}">{{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}</span>]]
}}{{HoverLink|1={{{1}}}|2={{#var:type}} {{{1}}}{{#if:{{#var:hvalue}}|&#32;{{=}} {{#var:hvalue}}}}{{#if:{{#var:cvalue}}|&#32;{{=}} {{#var:cvalue}}}};{{#if:{{#var:comment}}|&#47;&#47;{{#var:comment}}}}|3={{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}}}</includeonly><noinclude>
</includeonly><noinclude>
{{{{FULLPAGENAMEE}}|DEBUG_CHANNEL|some_type|some_value}}</noinclude>
{{{{FULLPAGENAMEE}}|DEBUG_CHANNEL}}</noinclude>

Latest revision as of 14:38, 17 December 2010