Difference between revisions of "Template:LSL Event/ja"
Jump to navigation
Jump to search
定数
Asuka Neely (talk | contribs) m |
m |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Multi-lang}}{{LSL Header{{#var:lang}}}} __NOTOC__ <noinclude> | {{Multi-lang|2=/ja}} | ||
{{LSL Header{{#var:lang}}}} __NOTOC__ <noinclude> | |||
<pre> | <pre> | ||
{{LSL_Event | {{LSL_Event | ||
|event | |event | ||
|event_id | |event_id | ||
Line 44: | Line 45: | ||
</pre> | </pre> | ||
構文の説明は [[Template:LSL Function]] にあります (ほとんど一緒ですが)。 | |||
<div id="box"> | <div id="box"> | ||
Line 51: | Line 52: | ||
|event_id=-1 | |event_id=-1 | ||
|event_delay=100.5 | |event_delay=100.5 | ||
|event_desc= | |event_desc=とある架空イベント | ||
|event_footnote=イベントの脚注 | |event_footnote=イベントの脚注 | ||
|p1_type=integer|p1_name=i|p1_desc | |p1_type=integer|p1_name=i|p1_desc | ||
Line 61: | Line 62: | ||
|p7_type=rotation|p7_name=r|p7_desc | |p7_type=rotation|p7_name=r|p7_desc | ||
|constants=定数 | |constants=定数 | ||
|spec= | |spec=仕様 | ||
|caveats=注意 | |caveats=注意 | ||
|examples= | |examples=サンプル | ||
|helpers=参考 | |helpers=参考 | ||
|also_header=同様のヘッダ | |also_header=同様のヘッダ | ||
|also_events= | |also_events=同様のイベント | ||
*also_events | *also_events | ||
|also_functions= | |also_functions=同様の関数 | ||
*also_functions | *also_functions | ||
|also_tests= | |also_tests=同様のテスト | ||
*also_tests | *also_tests | ||
|also_articles= | |also_articles=同様の記事 | ||
*also_articles | *also_articles | ||
|also_footer=同様のフッタ | |also_footer=同様のフッタ | ||
|notes= | |notes=注意点 | ||
|mode | |mode | ||
|self=self | |self=self | ||
|issues={{Issue/V1|SVC-2|first SVC bug|type=bug}} | |||
}} | }} | ||
</div> | </div> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#if: | {{#if: | ||
{{#if:work around changes from 1.11 to 1.12 | |||
{{{issues|}}}{{#var:issues}} | |||
}} | |||
{{#vardefine:name|{{{event}}}}} | {{#vardefine:name|{{{event}}}}} | ||
{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{#if:{{{sort|}}}|{{{sort}}}|{{ucfirst:{{#var:name}}}}}}}}}} | {{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{#if:{{{sort|}}}|{{{sort}}}|{{ucfirst:{{#var:name}}}}}}}}}} | ||
Line 134: | Line 139: | ||
{{#vardefine:also_articles|{{#var:also_articles}} | {{#vardefine:also_articles|{{#var:also_articles}} | ||
{{{also_articles|}}}}} | {{{also_articles|}}}}} | ||
{{#vardefine:also_library|{{#var:also_library}} | |||
{{{also_library|}}}}} | |||
{{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}} | {{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}} | ||
{{#vardefine:notes|{{#var:notes}}{{{notes|}}}}} | {{#vardefine:notes|{{#var:notes}}{{{notes|}}}}} | ||
{{#vardefine:mode|{{#var:mode}}{{{mode|}}}}} | {{#vardefine:mode|{{#var:mode}}{{{mode|}}}}} | ||
{{#vardefine:self|{{#var:self}}{{{self|}}}}} | {{#vardefine:self|{{#var:self}}{{{self|}}}}} | ||
{{#vardefine: | {{#vardefine:article_type|event}} | ||
{{#vardefine:caveats|{{#var:caveats}}{{{caveats|}}}}} | {{#vardefine:caveats|{{#var:caveats}} | ||
{{{caveats|}}}}} | |||
{{#vardefine:location|{{#var:location}}{{{location|}}}}} | {{#vardefine:location|{{#var:location}}{{{location|}}}}} | ||
{{#vardefine:footer|{{#var:footer}}}} | {{#vardefine:footer|{{#var:footer}}}} | ||
{{{{#switch:{{#var:mode}} | |||
{{{{# | |god=LSL_Generic/god{{#var:lang}} | ||
|request=LSL_Generic/request{{#var:lang}} | |||
{{{{#if:{{{deprecated | |pre-release=LSL_Generic/pre-release{{#var:lang}} | ||
{{#vardefine:{{#if:{{{event_desc|}}}|| | |!}}|}} | ||
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}} | |||
{{#vardefine:header|{{#if:{{{event_desc|}}}|| | |||
<div id="box" style="background:yellow;"> | <div id="box" style="background:yellow;"> | ||
''' 'event_desc' | ''' 'event_desc' を未定義にすることはできません''' | ||
<div style="padding: 0.5em;background:#ffffff;"> | <div style="padding: 0.5em;background:#ffffff;"> | ||
''('event_desc' | ''(イベントアクションを説明する記述を 'event_desc' に入れてください。)''</div></div>{{#if:{{{self|}}}|| {{LSLC|FixMe}} }} }} | ||
{{#var:header}}}} | {{#var:header}}}} | ||
}}{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{event}}}}}}}|<div id="RealTitleBanner" style="display:none;"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{event}}}</span></div>}}}}{{#if:{{#var:self}}|| __NOEDITSECTION__ }}{{#var:header}} | }}{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{event}}}}}}}|<div id="RealTitleBanner" style="display:none;"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{event}}}</span></div>}}}}{{#if:{{#var:self}}|| __NOEDITSECTION__ }}{{#var:header}} | ||
{{{ | {{RightToc|font-size:80%}} | ||
{{ | <div id="box"><h2 style="display:none"> 説明 </h2>{{#ifexpr:({{#var:BugCounter}} + 0) > 0|<span class="mw-headline" style="display:block; color:#FF0000; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; font-size:120%; font-weight:bolder; margin:0pt; padding:0.2em 0.5em; text-align:left; float:right;">[[#Issues|<span title="There {{#ifeq:{{#var:BugCounter}}|1|is 1 bug|are {{#var:BugCounter}} bugs}} reported for this {{#var:type}}." style="color:#FF0000;">!</span>]]</span>}}<span id="{{anchorencode:Description}}" class="mw-headline" style="display:block; 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_Events{{#var:lang}}|イベント]]: [[{{{event}}}{{#var:lang}}|{{{event}}}]]( {{#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: 4em;"> | ||
<div id="box" style="float:right; margin: 0 0.5em; font-size:90%;" ><table><tr> | |||
<div style="padding: 0.5em"><div id="box" style="float:right;"><table><tr> | <td>{{#ifeq:{{#var:mode}}|request|REQUEST|{{HoverText|{{{event_id|}}}|このイベントのインデックス ID}}}} | ||
<td>{{#ifeq:{{#var:mode}}|request|REQUEST|{{HoverText|{{{event_id|}}}| | <td>[[LSL Event ID{{#var:lang}}|イベント ID]] | ||
<td>[[LSL Event ID{{#var:lang}}|イベント ID]] | </tr><tr {{#if:{{{event_delay|}}}||style="display:none;"}}> | ||
</tr><tr {{#if:{{{event_delay|}}}||style="display:none;"}}> | <td>{{HoverText|{{{event_delay|}}}|このタイプのイベントが発生する間隔}} | ||
<td>{{HoverText|{{{event_delay|}}}| | <td>[[LSL Delay{{#var:lang}}|遅延]] | ||
<td>[[LSL Delay{{#var:lang}}|遅延]] | </tr></table></div> | ||
</tr></table></div> | |||
{{{event_desc|event_desc undefined}}}<br/> | {{{event_desc|event_desc undefined}}}<br/> | ||
{{#if:{{#var:p1_name}}{{#var:p1_type}}{{#var:pe_name}}{{#var:pe_type}}|{{{!}} | {{#if:{{#var:p1_name}}{{#var:p1_type}}{{#var:pe_name}}{{#var:pe_type}}|{{{!}} style="margin-bottom:0.5em;" | ||
{{#if:{{#var:p1_name}}{{#var:p1_type}}|{{LSL DefineRow|1={{#var:p1_type}}|2={{#var:p1_name}}|3={{#var:p_{{#var:p1_name}}_desc}}}} | {{#if:{{#var:p1_name}}{{#var:p1_type}}|{{LSL DefineRow|1={{#var:p1_type}}|2={{#var:p1_name}}|3={{#var:p_{{#var:p1_name}}_desc}}}} | ||
{{#if:{{#var:p2_name}}{{#var:p2_type}}|{{LSL DefineRow|1={{#var:p2_type}}|2={{#var:p2_name}}|3={{#var:p_{{#var:p2_name}}_desc}}}} | {{#if:{{#var:p2_name}}{{#var:p2_type}}|{{LSL DefineRow|1={{#var:p2_type}}|2={{#var:p2_name}}|3={{#var:p_{{#var:p2_name}}_desc}}}} | ||
Line 181: | Line 190: | ||
{{#if:{{#var:pe_name}}{{#var:pe_type}}|{{LSL DefineRow|1={{#var:pe_type}}|2={{#var:pe_name}}|3={{#var:pe_desc}}}}}} | {{#if:{{#var:pe_name}}{{#var:pe_type}}|{{LSL DefineRow|1={{#var:pe_type}}|2={{#var:pe_name}}|3={{#var:pe_desc}}}}}} | ||
{{!}}} }} | {{!}}} }} | ||
{{#if:{{{event_footnote|}}}{{{event_footer|}}}| | {{#if:{{{event_footnote|}}}{{{event_footer|}}}|{{{event_footnote|}}}{{{event_footer|}}}}} | ||
{{{event_footnote|}}}{{{event_footer|}}}}} | </div></div> | ||
{{#if:{{#var:spec}}| | |||
{{#if:{{#var:spec}}| | <div id="box"> | ||
<h2>{{#if:{{#var:T_Specification}}|{{#var:T_Specification}}|仕様}}</h2> | |||
<h2> | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:spec}} | {{#var:spec}} | ||
</div></div>}} | </div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}| | ||
{{#var:constants_nb}}{{#if:{{#var:constants}}| | |||
{{#if:{{#var:constants_nb}}{{#var:constants}}| | <div id="box"><h2>{{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|定数}}</h2> | ||
<div id="box"> | |||
<h2>定数</h2> | |||
{{#var:constants}} | {{#var:constants}} | ||
</div>}}}} | </div>}}}}{{#if:{{#var:caveats}}| | ||
<div id="box"><h2>{{#if:{{#var:T_Caveats}}|{{#var:T_Caveats}}|警告}}</h2> | |||
{{#if:{{#var:caveats}}| | |||
<h2> | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:caveats}} | {{#var:caveats}} | ||
</div></div>}} | </div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}| | ||
<div id="box"><h2>{{#if:{{#var:T_Examples}}|{{#var:T_Examples}}|サンプル}}</h2> | |||
{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}| | |||
<h2> | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:examples}} | {{#var:examples}} | ||
</div></div>}} | </div></div>}}{{#if:{{#var:helpers}}| | ||
<div id="box"><h2>{{#if:{{#var:T_Useful_Snippets}}|{{#var:T_Useful_Snippets}}|便利なスニペット}}</h2> | |||
{{#if:{{#var:helpers}}| | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:helpers}} | {{#var:helpers}} | ||
</div></div>}} | </div></div>}}{{#if:{{#var:notes}}| | ||
<div id="box"><h2>{{#if:{{#var:T_Notes}}|{{#var:T_Notes}}|注意点}}</h2> | |||
{{#if:{{#var:notes}}| | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:notes}} | {{#var:notes}} | ||
</div></div>}} | </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>参考情報</h2> | |||
{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}} | <div style="padding: 0.5em;"> | ||
{{ | {{#if:{{#var:also_header}}|<div> | ||
<div style="padding: 0.5em"> | {{#var:also_header}} | ||
{{#if:{{#var:also_header}}| | </div>}}{{#if:{{#var:also_events}}| | ||
{{#var:also_header}}}}{{#if:{{#var:also_events}}| | |||
<h3>イベント</h3> | <h3>イベント</h3> | ||
{{{!}} | {{{!}} | ||
Line 244: | Line 235: | ||
{{#var:also_tests}} | {{#var:also_tests}} | ||
{{!}}} }}{{#if:{{#var:also_articles}}| | {{!}}} }}{{#if:{{#var:also_articles}}| | ||
<h3> | <h3>記事</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_articles}} | {{#var:also_articles}} | ||
{{!}}} }}{{#if:{{#var:also_library}}| | |||
<h3>ライブラリとサンプル</h3> | |||
{{{!}} | |||
{{#var:also_library}} | |||
{{!}}} }} | {{!}}} }} | ||
{{#if:{{#var:also_footer}}|< | {{#if:{{#var:also_footer}}|<div style="margin-top:0.5em;"> | ||
</div></div>}} | {{#var:also_footer}} | ||
{{ | </div>}} | ||
{{# | </div></div>}}{{#if:{{{history|}}}{{#var:history}}{{{issues|}}}{{#var:issues}}{{#var:location}}{{#var:footnotes}}{{{deepnotes|}}}{{#var:deepnotes}}{{{mono|}}}{{#var:mono}}{{{lso|}}}{{#var:lso}}| | ||
{{ | |||
<div id="box"> | <div id="box"> | ||
== 特記事項 == | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"><div> | ||
{{{deepnotes|}}}{{#var:deepnotes}} | |||
</div>{{#if:{{{mono|}}}{{#var:mono}}| | |||
<h4> Mono VM に関する注意点 </h4><div> | |||
{{{mono|}}}{{#var:mono}} | |||
</div>}}{{#if:{{{lso|}}}{{#var:lso}}| | |||
<h4> LSO VM に関する注意点 </h4><div> | |||
{{{lso|}}}{{#var:lso}} | |||
</div>}}{{#if:{{{history|}}}{{#var:history}}| | |||
<h4> 経緯 </h4><div> | |||
{{{history|}}}{{#var:history}} | |||
</div>}}{{#if:{{{issues|}}}{{#var:issues}}| | |||
<h4> 議論 </h4> | |||
{{{!}} | |||
{{{issues|}}}{{#var:issues}} | |||
{{!}}} | |||
}}{{#if:{{#var:location}}| | |||
<h4> 情報源 </h4><div> | |||
{{#var:location}} | {{#var:location}} | ||
</div>}}{{#if:{{#var:footnotes}}| | |||
<h4 style="margin-bottom:0;"> Footnotes </h4> | |||
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}} | |||
}} | |||
</div></div>}}{{#if:{{{comments|}}}|<div id="box"> | |||
<h2>コメント</h2> | |||
<div style="padding: 0.5em;"> | |||
{{{comments|}}} | |||
</div></div>}} | </div></div>}} | ||
{{#var:footer}} | |||
{{#var:footer}}< | <div style="border: 1px solid #AAAAAA; background: #FFFFCC;margin-bottom:1em;" align="center">この翻訳は '''[[{{{event}}}|原文]]''' と比べて古いですか?間違いがありますか?読みにくいですか?みんなで '''[https://wiki.secondlife.com/w/index.php?title={{{event}}}/ja&action=edit 修正]''' していきましょう! ([[LSL関連ページの翻訳方法|手順はこちら]])</div> | ||
{{#if:{{{self|}}}|| {{#switch:{{#var:mode}}|request|user=|#default= {{LSLC{{#var:lang}}|Events}} {{#ifexpr:({{#var:BugCounter}} + 0) > 0|[[Category:LSL topics with bugs{{#var:lang}}]]}} {{LSLC{{#var:lang}}|Events/ID| {{padleft:{{#var:event_id}}|5|0}}}} {{#if:{{#var:examples}}||{{LSLC{{#var:lang}}|Needs Example}}}} {{LSL Unhelpful{{#var:lang}}|{{{event}}}|}} }} {{#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 14:16, 26 September 2013
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
{{LSL_Event |event |event_id |event_delay |event_desc |event_footnote |p1_type|p1_name|p1_desc|p1_hover |p2_type|p2_name|p2_desc|p2_hover |p3_type|p3_name|p3_desc|p3_hover |p4_type|p4_name|p4_desc|p4_hover |p5_type|p5_name|p5_desc|p5_hover |p6_type|p6_name|p6_desc|p6_hover |p7_type|p7_name|p7_desc|p7_hover |p8_type|p8_name|p8_desc|p8_hover |p9_type|p9_name|p9_desc|p9_hover |p10_type|p10_name|p10_desc|p10_hover |p11_type|p11_name|p11_desc|p11_hover |p12_type|p12_name|p12_desc|p12_hover |constants |spec |caveats |examples |helpers |also_header |also_functions |also_tests |also_articles |also_footer |notes |mode |deprecated |location |cat1 |cat2 |cat3 |cat4 |cat5 |cat6 |cat7 |cat8 }}
構文の説明は Template:LSL Function にあります (ほとんど一緒ですが)。
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
仕様
仕様
警告
注意
サンプル
サンプル
便利なスニペット
参考
注意点
注意点
参考情報
同様のヘッダ
イベント
同様のイベント- also_events
関数
同様の関数- also_functions
テスト
同様のテスト- also_tests
記事
同様の記事- also_articles
同様のフッタ