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

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<includeonly>
{{#var:|{{#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 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}}|&#32;{{=}} {{#var:hvalue}}}}{{#if:{{#var:cvalue}}|&#32;{{=}} {{#var:cvalue}}}};{{#if:{{#var:comment}}|&#47;&#47;{{#var:comment}}}}">{{#if:{{{4|}}}|{{{4|{{{1}}}}}}|{{{1}}}}}</span>]]
{{#var:|}}[[{{{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>]]
</includeonly><noinclude>
</includeonly><noinclude>
{{{{FULLPAGENAMEE}}|DEBUG_CHANNEL}}</noinclude>
{{{{FULLPAGENAMEE}}|DEBUG_CHANNEL}}</noinclude>

Revision as of 20:12, 5 June 2007