Difference between revisions of "Template:LSL Function/it"

From Second Life Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Multi-lang}}{{LSL Header/it}} __NOTOC__ <noinclude>
+
{{Multi-lang|category=LSL|2=}}{{LSL Header{{#var:lang}}}} __NOTOC__ <noinclude>
Vedi [[{{FULLPAGENAME}}/docs]] per la documentazione.
+
Si veda [[{{#var:langbase}}/docs{{#var:lang}}]] per la documentazione.
</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:{{#var:sort}}||{{#if:{{{sort|}}}|{{#vardefine:sort|{{{sort|}}}}}|{{#if:{{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:article_type|function}}
 +
 
 +
{{#vardefine:name|{{{func|}}}}}
 +
{{#if:{{{func_id|}}}|{{#vardefine:func_id|{{{func_id|}}}}}}}
 +
 
 +
{{#vardefine:mode|{{#var:mode}}{{{mode|}}}}}
 +
{{#vardefine:self|{{#var:self}}{{{self|}}}}}
 +
 
 +
{{{inject-1|}}}
 +
 
 +
{{{{#switch:{{#var:mode}}
 +
|god=LSL_Generic/god{{#var:lang}}
 +
|request=LSL_Generic/request{{#var:lang}}
 +
|pre-release=LSL_Generic/pre-release{{#var:lang}}
 +
|rc=LSL_Generic/RC{{#var:lang}}
 +
|preview=LSL_Generic/preview{{#var:lang}}
 +
|user=!{{#vardefine:moded|u{{#var:moded}}}}
 +
|!}}|}}
 +
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}}
 +
 
 +
{{{inject-2|}}}
 +
 
 
{{#vardefine:p_{{{p1_name|}}}_desc|{{#var:p_{{{p1_name|}}}_desc}}{{{p1_desc|}}}}}
 
{{#vardefine:p_{{{p1_name|}}}_desc|{{#var:p_{{{p1_name|}}}_desc}}{{{p1_desc|}}}}}
 
{{#vardefine:p_{{{p1_name|}}}_hover|{{#var:p_{{{p1_name|}}}_hover}}{{{p1_hover|}}}}}
 
{{#vardefine:p_{{{p1_name|}}}_hover|{{#var:p_{{{p1_name|}}}_hover}}{{{p1_hover|}}}}}
Line 27: Line 49:
 
{{#vardefine:p_{{{p12_name|}}}_desc|{{#var:p_{{{p12_name|}}}_desc}}{{{p12_desc|}}}}}
 
{{#vardefine:p_{{{p12_name|}}}_desc|{{#var:p_{{{p12_name|}}}_desc}}{{{p12_desc|}}}}}
 
{{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}}
 
{{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}}
{{#vardefine:return_text|{{#var:return_text}}{{{return_text|}}} }}
+
 
{{#vardefine:spec|{{#if:{{#var:spec}}|{{#var:spec}}<br/>}}{{{spec|}}}}}
+
{{{inject-3|}}}
{{#vardefine:examples|{{#var:examples}}{{{examples|}}}}}
+
 
{{#vardefine:helpers|{{#var:helpers}}{{{helpers|}}}}}
+
{{#if:{{#var:header_desc}}{{{func_desc|}}}|
{{#vardefine:also_header|{{#var:also_header}}{{{also_header|}}}}}
+
{{#vardefine:header_desc|{{#var:header_desc}}{{PBR}}
{{#vardefine:also_tests|{{#var:also_tests}}
+
{{{func_desc|}}}{{PBR}}}}
{{{also_tests|}}}}}
+
}}
 +
 
 +
{{#vardefine:return_text|{{#var:return_text}}{{{return_text|}}}{{{Return_text|}}} }}
 +
 
 +
{{#if:{{#var:header_footnote}}{{{func_footnote|}}}{{{func_footer|}}}|
 +
{{#vardefine:header_footnote|{{#var:header_footnote}}{{PBR}}
 +
{{{func_footnote|}}}{{PBR}}
 +
{{{func_footer|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#if:{{#var:newbie}}||
 +
{{#vardefine:newbie|{{#if:{{{newbie|}}}|{{{newbie|}}}|{{#var:langbase}}/Newbie Notes{{#var:lang}}}}}}
 +
}}
 +
 
 +
{{#if:{{#var:spec}}{{{spec|}}}|
 +
{{#vardefine:spec|{{#var:spec}}{{PBR}}
 +
{{{spec|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#if:{{#var:constants_nb}}{{{constants|}}}|
 +
{{#vardefine:constants_nb|{{#var:constants_nb}}{{PBR}}
 +
{{{constants|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#vardefine:bugs|{{#var:bugs}}
 +
{{{bugs|}}}}}
 +
 
 +
{{#vardefine:caveats|{{#ifexpr:{{{func_sleep|0.0}}}> 0.0|* <span id="caveats-sleep"></span> Questa funzione provoca una pausa di {{{func_sleep|}}} secondo/i nell'esecuzione dello script. {{{func_sleep_note|}}}|{{#if:{{{func_sleep_note|}}}|* <span id="caveats-sleep"></span> {{{func_sleep_note|}}}}}}}{{#if:{{#var:caveats}}|
 +
{{#var:caveats}}}}{{#if:{{{caveats|}}}|
 +
{{{caveats|}}}}}}}
 +
 
 +
{{#if:{{#pos:{{#var:moded}}|u}}||{{#vardefine:caveats|{{LSL_Generic/Caveats}}}}}}
 +
 
 +
{{#if:{{#var:examples}}{{{examples|}}}|
 +
{{#vardefine:examples|{{#var:examples}}{{PBR}}
 +
{{{examples|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#vardefine:simple-examples|{{#var:simple-examples}}
 +
{{{simple-examples|}}}}}
 +
 
 +
{{#vardefine:complex-examples|{{#var:complex-examples}}
 +
{{{complex-examples|}}}}}
 +
 
 +
{{#if:{{#var:helpers}}{{{helpers|}}}|
 +
{{#vardefine:helpers|{{#var:helpers}}{{PBR}}
 +
{{{helpers|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#if:{{#var:also_header}}{{{also_header|}}}|
 +
{{#vardefine:also_header|{{#var:also_header}}{{PBR}}
 +
{{{also_header|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#vardefine:also_constants|{{#var:also_constants}}
 +
{{{also_constants|}}}}}
 +
 
 
{{#vardefine:also_events|{{#var:also_events}}
 
{{#vardefine:also_events|{{#var:also_events}}
 
{{{also_events|}}}}}
 
{{{also_events|}}}}}
 +
 
{{#vardefine:also_functions|{{#var:also_functions}}
 
{{#vardefine:also_functions|{{#var:also_functions}}
 
{{{also_functions|}}}}}
 
{{{also_functions|}}}}}
 +
 
{{#vardefine:also_articles|{{#var:also_articles}}
 
{{#vardefine:also_articles|{{#var:also_articles}}
 
{{{also_articles|}}}}}
 
{{{also_articles|}}}}}
 +
 
{{#vardefine:also_library|{{#var:also_library}}
 
{{#vardefine:also_library|{{#var:also_library}}
 
{{{also_library|}}}}}
 
{{{also_library|}}}}}
{{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}}
+
 
{{#vardefine:notes|{{#var:notes}}{{{notes|}}}}}
+
{{#if:{{#var:also_footer}}{{{also_footer|}}}|
{{#vardefine:mode|{{#var:mode}}{{{mode|}}}}}
+
{{#vardefine:also_footer|{{#var:also_footer}}{{PBR}}
{{#vardefine:self|{{#var:self}}{{{self|}}}}}
+
{{{also_footer|}}}{{PBR}}}}
{{#vardefine:type|funzione}}
+
}}
{{#vardefine:caveats|{{#ifexpr:{{{func_sleep|0.0}}}> 0.0|*Questa funzione comporta un ritardo di {{{func_sleep|}}} secondi.}}{{#if:{{#var:caveats}}|
+
 
{{#var:caveats}}}}
+
{{#if:{{#var:notes}}{{{notes|}}}|
{{{caveats|}}}}}
+
{{#vardefine:notes|{{#var:notes}}{{PBR}}
{{#vardefine:location|{{#var:location}}{{{location|}}}}}
+
{{{notes|}}}{{PBR}}}}
{{#vardefine:header_footnote|{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}<br/>}}{{{func_footnote|}}}{{{func_footer|}}}}}
+
}}
{{#vardefine:header_desc|{{#if:{{#var:header_desc}}|{{#var:header_desc}}<br/>}}{{#var:header_desc}}{{{func_desc|}}}}}
+
 
{{{{#ifeq:{{#var:mode}}|god|LSL_Generic/god/it|!}}|}}
+
{{#if:{{#var:history}}{{{history|}}}|
{{{{#ifeq:{{#var:mode}}|request|LSL_Generic/request/it|!}}|}}
+
{{#vardefine:history|{{#var:history}}{{PBR}}
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated/it|!}}|{{{deprecated|}}}|}}
+
{{{history|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#if:{{#var:deepnotes}}{{{deepnotes|}}}|
 +
{{#vardefine:deepnotes|{{#var:deepnotes}}{{PBR}}
 +
{{{deepnotes|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#if:{{#var:mono}}{{{mono|}}}|
 +
{{#vardefine:mono|{{#var:mono}}{{PBR}}
 +
{{{mono|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#if:{{#var:lso}}{{{lso|}}}|
 +
{{#vardefine:lso|{{#var:lso}}{{PBR}}
 +
{{{lso|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#vardefine:issues|{{#var:issues}}
 +
{{{issues|}}}}}
 +
 
 +
{{#vardefine:also_tests|{{#var:also_tests}}
 +
{{{also_tests|}}}}}
 +
 
 +
{{#if:{{#var:location}}{{{location|}}}|
 +
{{#vardefine:location|{{#var:location}}{{PBR}}
 +
{{{location|}}}{{PBR}}}}
 +
}}
 +
 
 +
{{#if:{{#var:messaging}}{{{messaging|}}}|
 +
{{#vardefine:messaging|{{#var:messaging}}{{PBR}}
 +
{{{messaging|}}}{{PBR}}}}
 +
}}
 +
 
 
}}{{#if:{{#var:self}}|| __NOEDITSECTION__
 
}}{{#if:{{#var:self}}|| __NOEDITSECTION__
}}{{#var:header}}{{#if:{{#var:func_id}}{{#var:mode}}||
+
}}{{#var:header}}{{#if:{{#var:func_id}}{{#var:mode}}{{#var:moded}}||
<div id="box" style="background:red;">
+
{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}{{#if:{{#if:{{{return_type|}}}|{{#var:return_text}}}}{{{func_desc|}}}||<div id="box" style="background:yellow;">
&nbsp;&nbsp;'''Non cancellate il 'func_id''''
+
&nbsp;&nbsp;'''O 'func_desc', o 'return_type' e 'return_text' devono essere definiti'''
 
<div style="padding: 0.5em;background:#ffffff;">
 
<div style="padding: 0.5em;background:#ffffff;">
''func_id è una componente dell'informazione tecnica che non dovrebbe essere rimossa dato che è pertinente a chiunque abbia scritto un compilatore o decompilatore LSL, per cui è opportuno rimettere a posto la pagina adesso :P.''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe}]] }} }}{{#if:{{{also|}}}|<div id="box" style="background:yellow;">
+
''(Per favore usate 'return_text' e 'return_type', o 'func_desc' per descrivere sommariamente le azioni della funzione.)''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}
&nbsp;&nbsp;''' 'anche' Marcatore Rimosso'''
+
{{RightToc|font-size:80%}}
<div style="padding: 0.5em;background:#ffffff;">
+
<div id="box"><h2 style="display:none"> Sommario </h2>{{#ifexpr:{{#var:BugCounter|0}} > 0|<div class="mw-headline" style="float:right; margin: 5px 0.5em 0 0.5em;">{{LSL_Bug_Icon}}</div>}}<span id="{{anchorencode:Description}}" style="display:none"></span><span id="{{anchorencode:Summary}}" class="mw-headline" style="display:block; padding-bottom:0.17em; padding-top:0.5em; background:transparent none repeat scroll 0% 0%; color:#546368; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0pt; padding:0.2em 0.5em; text-align:left;"> [[:Category:LSL_Functions{{#var:lang}}|Function]]: {{#if:{{{return_type|}}}|[[{{{return_type|}}}{{#var:lang}}|{{{return_type|}}}]]||}} '''{{{func}}}'''( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}{{#var:lang}}|{{{p1_type|}}}]] {{LSL Param|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}{{#var:lang}}|{{{p2_type|}}}]] {{LSL Param|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}{{#var:lang}}|{{{p3_type|}}}]] {{LSL Param|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}{{#var:lang}}|{{{p4_type|}}}]] {{LSL Param|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}{{#var:lang}}|{{{p5_type|}}}]] {{LSL Param|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}{{#var:lang}}|{{{p6_type|}}}]] {{LSL Param|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}{{#var:lang}}|{{{p7_type|}}}]] {{LSL Param|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}{{#var:lang}}|{{{p8_type|}}}]] {{LSL Param|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}{{#var:lang}}|{{{p9_type|}}}]] {{LSL Param|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}{{#var:lang}}|{{{p10_type|}}}]] {{LSL Param|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}{{#var:lang}}|{{{p11_type|}}}]] {{LSL Param|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}{{#var:lang}}|{{{p12_type|}}}]] {{LSL Param|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>;</nowiki></span>
''(Per favore, utilizzate 'also_header','also_events','also_functions','also_articles', o 'also_footer')''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}{{#if:{{#if:{{{return_type|}}}|{{#var:return_text}}}}{{{func_desc|}}}||<div id="box" style="background:yellow;">
+
<div style="padding: 0.5em; min-height: {{#if:{{{func_complexity|}}}|6em;|5em;}}">{{#if:{{#pos:{{#var:moded}}|u}}|{{#if:{{#var:floater}}|<div id="box" style="float:right;">{{#var:floater}}</div>}}|<div id="box" style="float:right; margin: 0 0.5em; font-size:90%;">
&nbsp;&nbsp;''' 'return_text' e 'func_desc' non possono essere entrambi non definiti'''
+
<div style="padding: 0.5em;background:#ffffff;">
+
''(Per favore, utilizzate 'return_text' o 'func_desc' per descrivere il comportamento della funzione.)''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}
+
<div id="box">
+
<h2>Funzione : {{#if:{{{return_type|}}}|[[{{{return_type|}}}]]||}} [[{{{func}}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}]] {{LSL Param/fr|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}]] {{LSL Param/fr|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}]] {{LSL Param/it|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}]] {{LSL Param/it|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}]] {{LSL Param/it|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}]] {{LSL Param/it|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}]] {{LSL Param/it|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}]] {{LSL Param/fr|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}]] {{LSL Param/fr|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}]] {{LSL Param/it|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}]] {{LSL Param/it|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}]] {{LSL Param/fr|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>;</nowiki></h2>
+
<div style="padding: 0.5em">{{#ifeq:{{#var:mode}}|user|{{#if:{{#var:floater}}|<div id="box" style="float:right;">{{#var:floater}}</div>}}|<div id="box" style="float:right;">
+
 
{{{!}} class="collapsible"
 
{{{!}} class="collapsible"
 
{{!}}- style="font-size:75%;"
 
{{!}}- style="font-size:75%;"
 
{{!}}+
 
{{!}}+
 
{{!}}-
 
{{!}}-
{{!}} {{HoverText|{{#var:func_id}}|Identificativo della funzione.}}
+
{{!}} {{HoverText|{{#var:func_id}}|Il numero d'indice della funzione.}}
{{!}} [[LSL Function ID/it|Id della funzione]]
+
{{!}} [[LSL Function ID{{#var:lang}}|ID funzione]]
 
{{!}}-
 
{{!}}-
{{!}} {{HoverText|{{{func_sleep|}}}|Numero di secondi di ritardo quando questa funzione è eseguita.}}
+
{{!}} {{HoverText|{{{func_sleep|}}}|Il numero di secondi per cui lo script sarà in pausa dopo avere eseguito questa funzione.}}{{#if:{{{func_sleep_note|}}}|{{HoverLink|#caveats-sleep|3=*|2={{{func_sleep_note|}}}}}}}
{{!}} [[LSL Delay/it|Ritardo]]
+
{{!}} [[LSL Delay{{#var:lang}}|Ritardo]]
 
{{!}}-
 
{{!}}-
 
{{#if:{{{func_complexity|}}}|
 
{{#if:{{{func_complexity|}}}|
{{!}} {{HoverText|{{{func_complexity|}}}|Complessità della funzione in termini di parametri.}}
+
{{!}} {{HoverText|{{{func_complexity|}}}|La complessità della funzione, basata sui parametri.}}
{{!}} [[LSL Complexity/it|Complessità]]
+
{{!}} [[LSL Complexity{{#var:lang}}|Compl.]]
 
{{!}}-}}
 
{{!}}-}}
{{!}} {{HoverText|{{{func_energy|}}}|Quantità di energia consumata dalla funzione.}}
+
{{!}} {{HoverText|{{{func_energy|}}}|La quantità di energia consumata da questa funzione.}}
{{!}} [[Energy/it|Energia]]
+
{{!}} [[Energy{{#var:lang}}|Energia]]
 
{{!}}}</div>}}
 
{{!}}}</div>}}
{{#if:{{#var:header_desc}}|{{#var:header_desc}}<br/>{{#if:{{{return_type|}}}|<br/>}}}}{{#if:{{{return_type|}}}| Ritorna un {{{return_type|}}} {{#if:{{#var:return_text}}| {{#var:return_text}} }}<br/>}}
+
{{#if:{{#var:header_desc}}|{{#var:header_desc}}{{PBR}}{{#if:{{{return_type|}}}|<br id="bdart"/>}}}}{{#if:{{{return_type|}}}| Restituisce {{It|{{{return_type|}}}|{{{Return_text|}}}}} {{#if:{{#var:return_text}}| {{#var:return_text}} }}{{PBR}}}}
 
{{#if:{{{p1_name|}}}{{{p1_type|}}}|{{{!}}
 
{{#if:{{{p1_name|}}}{{{p1_type|}}}|{{{!}}
 
{{LSL DefineRow|1={{{p1_type|}}}|2={{{p1_name|}}}|3={{#var:p_{{{p1_name|}}}_desc}}}}
 
{{LSL DefineRow|1={{{p1_type|}}}|2={{{p1_name|}}}|3={{#var:p_{{{p1_name|}}}_desc}}}}
Line 103: Line 211:
 
{{#if:{{{p12_name|}}}{{{p12_type|}}}|{{LSL DefineRow|1={{{p12_type|}}}|2={{{p12_name|}}}|3={{#var:p_{{{p12_name|}}}_desc}}}}
 
{{#if:{{{p12_name|}}}{{{p12_type|}}}|{{LSL DefineRow|1={{{p12_type|}}}|2={{{p12_name|}}}|3={{#var:p_{{{p12_name|}}}_desc}}}}
 
}}}}}}}}}}}}}}}}}}}}}}
 
}}}}}}}}}}}}}}}}}}}}}}
{{!}}} }}
+
{{!}}}
{{#if:{{#var:header_footnote}}|<br/>
+
}}{{#if:{{#var:header_footnote}}|
{{#var:header_footnote}}}}
+
<div style="margin-top:0.5em;"></div>
<div style="clear:right;"></div>
+
{{#var:header_footnote}}
</div></div>{{#if:{{#var:spec}}|<div id="box">
+
}}</div>
<h2>Specifiche</h2>
+
</div>{{#ifexist:{{#var:newbie}}|<div id="box">
<div style="padding: 0.5em">
+
<h2>[[{{#var:newbie}}|Appunti dei principianti]]</h2>
 +
<div style="padding: 0.5em; max-height:10em; overflow-x:visible; overflow-y:auto;">
 +
{{:{{#var:newbie}}}}
 +
</div><div style="padding:0 0.5em;">
 +
Per proseguire la lettura si veda: [[{{#var:newbie}}|Appunti dei principianti]]
 +
</div></div>}}{{#if:{{#var:spec}}|<div id="box">
 +
<h2>Specificazione</h2>
 +
<div style="padding: 0.5em;">
 
{{#var:spec}}
 
{{#var:spec}}
</div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}{{{constants|}}}|
+
</div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}|
 
{{#var:constants_nb}}
 
{{#var:constants_nb}}
{{{constants|}}}{{#if:{{#var:constants}}|  
+
{{#if:{{#var:constants}}|  
 
<div id="box">
 
<div id="box">
 
<h2>Costanti</h2>
 
<h2>Costanti</h2>
 
{{#var:constants}}
 
{{#var:constants}}
 
</div>}}}}{{#if:{{#var:caveats}}|<div id="box">
 
</div>}}}}{{#if:{{#var:caveats}}|<div id="box">
<h2>Valori di norma</h2>
+
<h2>Avvertimenti</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}}{{#simple-examples}}{{#complex-examples}}|<div id="box">
 
<h2>Esempi</h2>
 
<h2>Esempi</h2>
<div style="padding: 0.5em">
+
<div style="padding: 0.5em;">
{{#var:examples}}
+
{{#var:examples}}{{#if:{{#var:simple-examples}}|
 +
<div style="float:left; min-width:200px; width:45%;">
 +
===Esempi semplici===
 +
{{{!}}
 +
{{#var:simple-examples}}
 +
{{!}}}
 +
</div>}}{{#if:{{#var:complex-examples}}|
 +
<div style="float:left;">
 +
===Esempi complessi===
 +
{{{!}}
 +
{{#var:complex-examples}}
 +
{{!}}}
 +
</div>}}<div style="clear:left;"></div>
 
</div></div>}}{{#if:{{#var:helpers}}|<div id="box">
 
</div></div>}}{{#if:{{#var:helpers}}|<div id="box">
<h2>Blocchi di codice utili</h2>
+
<h2>Ritagli di codice utili</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>Note</h2>
 
<h2>Note</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_header}}{{#var:also_library}}{{#var:also_constants}}|<div id="box">
 
<h2>Si veda anche</h2>
 
<h2>Si veda anche</h2>
<div style="padding: 0.5em">
+
<div style="padding: 0.5em;">
{{#if:{{#var:also_header}}|
+
{{#if:{{#var:also_header}}|<div>
{{#var:also_header}}}}{{#if:{{#var:also_events}}|
+
{{#var:also_header}}
 +
</div>}}{{#if:{{#var:also_constants}}|
 +
<h3>Costanti</h3>
 +
{{{!}}
 +
{{#var:also_constants}}
 +
{{!}}} }}{{#if:{{#var:also_events}}|
 
<h3>Eventi</h3>
 
<h3>Eventi</h3>
 
{{{!}}
 
{{{!}}
Line 145: Line 277:
 
{{{!}}
 
{{{!}}
 
{{#var:also_functions}}
 
{{#var:also_functions}}
{{!}}} }}{{#if:{{#var:also_tests}}|
 
<h3>Prove</h3>
 
{{{!}}
 
{{#var:also_tests}}
 
 
{{!}}} }}{{#if:{{#var:also_articles}}|
 
{{!}}} }}{{#if:{{#var:also_articles}}|
 
<h3>Articoli</h3>
 
<h3>Articoli</h3>
Line 154: Line 282:
 
{{#var:also_articles}}
 
{{#var:also_articles}}
 
{{!}}} }}{{#if:{{#var:also_library}}|
 
{{!}}} }}{{#if:{{#var:also_library}}|
<h3>Libreria ed esempi</h3>
+
<h3>Librerie ed esempi</h3>
 
{{{!}}
 
{{{!}}
 
{{#var:also_library}}
 
{{#var:also_library}}
{{!}}} }}
+
{{!}}} }}{{#if:{{#var:also_footer}}|
{{#if:{{#var:also_footer}}|<br/>{{#var:also_footer}}}}
+
<div style="margin-top:0.5em;">
</div></div>}}{{#if:{{#var:location}}|<div id="box">
+
{{#var:also_footer}}
<h2>Problemi nel codice</h2>
+
</div>}}
<div style="padding: 0.5em">
+
</div></div>}}
{{#var:location}}
+
<div id="box">
</div></div>}}{{#if:{{{history|}}}{{{bugs|}}}|<div id="box">
+
== Note approfondite ==
<h2>Storia</h2>
+
<div style="padding: 0.5em"><div>
<div style="padding: 0.5em">
+
{{#var:deepnotes}}
{{#if:{{{bugs|}}}|<h3>Bugs</h3>
+
</div>{{#if:{{#var:mono}}|
 +
<h4> Note sulla Mono VM </h4><div>
 +
{{#var:mono}}
 +
</div>}}{{#if:{{#var:lso}}|
 +
<h4> Note sulla LSO VM </h4><div>
 +
{{#var:lso}}
 +
</div>}}{{#if:{{#var:history}}|
 +
<h4> Storia </h4><div>
 +
{{#var:history}}
 +
</div>}}
 +
{{Anchor|Issues}}{{LSL_Generic/Issues}}{{#if:{{#var:also_tests}}|
 +
<h3> Prove </h3>
 
{{{!}}
 
{{{!}}
{{{bugs}}}
+
{{#var:also_tests}}
{{!}}} }}
+
{{!}}}
{{{history|}}}
+
}}{{#if:{{#var:location}}|
</div></div>}}{{#if:{{{comments|}}}|<div id="box">
+
<h4> Fonte </h4><div>
 +
{{#var:location}}
 +
</div>}}{{#if:{{#var:messaging}}|
 +
<h4> Messaggistica </h4><div>
 +
{{#var:messaging}}
 +
</div>}}{{#if:{{#var:footnotes}}|
 +
<h4 style="margin-bottom:0;"> Note a pié pagina </h4>
 +
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}}
 +
}}
 +
{{Collapsible_Table|collapsed=*|table-style=width:100%;|title-style=text-align:left;|title=<h4 style="margin-top:0;">Firma</h4>|content={{!}}
 +
{{#tag:pre|{{#if:{{#pos:{{#var:moded}}|u}}||{{#if:{{#pos:{{#var:moded}}|r}}|//}}function {{#if:{{{return_type|}}}|{{{return_type|}}}|void}} {{{func}}}( {{#if:{{{p1_name|}}}{{{p1_type|}}}| {{{p1_type|}}} {{{p1_name|}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, {{{p2_type|}}} {{{p2_name|}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, {{{p3_type|}}} {{{p3_name|}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, {{{p4_type|}}} {{{p4_name|}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, {{{p5_type|}}} {{{p5_name|}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, {{{p6_type|}}} {{{p6_name|}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, {{{p7_type|}}} {{{p7_name|}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, {{{p8_type|}}} {{{p8_name|}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, {{{p9_type|}}} {{{p9_name|}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, {{{p10_type|}}} {{{p10_name|}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, {{{p11_type|}}} {{{p11_name|}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, {{{p12_type|}}} {{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>;</nowiki>{{#if:{{{desc|}}}|//{{{desc|}}}}}
 +
<nowiki></nowiki>}}{{#if:{{{signature|}}}|{{{signature|}}}
 +
}}{{#if:{{#var:signature}}|{{#var:signature}}
 +
}}|id="lsl-signature"}}}}
 +
</div></div>{{#if:{{{comments|}}}|<div id="box">
 
<h2>Commenti</h2>
 
<h2>Commenti</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>
+
<div style="display:none" class="hidden-text" id="hidden-text">{{#var:hidden-text}}</div>
 +
{{#var:footer}} {{#if:{{#var:self}}|| {{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}|| [[Category:LSL Functions{{#var:lang}}]] {{#if:{{#pos:{{#var:moded}}|f}}||{{#ifexpr:{{#var:BugCounter|0}} > 0|[[Category:LSL topics with bugs{{#var:lang}}]] [[Category:LSL topics with the most bugs{{#var:lang}}| {{#pad:{{#expr:100-{{#var:BugCounter|0}}}}|2|0}}{{PAGENAME}}]]}}}} {{#iferror:{{#expr:{{#var:func_id}}}}|[[Category:LSL Functions/Without IDs{{#var:lang}}]]|[[Category:LSL Functions/ID{{#var:lang}}| {{padleft:{{#var:func_id}}|5|0}}]]}} {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}} {{LSL Unhelpful|{{{func}}}|}} }} {{#if:{{{cat1|}}}|[[Category:LSL {{{cat1}}}{{#var:lang}}]]}} {{#if:{{{cat2|}}}|[[Category:LSL {{{cat2}}}{{#var:lang}}]]}} {{#if:{{{cat3|}}}|[[Category:LSL {{{cat3}}}{{#var:lang}}]]}} {{#if:{{{cat4|}}}|[[Category:LSL {{{cat4}}}{{#var:lang}}]]}} {{#if:{{{cat5|}}}|[[Category:LSL {{{cat5}}}{{#var:lang}}]]}} {{#if:{{{cat6|}}}|[[Category:LSL {{{cat6}}}{{#var:lang}}]]}} {{#if:{{{cat7|}}}|[[Category:LSL {{{cat7}}}{{#var:lang}}]]}} {{#if:{{{cat8|}}}|[[Category:LSL {{{cat8}}}{{#var:lang}}]]}} }}</includeonly>

Latest revision as of 11:00, 15 January 2012

Si veda Template:LSL Function/docs/it per la documentazione.