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

From Second Life Wiki
Jump to navigation Jump to search
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__ <noinclude>
<includeonly>{{#if:
 
{{#vardefine:const_called|{{#expr:{{#var:const_called}} + 1}}}}
</noinclude><includeonly>{{#vardefine:t|{{#pos:{{lc:{{PAGENAMEE}}}}|{{lc:{{#var:name}}}}}}}}{{#vardefine:t|{{#if:{{#var:t}}|{{#var:t}}|-1}}}}{{#ifexpr:not {{#var:t}} and {{#ifeq:{{#sub:{{lcfirst:{{#var:name}}}}|0|1}}|{{#sub:{{#var:name}}|0|1}}|0|1}}|{{lowercase}}}} {{#if:{{#var:P_Rendered}}||
{{{{#ifexpr:{{#var:const_called}} = 1|:{{{1}}}|!}}|}}
{{#vardefine:P_Rendered|t}} {{#if:{{#var:self}}|| __NOEDITSECTION__ }}  <!-- {{lowercase|{{PAGENAME}}}} -->
{{#vardefine:define|{{#ifexpr:{{#var:const_called}} = 1|define|}}}}
{{{!}} width="100%"
{{#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|}}}}}}}
{{!}} valign="top" {{!}} <div id="box">
{{#var{{#var:define}}:type|{{#if:{{#var:type}}|{{#var:type}}|{{{2|}}}}}}}
== {{#var:header_title}} ==
{{#vardefine:const_called|{{#expr:{{#var:const_called}} - 1}}}}
<div style="padding: 0.5em">{{#if:{{#var:header_floater}}|<div id="box" style="float:right;">{{#var:header_floater}}</div>}}
}}{{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>
{{#var:header_text}}
{{{{FULLPAGENAMEE}}|DEBUG_CHANNEL|some_type|some_value}}</noinclude>
{{#if:{{#var:header_floater}}|<div style="clear:right;" ></div>}}
</div></div>
{{!}}-
{{!}}{{ #if: {{#var:spec}} |  
<div id="box">
== {{#if:{{#var:T_Specification}}|{{#var:T_Specification}}|Specification}} ==
<div style="padding: 0.5em">
{{#var:spec}}
</div></div>
}}
{{!}}-
{{!}}{{ #if: {{#var:constants_nb}} | {{#var:constants_nb}}| }}{{ #if: {{#var:constants}} |  
<div id="box">
== {{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constants}} ==
{{#var:constants}}
</div>
}}
{{!}}-
{{!}}<div id="box">
== {{#if:{{#var:T_Caveats}}|{{#var:T_Caveats}}|Caveats}} ==
<div style="padding: 0.5em">
{{#var:caveats}}
</div></div>
{{!}}-
{{!}}{{ #if: {{#if:{{#var:deprecated}}||t}}{{#var:examples}} |
<div id="box">
== {{#if:{{#var:T_Examples}}|{{#var:T_Examples}}|Examples}} ==
<div style="padding: 0.5em">
{{ #if: {{#var:examples}} | {{#var:examples}} | }}
</div>
</div>
}}
{{!}}-
{{!}}{{ #if: {{#var:helpers}} |  
<div id="box">
== {{#if:{{#var:T_Useful_Snippets}}|{{#var:T_Useful_Snippets}}|Useful Snippets}} ==
<div style="padding: 0.5em">
{{#var:helpers}}
</div>
</div>
}}
{{!}}-
{{!}}{{ #if: {{#if:{{#var:deprecated}}||t}}{{#var:notes}} |
<div id="box">
== {{#if:{{#var:T_Notes}}|{{#var:T_Notes}}|Notes}} ==
<div style="padding: 0.5em">
{{ #if: {{#var:notes}} | {{#var:notes}} }}
</div>
</div>
}}
{{!}}-
{{!}}{{ #if: {{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}|
<div id="box">
== {{#if:{{#var:T_See Also}}|{{#var:T_See Also}}|See Also}} ==
<div style="padding: 0.5em">
{{ #if: {{#var:also_header}} | {{#var:also_header}}<br /> |}}{{ #if: {{#var:also_events}} |
<ul><li> Events </li></ul>
<dl><dd>
{{#var:also_events}}</dl> | }}{{ #if: {{#var:also_functions}} |
<ul><li> Functions </li></ul>
<dl><dd>
{{#var:also_functions}}</dl> | }}{{ #if: {{#var:also_tests}} |
<ul><li> Tests </li></ul>
<dl><dd>
{{#var:also_tests}}</dl> | }}{{ #if: {{#var:also_articles}} |
<ul><li> Articles </li></ul>
<dl><dd>
{{#var:also_articles}}</dl> | }} {{#var:also_footer}}
</div></div>
}}
{{!}}-
{{!}}{{#if:{{#var:location}}|
<div id="box">
== {{#if:{{#var:T_Source_Location}}|{{#var:T_Source_Location}}|Source Location}} ==
<div style="padding: 0.5em">
{{#var:location}}
</div></div>
}}
{{!}}}
{{#var:footer}} }}</includeonly>

Latest revision as of 14:38, 17 December 2010