Difference between revisions of "Template:LSL Function"

From Second Life Wiki
Jump to navigation Jump to search
(add multi lang)
Line 1: Line 1:
{{Multi-lang}}{{LSL Header}} __NOTOC__ <noinclude>
{{Multi-lang}}{{LSL Header}} __NOTOC__ <noinclude>
See [[{{FULLPAGENAME}}/docs]] for documentation.
See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation.
</noinclude><includeonly>{{#if:{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{{sort|}}}}}}}{{{{#if:{{#var:sort}}|!|LSL_Sort}}|}}}}<div id="sort" style="display:none">{{DEFAULTSORT:{{#var:sort}}}}{{#var:sort}}</div>{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{func}}}}}}}|<div id="RealTitleBanner" style="display:none"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{func}}}</span></div>}}}}{{#if:
</noinclude><includeonly>{{#if:{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{{sort|}}}}}}}{{{{#if:{{#var:sort}}|!|LSL_Sort}}|}}}}<div id="sort" style="display:none">{{DEFAULTSORT:{{#var:sort}}}}{{#var:sort}}</div>{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{func}}}}}}}|<div id="RealTitleBanner" style="display:none"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{func}}}</span></div>}}}}{{#if:
{{#vardefine:func_id|{{{func_id|}}}}}
{{#vardefine:func_id|{{{func_id|}}}}}
Line 107: Line 107:
{{#var:header_footnote}}}}
{{#var:header_footnote}}}}
<div style="clear:right;"></div>
<div style="clear:right;"></div>
</div></div>{{#if:{{#var:spec}}|<div id="box">
</div></div>{{#ifexist:{{#var:langbase}}/Newbie Notes{{#var:lang}}|<div id="box">
<h2>Newbie Notes</h2>
<div style="padding: 0.5em;">
{{{{#var:langbase}}/Newbie Notes{{#var:lang}}}}
</div></div>}}{{#if:{{#var:spec}}|<div id="box">
<h2>Specification</h2>
<h2>Specification</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em; max-height:5em;">
{{#var:spec}}
{{#var:spec}}
</div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}{{{constants|}}}|
</div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}{{{constants|}}}|
Line 119: Line 123:
</div>}}}}{{#if:{{#var:caveats}}|<div id="box">
</div>}}}}{{#if:{{#var:caveats}}|<div id="box">
<h2>Caveats</h2>
<h2>Caveats</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em;">
{{#var:caveats}}
{{#var:caveats}}
</div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}|<div id="box">
</div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}|<div id="box">
<h2>Examples</h2>
<h2>Examples</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em;">
{{#var:examples}}
{{#var:examples}}
</div></div>}}{{#if:{{#var:helpers}}|<div id="box">
</div></div>}}{{#if:{{#var:helpers}}|<div id="box">
<h2>Useful Snippets</h2>
<h2>Useful Snippets</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em;">
{{#var:helpers}}
{{#var:helpers}}
</div></div>}}{{#if:{{#var:notes}}|<div id="box">
</div></div>}}{{#if:{{#var:notes}}|<div id="box">
<h2>Notes</h2>
<h2>Notes</h2>
<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_tests}}{{#var:also_header}}{{#var:also_library}}|<div id="box">
</div></div>}}{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}{{#var:also_library}}|<div id="box">
<h2>See Also</h2>
<h2>See Also</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em;">
{{#if:{{#var:also_header}}|
{{#if:{{#var:also_header}}|
{{#var:also_header}}}}{{#if:{{#var:also_events}}|
{{#var:also_header}}}}{{#if:{{#var:also_events}}|
Line 161: Line 165:
</div></div>}}{{#if:{{#var:location}}|<div id="box">
</div></div>}}{{#if:{{#var:location}}|<div id="box">
<h2>Source Location</h2>
<h2>Source Location</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em;">
{{#var:location}}
{{#var:location}}
</div></div>}}{{#if:{{{history|}}}{{{bugs|}}}|<div id="box">
</div></div>}}{{#if:{{{history|}}}{{{bugs|}}}|<div id="box">
<h2>History</h2>
<h2>History</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em;">
{{#if:{{{bugs|}}}|<h3>Bugs</h3>
{{#if:{{{bugs|}}}|<h3>Bugs</h3>
{{{!}}
{{{!}}
Line 173: Line 177:
</div></div>}}{{#if:{{{comments|}}}|<div id="box">
</div></div>}}{{#if:{{{comments|}}}|<div id="box">
<h2>Comments</h2>
<h2>Comments</h2>
<div style="padding: 0.5em">
<div style="padding: 0.5em;">
{{{comments|}}}
{{{comments|}}}
</div></div>}}
</div></div>}}
{{#var:footer}} {{#if:{{#var:self}}|| {{#switch:{{#var:mode}}|request|user=| [[Category:LSL Functions{{#var:lang}}]] {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}}}} {{#if:{{{cat1|}}}|[[Category:LSL {{{cat1}}}]]}} {{#if:{{{cat2|}}}|[[Category:LSL {{{cat2}}}]]}} {{#if:{{{cat3|}}}|[[Category:LSL {{{cat3}}}]]}} {{#if:{{{cat4|}}}|[[Category:LSL {{{cat4}}}]]}} {{#if:{{{cat5|}}}|[[Category:LSL {{{cat5}}}]]}} {{#if:{{{cat6|}}}|[[Category:LSL {{{cat6}}}]]}} {{#if:{{{cat7|}}}|[[Category:LSL {{{cat7}}}]]}} {{#if:{{{cat8|}}}|[[Category:LSL {{{cat8}}}]]}} }}</includeonly>
{{#var:footer}} {{#if:{{#var:self}}|| {{#switch:{{#var:mode}}|request|user=| [[Category:LSL Functions{{#var:lang}}]] {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}}}} {{#if:{{{cat1|}}}|[[Category:LSL {{{cat1}}}]]}} {{#if:{{{cat2|}}}|[[Category:LSL {{{cat2}}}]]}} {{#if:{{{cat3|}}}|[[Category:LSL {{{cat3}}}]]}} {{#if:{{{cat4|}}}|[[Category:LSL {{{cat4}}}]]}} {{#if:{{{cat5|}}}|[[Category:LSL {{{cat5}}}]]}} {{#if:{{{cat6|}}}|[[Category:LSL {{{cat6}}}]]}} {{#if:{{{cat7|}}}|[[Category:LSL {{{cat7}}}]]}} {{#if:{{{cat8|}}}|[[Category:LSL {{{cat8}}}]]}} }}</includeonly>

Revision as of 05:39, 14 March 2008