Difference between revisions of "Template:LSL Function/ja"
Jump to navigation
Jump to search
Mako Nozaki (talk | contribs) m |
Chaser Zaks (talk | contribs) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine:article_type|関数}} | {{#vardefine:article_type|関数}} | ||
{{#if:{{{func_id|}}}|{{#vardefine:func_id|{{{func_id|}}}}}}} | |||
{{#vardefine:name|{{{func|}}}}} | |||
{{#if:{{{func_id|}}}|{{#vardefine:func_id|{{{func_id|}}}}}|{{#if:{{#var:func_id}}||{{#vardefine:func_id|?}}}}}} | |||
{{#vardefine:mode|{{#var:mode}}{{{mode|}}}}} | {{#vardefine:mode|{{#var:mode}}{{{mode|}}}}} | ||
{{#vardefine:self|{{#var:self}}{{{self|}}}}} | {{#vardefine:self|{{#var:self}}{{{self|}}}}} | ||
Line 14: | Line 17: | ||
|request=LSL_Generic/request{{#var:lang}} | |request=LSL_Generic/request{{#var:lang}} | ||
|pre-release=LSL_Generic/pre-release{{#var:lang}} | |pre-release=LSL_Generic/pre-release{{#var:lang}} | ||
|rc=LSL_Generic/RC{{#var:lang}} | |||
|preview=LSL_Generic/preview{{#var:lang}} | |preview=LSL_Generic/preview{{#var:lang}} | ||
|user=!{{#vardefine:moded|u{{#var:moded}}}} | |user=!{{#vardefine:moded|u{{#var:moded}}}} | ||
|!}}|}} | |!}}|}} | ||
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}} | {{{{#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|}}}}} | ||
Line 44: | Line 50: | ||
{{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}} | {{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}} | ||
{{{inject- | {{{inject-3|}}} | ||
{{#if:{{#var:header_desc}}{{{func_desc|}}}| | {{#if:{{#var:header_desc}}{{{func_desc|}}}| | ||
Line 76: | Line 82: | ||
{{{bugs|}}}}} | {{{bugs|}}}}} | ||
{{#vardefine:caveats|{{#ifexpr:{{{func_sleep|0.0}}}> 0.0|* <span id="caveats-sleep"></span> この関数は{{{func_sleep|}}}秒間、スクリプトを停止します。 {{{func_sleep_note|}}}|{{#if:{{{func_sleep_note|}}}|* <span id="caveats-sleep"></span> {{{func_sleep_note|}}}}}}}{{#if:{{#var:caveats}}| | {{#vardefine:caveats|{{#ifexpr:{{{func_sleep|0.0}}}> 0.0|* <span id="caveats-sleep"></span> この関数は {{{func_sleep|}}} 秒間、スクリプトを停止します。 {{{func_sleep_note|}}}|{{#if:{{{func_sleep_note|}}}|* <span id="caveats-sleep"></span> {{{func_sleep_note|}}}}}}}{{#if:{{#var:caveats}}| | ||
{{#var:caveats}}}}{{#if:{{{caveats|}}}| | {{#var:caveats}}}}{{#if:{{{caveats|}}}| | ||
{{{caveats|}}}}} | {{{caveats|}}}}}}} | ||
{{#if:{{#pos:{{#var:moded}}|u}}||{{# | |||
{{#if:{{#pos:{{#var:moded}}|u}}||{{#vardefine:caveats|{{LSL_Generic/Caveats}}}}}} | |||
{{#if:{{#var:examples}}{{{examples|}}}| | {{#if:{{#var:examples}}{{{examples|}}}| | ||
Line 168: | Line 172: | ||
}}{{#if:{{#var:self}}|| __NOEDITSECTION__ | }}{{#if:{{#var:self}}|| __NOEDITSECTION__ | ||
}}{{#var:header}}{{#if:{{#var:func_id}}{{#var:mode}}{{#var:moded}}|| | }}{{#var:header}}{{#if:{{#var:func_id}}{{#var:mode}}{{#var:moded}}|| | ||
{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }}{{#if:{{#if:{{{return_type|}}}|{{#var:return_text}}}}{{{func_desc|}}}||<div id="box" style="background:yellow;"> | |||
''''func_desc' 'return_type' のいずれかと 'return_text' は必須です。''' | |||
''''func_desc' | |||
<div style="padding: 0.5em;background:#ffffff;"> | <div style="padding: 0.5em;background:#ffffff;"> | ||
''('return_type' と 'return_text' の組み合わせ、または 'func_desc' のいずれかを使用して関数の動作の概要を記述してください。)''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }} | ''('return_type' と 'return_text' の組み合わせ、または 'func_desc' のいずれかを使用して関数の動作の概要を記述してください。)''</div></div>{{#if:{{#var:self}}|| [[Category:LSL FixMe]] }} }} | ||
{{RightToc|font-size:80%}} | {{RightToc|font-size:80%}} | ||
<div id="box"><h2 style="display:none"> 要約 </h2>{{#ifexpr: | <div id="box"><h2 style="display:none"> 要約{{Anchor|Summary}} </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}}|関数]]: {{#if:{{{return_type|}}}|[[{{{return_type|}}}{{#var:lang}}|{{{return_type|}}}]]||}} [[{{{func}}}{{#var:lang}}|{{{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> | ||
}}</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}}|関数]]: {{#if:{{{return_type|}}}|[[{{{return_type|}}}{{#var:lang}}|{{{return_type|}}}]]||}} [[{{{func}}}{{#var:lang}}|{{{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> | |||
<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%;"> | <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%;"> | ||
{{{!}} class="collapsible" | {{{!}} class="collapsible" | ||
Line 199: | Line 196: | ||
{{!}} [[Energy{{#var:lang}}|エネルギー]] | {{!}} [[Energy{{#var:lang}}|エネルギー]] | ||
{{!}}}</div>}} | {{!}}}</div>}} | ||
{{#if:{{#var:header_desc}}|{{#var:header_desc}}{{PBR}}{{#if:{{{return_type|}}}|<br id="bdart"/>}}}}{{#if:{{{return_type|}}}|{{#if:{{#var:return_text}}|{{#var:return_text}}を }}{{{return_type|}}} で返します。{{PBR}}}} | {{#if:{{#var:header_desc}}|{{#var:header_desc}}{{PBR}}{{#if:{{{return_type|}}}|<br id="bdart"/>}}}}{{#if:{{{return_type|}}}|{{#if:{{#var:return_text}}|{{#var:return_text}}を }}{{{return_type|}}} で返します。{{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={{#if:{{{p1_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p1_type|}}}}}/{{{p1_subtype|}}}{{#var:lang}}|{{{p1_name|}}}}}|{{LSL_Parameter_Link|{{{p1_name|}}}}}}}|3={{#var:p_{{{p1_name|}}}_desc}}}} | ||
{{#if:{{{p2_name|}}}{{{p2_type|}}}|{{LSL DefineRow|1={{{p2_type|}}}|2={{{p2_name|}}}|3={{#var:p_{{{p2_name|}}}_desc}}}} | {{#if:{{{p2_name|}}}{{{p2_type|}}}|{{LSL DefineRow|1={{{p2_type|}}}|2={{#if:{{{p2_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p2_type|}}}}}/{{{p2_subtype|}}}{{#var:lang}}|{{{p2_name|}}}}}|{{LSL_Parameter_Link|{{{p2_name|}}}}}}}|3={{#var:p_{{{p2_name|}}}_desc}}}} | ||
{{#if:{{{p3_name|}}}{{{p3_type|}}}|{{LSL DefineRow|1={{{p3_type|}}}|2={{{p3_name|}}}|3={{#var:p_{{{p3_name|}}}_desc}}}} | {{#if:{{{p3_name|}}}{{{p3_type|}}}|{{LSL DefineRow|1={{{p3_type|}}}|2={{#if:{{{p3_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p3_type|}}}}}/{{{p3_subtype|}}}{{#var:lang}}|{{{p3_name|}}}}}|{{LSL_Parameter_Link|{{{p3_name|}}}}}}}|3={{#var:p_{{{p3_name|}}}_desc}}}} | ||
{{#if:{{{p4_name|}}}{{{p4_type|}}}|{{LSL DefineRow|1={{{p4_type|}}}|2={{{p4_name|}}}|3={{#var:p_{{{p4_name|}}}_desc}}}} | {{#if:{{{p4_name|}}}{{{p4_type|}}}|{{LSL DefineRow|1={{{p4_type|}}}|2={{#if:{{{p4_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p4_type|}}}}}/{{{p4_subtype|}}}{{#var:lang}}|{{{p4_name|}}}}}|{{LSL_Parameter_Link|{{{p4_name|}}}}}}}|3={{#var:p_{{{p4_name|}}}_desc}}}} | ||
{{#if:{{{p5_name|}}}{{{p5_type|}}}|{{LSL DefineRow|1={{{p5_type|}}}|2={{{p5_name|}}}|3={{#var:p_{{{p5_name|}}}_desc}}}} | {{#if:{{{p5_name|}}}{{{p5_type|}}}|{{LSL DefineRow|1={{{p5_type|}}}|2={{#if:{{{p5_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p5_type|}}}}}/{{{p5_subtype|}}}{{#var:lang}}|{{{p5_name|}}}}}|{{LSL_Parameter_Link|{{{p5_name|}}}}}}}|3={{#var:p_{{{p5_name|}}}_desc}}}} | ||
{{#if:{{{p6_name|}}}{{{p6_type|}}}|{{LSL DefineRow|1={{{p6_type|}}}|2={{{p6_name|}}}|3={{#var:p_{{{p6_name|}}}_desc}}}} | {{#if:{{{p6_name|}}}{{{p6_type|}}}|{{LSL DefineRow|1={{{p6_type|}}}|2={{#if:{{{p6_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p6_type|}}}}}/{{{p6_subtype|}}}{{#var:lang}}|{{{p6_name|}}}}}|{{LSL_Parameter_Link|{{{p6_name|}}}}}}}|3={{#var:p_{{{p6_name|}}}_desc}}}} | ||
{{#if:{{{p7_name|}}}{{{p7_type|}}}|{{LSL DefineRow|1={{{p7_type|}}}|2={{{p7_name|}}}|3={{#var:p_{{{p7_name|}}}_desc}}}} | {{#if:{{{p7_name|}}}{{{p7_type|}}}|{{LSL DefineRow|1={{{p7_type|}}}|2={{#if:{{{p7_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p7_type|}}}}}/{{{p7_subtype|}}}{{#var:lang}}|{{{p7_name|}}}}}|{{LSL_Parameter_Link|{{{p7_name|}}}}}}}|3={{#var:p_{{{p7_name|}}}_desc}}}} | ||
{{#if:{{{p8_name|}}}{{{p8_type|}}}|{{LSL DefineRow|1={{{p8_type|}}}|2={{{p8_name|}}}|3={{#var:p_{{{p8_name|}}}_desc}}}} | {{#if:{{{p8_name|}}}{{{p8_type|}}}|{{LSL DefineRow|1={{{p8_type|}}}|2={{#if:{{{p8_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p8_type|}}}}}/{{{p8_subtype|}}}{{#var:lang}}|{{{p8_name|}}}}}|{{LSL_Parameter_Link|{{{p8_name|}}}}}}}|3={{#var:p_{{{p8_name|}}}_desc}}}} | ||
{{#if:{{{p9_name|}}}{{{p9_type|}}}|{{LSL DefineRow|1={{{p9_type|}}}|2={{{p9_name|}}}|3={{#var:p_{{{p9_name|}}}_desc}}}} | {{#if:{{{p9_name|}}}{{{p9_type|}}}|{{LSL DefineRow|1={{{p9_type|}}}|2={{#if:{{{p9_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p9_type|}}}}}/{{{p9_subtype|}}}{{#var:lang}}|{{{p9_name|}}}}}|{{LSL_Parameter_Link|{{{p9_name|}}}}}}}|3={{#var:p_{{{p9_name|}}}_desc}}}} | ||
{{#if:{{{p10_name|}}}{{{p10_type|}}}|{{LSL DefineRow|1={{{p10_type|}}}|2={{{p10_name|}}}|3={{#var:p_{{{p10_name|}}}_desc}}}} | {{#if:{{{p10_name|}}}{{{p10_type|}}}|{{LSL DefineRow|1={{{p10_type|}}}|2={{#if:{{{p10_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p10_type|}}}}}/{{{p10_subtype|}}}{{#var:lang}}|{{{p10_name|}}}}}|{{LSL_Parameter_Link|{{{p10_name|}}}}}}}|3={{#var:p_{{{p10_name|}}}_desc}}}} | ||
{{#if:{{{p11_name|}}}{{{p11_type|}}}|{{LSL DefineRow|1={{{p11_type|}}}|2={{{p11_name|}}}|3={{#var:p_{{{p11_name|}}}_desc}}}} | {{#if:{{{p11_name|}}}{{{p11_type|}}}|{{LSL DefineRow|1={{{p11_type|}}}|2={{#if:{{{p11_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p11_type|}}}}}/{{{p11_subtype|}}}{{#var:lang}}|{{{p11_name|}}}}}|{{LSL_Parameter_Link|{{{p11_name|}}}}}}}|3={{#var:p_{{{p11_name|}}}_desc}}}} | ||
{{#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={{#if:{{{p12_subtype|}}}|{{CAL|LSL {{ucfirst:{{{p12_type|}}}}}/{{{p12_subtype|}}}{{#var:lang}}|{{{p12_name|}}}}}|{{LSL_Parameter_Link|{{{p12_name|}}}}}}}|3={{#var:p_{{{p12_name|}}}_desc}}}} | ||
}}}}}}}}}}}}}}}}}}}}}} | }}}}}}}}}}}}}}}}}}}}}} | ||
{{!}}} | {{!}}} | ||
Line 226: | Line 223: | ||
続きを読む: [[{{#var:newbie}}|初心者にありがちな注意点]] | 続きを読む: [[{{#var:newbie}}|初心者にありがちな注意点]] | ||
</div></div>}}{{#if:{{#var:spec}}|<div id="box"> | </div></div>}}{{#if:{{#var:spec}}|<div id="box"> | ||
<h2>仕様</h2> | <h2>仕様{{Anchor|Specification}}</h2> | ||
<div style="padding: 0.5em;"> | <div style="padding: 0.5em;"> | ||
{{#var:spec}} | {{#var:spec}} | ||
Line 233: | Line 230: | ||
{{#if:{{#var:constants}}| | {{#if:{{#var:constants}}| | ||
<div id="box"> | <div id="box"> | ||
<h2>定数</h2> | <h2>定数{{Anchor|Constants}}</h2> | ||
{{#var:constants}} | {{#var:constants}} | ||
</div>}}}}{{#if:{{#var:caveats}}|<div id="box"> | </div>}}}}{{#if:{{#var:caveats}}|<div id="box"> | ||
<h2>警告</h2> | <h2>警告{{Anchor|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}}{{#simple-examples}}{{#complex-examples}}|<div id="box"> | </div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}{{#simple-examples}}{{#complex-examples}}|<div id="box"> | ||
<h2>サンプル</h2> | <h2>サンプル{{Anchor|Examples}}</h2> | ||
<div style="padding: 0.5em;"> | <div style="padding: 0.5em;"> | ||
{{#var:examples}}{{#if:{{#var:simple-examples}}| | {{#var:examples}}{{#if:{{#var:simple-examples}}| | ||
Line 256: | Line 253: | ||
</div>}}<div style="clear:left;"></div> | </div>}}<div style="clear:left;"></div> | ||
</div></div>}}{{#if:{{#var:helpers}}|<div id="box"> | </div></div>}}{{#if:{{#var:helpers}}|<div id="box"> | ||
<h2> | <h2>便利なスニペット{{Anchor|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>注意点</h2> | <h2>注意点{{Anchor|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_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>関連項目</h2> | <h2>関連項目{{Anchor|See Also}}</h2> | ||
<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>定数</h3> | <h3>定数{{Anchor|Constants}}</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_constants}} | {{#var:also_constants}} | ||
{{!}}} }}{{#if:{{#var:also_events}}| | {{!}}} }}{{#if:{{#var:also_events}}| | ||
<h3>イベント</h3> | <h3>イベント{{Anchor|Events}}</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_events}} | {{#var:also_events}} | ||
{{!}}} }}{{#if:{{#var:also_functions}}| | {{!}}} }}{{#if:{{#var:also_functions}}| | ||
<h3>関数</h3> | <h3>関数{{Anchor|Functions}}</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_functions}} | {{#var:also_functions}} | ||
{{!}}} }}{{#if:{{#var:also_articles}}| | {{!}}} }}{{#if:{{#var:also_articles}}| | ||
<h3>記事</h3> | <h3>記事{{Anchor|Articles}}</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_articles}} | {{#var:also_articles}} | ||
{{!}}} }}{{#if:{{#var:also_library}}| | {{!}}} }}{{#if:{{#var:also_library}}| | ||
<h3>ライブラリとサンプル</h3> | <h3>ライブラリとサンプル{{Anchor|Libraries and Examples}}</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_library}} | {{#var:also_library}} | ||
Line 294: | Line 291: | ||
</div></div>}} | </div></div>}} | ||
<div id="box"> | <div id="box"> | ||
== 特記事項 == | == 特記事項{{Anchor|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 に関する注意点 </h4><div> | <h4> Mono VM に関する注意点{{Anchor|Mono VM Notes}} </h4><div> | ||
{{#var:mono}} | {{#var:mono}} | ||
</div>}}{{#if:{{#var:lso}}| | </div>}}{{#if:{{#var:lso}}| | ||
<h4> LSO VM に関する注意点 </h4><div> | <h4> LSO VM に関する注意点{{Anchor|LSO VM Notes}} </h4><div> | ||
{{#var:lso}} | {{#var:lso}} | ||
</div>}}{{#if:{{#var:history}}| | </div>}}{{#if:{{#var:history}}| | ||
<h4> 経緯 </h4><div> | <h4> 経緯{{Anchor|History}} </h4><div> | ||
{{#var:history}} | {{#var:history}} | ||
</div>}} | </div>}} | ||
{{Anchor|Issues}}{{LSL_Generic/Issues}}{{#if:{{#var:also_tests}}| | |||
<h3>テスト{{Anchor|Tests}}</h3> | |||
{{ | |||
}}{{#if:{{#var:also_tests}}| | |||
<h3>テスト</h3> | |||
{{{!}} | {{{!}} | ||
{{#var:also_tests}} | {{#var:also_tests}} | ||
{{!}}} | {{!}}} | ||
}}{{#if:{{#var:location}}| | }}{{#if:{{#var:location}}| | ||
<h4> | <h4> ソース {{Anchor|Source}}</h4><div> | ||
{{#var:location}} | {{#var:location}} | ||
</div>}}{{#if:{{#var:messaging}}| | </div>}}{{#if:{{#var:messaging}}| | ||
<h4> メッセージ </h4><div> | <h4> メッセージ {{Anchor|Messaging}}</h4><div> | ||
{{#var:messaging}} | {{#var:messaging}} | ||
</div>}}{{#if:{{#var:footnotes}}| | </div>}}{{#if:{{#var:footnotes}}| | ||
<h4 style="margin-bottom:0;"> 脚注 </h4> | <h4 style="margin-bottom:0;"> 脚注{{Anchor|Footnotes}} </h4> | ||
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}} | {{{{#if:{{#var:footnotes}}|Footnotes|!}}|}} | ||
}} | }} | ||
{{Collapsible_Table|collapsed=*|table-style=width:100%;|title-style=text-align:left;|title=<h4 style="margin-top:0;">Signature</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"> | </div></div>{{#if:{{{comments|}}}|<div id="box"> | ||
<h2>コメント</h2> | <h2>コメント{{Anchor|Comments}}</h2> | ||
<div style="padding: 0.5em;"> | <div style="padding: 0.5em;"> | ||
{{{comments|}}} | {{{comments|}}} | ||
</div></div>}} | </div></div>}} | ||
<div style="display:none" class="hidden-text" id="hidden-text">{{#var:hidden-text}}</div> | <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}}|| {{LSLC{{#var:lang}}|Functions}} {{#if:{{#pos:{{#var:moded}}|f}}||{{#ifexpr: | {{#var:footer}} | ||
<div style="border: 1px solid #AAAAAA; background: #FFFFCC;margin-bottom:1em;" align="center">この翻訳は '''[[{{{func}}}|原文]]''' と比べて古いですか?間違いがありますか?読みにくいですか?みんなで '''[https://wiki.secondlife.com/w/index.php?title={{{func}}}/ja&action=edit 修正]''' していきましょう! ([[LSL関連ページの翻訳方法|手順はこちら]])</div> | |||
{{#if:{{#var:self}}|| {{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}|| {{LSLC{{#var:lang}}|Functions}} {{#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}}| {{padleft:{{#expr:100-{{#var:BugCounter|0}}}}|2|0}}{{PAGENAME}}]]}}}} {{#iferror:{{#expr:{{#var:func_id}}}}||[[Category:LSL Functions/ID/ja| {{padleft:{{#var:func_id}}|5|0}}]]}} {{#if:{{#var:examples}}||{{LSLC{{#var:lang}}|Needs Example}}}} {{LSL Unhelpful{{#var:lang}}|{{{func}}}|}} }} {{#if:{{{cat1|}}}|{{LSLC{{#var:lang}}|{{{cat1}}}}}}} {{#if:{{{cat2|}}}|{{LSLC{{#var:lang}}|{{{cat2}}}}}}} {{#if:{{{cat3|}}}|{{LSLC{{#var:lang}}|{{{cat3}}}}}}} {{#if:{{{cat4|}}}|{{LSLC{{#var:lang}}|{{{cat4}}}}}}} {{#if:{{{cat5|}}}|{{LSLC{{#var:lang}}|{{{cat5}}}}}}} {{#if:{{{cat6|}}}|{{LSLC{{#var:lang}}|{{{cat6}}}}}}} {{#if:{{{cat7|}}}|{{LSLC{{#var:lang}}|{{{cat7}}}}}}} {{#if:{{{cat8|}}}|{{LSLC{{#var:lang}}|{{{cat8}}}}}}} }}</includeonly> |
Latest revision as of 02:09, 20 August 2023
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
資料 Template:LSL Function/docs/ja を参照してください。