Difference between revisions of "Template:LSL Function"

From Second Life Wiki
Jump to navigation Jump to search
m
m (editable section test + case fix)
Line 194: Line 194:
}}</div>
}}</div>
</div>{{#ifexist:{{#var:newbie}}|<div id="box">
</div>{{#ifexist:{{#var:newbie}}|<div id="box">
<h2>[[{{#var:newbie}}|Newbie Notes]]</h2>
==[[{{#var:newbie}}|Newbie notes]]==
<div style="padding: 0.5em; max-height:10em; overflow-x:visible; overflow-y:auto;">
<div style="padding: 0.5em; max-height:10em; overflow-x:visible; overflow-y:auto;">
{{:{{#var:newbie}}}}
{{:{{#var:newbie}}}}
Line 200: Line 200:
To continue reading see: [[{{#var:newbie}}|Newbie Notes]]
To continue reading see: [[{{#var:newbie}}|Newbie Notes]]
</div></div>}}{{#if:{{#var:spec}}|<div id="box">
</div></div>}}{{#if:{{#var:spec}}|<div id="box">
<h2>Specification</h2>
==Specification==
<div style="padding: 0.5em;">
<div style="padding: 0.5em;">
{{#var:spec}}
{{#var:spec}}
Line 207: Line 207:
{{#if:{{#var:constants}}|  
{{#if:{{#var:constants}}|  
<div id="box">
<div id="box">
<h2>Constants</h2>
==Constants==
{{#var:constants}}
{{#var:constants}}
</div>}}}}<div id="box">
</div>}}}}<div id="box">
<h2>Caveats</h2>
==Caveats==
<div style="padding: 0.5em;">
<div style="padding: 0.5em;">
{{#var:caveats}}
{{#var:caveats}}
Line 218: Line 218:
{{!}}}|{{JiraSearch/1|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Bugs}}}}
{{!}}}|{{JiraSearch/1|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Bugs}}}}
</div></div>{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}{{#simple-examples}}{{#complex-examples}}|<div id="box">
</div></div>{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}{{#simple-examples}}{{#complex-examples}}|<div id="box">
<h2>Examples</h2>
==Examples==
<div style="padding: 0.5em;">
<div style="padding: 0.5em;">
{{#var:examples}}{{#if:{{#var:simple-examples}}|
{{#var:examples}}{{#if:{{#var:simple-examples}}|
<div style="float:left; min-width:200px; width:45%;">
<div style="float:left; min-width:200px; width:45%;">
===Simple Examples===
===Simple examples===
{{{!}}
{{{!}}
{{#var:simple-examples}}
{{#var:simple-examples}}
Line 228: Line 228:
</div>}}{{#if:{{#var:complex-examples}}|
</div>}}{{#if:{{#var:complex-examples}}|
<div style="float:left;">
<div style="float:left;">
===Complex Examples===
===Complex examples===
{{{!}}
{{{!}}
{{#var:complex-examples}}
{{#var:complex-examples}}
Line 238: Line 238:
{{#var:helpers}}
{{#var:helpers}}
</div></div>}}{{#if:{{#var:notes}}|<div id="box">
</div></div>}}{{#if:{{#var:notes}}|<div id="box">
<h2>Notes</h2>
==Notes==
<div style="padding: 0.5em;">
<div style="padding: 0.5em;">
{{#var:notes}}
{{#var:notes}}
</div></div>}}{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_header}}{{#var:also_library}}{{#var:also_constants}}|<div id="box">
</div></div>}}{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_header}}{{#var:also_library}}{{#var:also_constants}}|<div id="box">
<h2>See Also</h2>
==See also==
<div style="padding: 0.5em;">
<div style="padding: 0.5em;">
{{#if:{{#var:also_header}}|<div>
{{#if:{{#var:also_header}}|<div>
{{#var:also_header}}
{{#var:also_header}}
</div>}}{{#if:{{#var:also_constants}}|
</div>}}{{#if:{{#var:also_constants}}|
<h3>Constants</h3>
===Constants===
{{{!}}
{{{!}}
{{#var:also_constants}}
{{#var:also_constants}}
{{!}}} }}{{#if:{{#var:also_events}}|
{{!}}} }}{{#if:{{#var:also_events}}|
<h3>Events</h3>
===Events===
{{{!}}
{{{!}}
{{#var:also_events}}
{{#var:also_events}}
{{!}}} }}{{#if:{{#var:also_functions}}|
{{!}}} }}{{#if:{{#var:also_functions}}|
<h3>Functions</h3>
===Functions===
{{{!}}
{{{!}}
{{#var:also_functions}}
{{#var:also_functions}}
{{!}}} }}{{#if:{{#var:also_articles}}|
{{!}}} }}{{#if:{{#var:also_articles}}|
<h3>Articles</h3>
===Articles===
{{{!}}
{{{!}}
{{#var:also_articles}}
{{#var:also_articles}}
{{!}}} }}{{#if:{{#var:also_library}}|
{{!}}} }}{{#if:{{#var:also_library}}|
<h3>Libraries and Examples</h3>
===Libraries and examples===
{{{!}}
{{{!}}
{{#var:also_library}}
{{#var:also_library}}
Line 272: Line 272:
</div></div>}}
</div></div>}}
<div id="box">
<div id="box">
== Deep Notes ==
==Deep notes==
<div style="padding: 0.5em"><div>
<div style="padding: 0.5em"><div>
{{#var:deepnotes}}
{{#var:deepnotes}}
</div>{{#if:{{#var:mono}}|
</div>{{#if:{{#var:mono}}|
<h4> Mono VM Notes </h4><div>
<h4>Mono VM Notes</h4><div>
{{#var:mono}}
{{#var:mono}}
</div>}}{{#if:{{#var:lso}}|
</div>}}{{#if:{{#var:lso}}|
<h4> LSO VM Notes </h4><div>
<h4>LSO VM notes</h4><div>
{{#var:lso}}
{{#var:lso}}
</div>}}{{#if:{{#var:history}}|
</div>}}{{#if:{{#var:history}}|
<h4> History </h4><div>
<h4>History</h4><div>
{{#var:history}}
{{#var:history}}
</div>}}{{#if:{{#var:issues}}|
</div>}}{{#if:{{#var:issues}}|
<h4 style="display:inline; line-height:2em;">Issues </h4>~ {{JiraSearch/2|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Issues}}
<h4 style="display:inline; line-height:2em;">Issues</h4>~ {{JiraSearch/2|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Issues}}
{{{!}} style="font-size:90%; line-height:1.1em;"
{{{!}} style="font-size:90%; line-height:1.1em;"
{{#var:issues}}
{{#var:issues}}
Line 292: Line 292:
{{JiraSearch/2|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Issues}}
{{JiraSearch/2|1={{{keywords|}}} {{{func}}}|2=Search JIRA for related Issues}}
}}{{#if:{{#var:also_tests}}|
}}{{#if:{{#var:also_tests}}|
<h3>Tests</h3>
===Tests===
{{{!}}
{{{!}}
{{#var:also_tests}}
{{#var:also_tests}}
{{!}}}
{{!}}}
}}{{#if:{{#var:location}}|
}}{{#if:{{#var:location}}|
<h4> Source </h4><div>
<h4>Source</h4><div>
{{#var:location}}
{{#var:location}}
</div>}}{{#if:{{#var:messaging}}|
</div>}}{{#if:{{#var:messaging}}|
<h4> Messaging </h4><div>
<h4>Messaging</h4><div>
{{#var:messaging}}
{{#var:messaging}}
</div>}}{{#if:{{#var:footnotes}}|
</div>}}{{#if:{{#var:footnotes}}|
<h4 style="margin-bottom:0;"> Footnotes </h4>
<h4 style="margin-bottom:0;">Footnotes</h4>
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}}
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}}
}}
}}
</div></div>{{#if:{{{comments|}}}|<div id="box">
</div></div>{{#if:{{{comments|}}}|<div id="box">
<h2>Comments</h2>
==Comments==
<div style="padding: 0.5em;">
<div style="padding: 0.5em;">
{{{comments|}}}
{{{comments|}}}

Revision as of 10:05, 7 January 2010