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

From Second Life Wiki
Jump to navigation Jump to search
 
(30 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:also_tests|{{#ifexist:{{PAGENAME}}/test|*{{LSLG|{{#var:name}}/test|{{#var:name}} conformance script}}
{{{{#ifexpr:{{#var:const_called}} = 1|:{{{1}}}|!}}|}}
{{#var:also_tests}}}}}}{{#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">
== Specification ==
<div style="padding: 0.5em">
{{#var:spec}}
</div></div>
}}
|-
|{{ #if: {{#var:constants_nb}} | {{#var:constants_nb}}| }}{{ #if: {{#var:constants}} |  
<div id="box">
== Constants ==
{{#var:constants}}
</div>
}}
|-
|<div id="box">
== Caveats ==
<div style="padding: 0.5em">
{{#var:caveats}}
</div></div>
|-
|{{ #if: {{#if:{{#var:deprecated}}||t}}{{#var:examples}} |
<div id="box">
== Examples ==
<div style="padding: 0.5em">
{{ #if: {{#var:examples}} | {{#var:examples}} | }}
</div>
</div>
}}
|-
|{{ #if: {{#var:helpers}} |
<div id="box">
== Useful Snippets ==
<div style="padding: 0.5em">
{{#var:helpers}}
</div>
</div>
}}
|-
|{{ #if: {{#if:{{#var:deprecated}}||t}}{{#var:notes}} |
<div id="box">
== 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">
== 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">
== Source Location ==
<div style="padding: 0.5em">
{{#var:location}}
</div></div>
}}
|}
{{#var:footer}}</includeonly>

Latest revision as of 14:38, 17 December 2010