Difference between revisions of "Template:LSL Constant/ja"
Jump to navigation
Jump to search
JIRA で関連バグを検索する
Asuka Neely (talk | contribs) m (add {{#var:lang}} to categories) |
Mako Nozaki (talk | contribs) |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__{{Multi-lang}}{{LSL Header/ja}}<noinclude> | __NOTOC__ {{Multi-lang|category=LSL|2=/ja}}{{LSL Header/ja}}<noinclude> | ||
資料は [[{{#var:langbase}}/docs{{#var:lang}}]] にあります。 | |||
{{#if: | {{#if: | ||
{{#vardefine:type|<nowiki>{{var:type}}</nowiki>}} | {{#vardefine:type|<nowiki>{{var:type}}</nowiki>}} | ||
Line 8: | Line 8: | ||
{{#vardefine:type|<nowiki>{{var:type}}</nowiki>}} | {{#vardefine:type|<nowiki>{{var:type}}</nowiki>}} | ||
{{#vardefine:examples|<nowiki>{{var:examples}}</nowiki>}} | {{#vardefine:examples|<nowiki>{{var:examples}}</nowiki>}} | ||
{{#vardefine:caveats|<nowiki>{{var:caveats}}</nowiki>}} | |||
{{#vardefine:desc|<nowiki>{{var:desc}}</nowiki>}} | {{#vardefine:desc|<nowiki>{{var:desc}}</nowiki>}} | ||
{{#vardefine:functions|{{!}}<nowiki>{{var:functions}}</nowiki>}} | {{#vardefine:functions|{{!}}<nowiki>{{var:functions}}</nowiki>}} | ||
Line 13: | Line 14: | ||
{{#vardefine:events|{{!}}<nowiki>{{var:events}}</nowiki>}} | {{#vardefine:events|{{!}}<nowiki>{{var:events}}</nowiki>}} | ||
{{#vardefine:location|<nowiki>{{var:location}}</nowiki>}} | {{#vardefine:location|<nowiki>{{var:location}}</nowiki>}} | ||
{{#vardefine:articles|<nowiki>{{var:articles}}</nowiki>}} | |||
{{#vardefine:pa|<nowiki>{{var:pa}}</nowiki>}} | {{#vardefine:pa|<nowiki>{{var:pa}}</nowiki>}} | ||
{{#vardefine:pb|<nowiki>{{var:pb}}</nowiki>}} | {{#vardefine:pb|<nowiki>{{var:pb}}</nowiki>}} | ||
Line 18: | Line 20: | ||
{{#vardefine:pd|<nowiki>{{var:pd}}</nowiki>}} | {{#vardefine:pd|<nowiki>{{var:pd}}</nowiki>}} | ||
{{#vardefine:float|<nowiki>{{var:float}}</nowiki>}} | {{#vardefine:float|<nowiki>{{var:float}}</nowiki>}} | ||
{{#vardefine:issues|<nowiki>{{var:issues}}</nowiki>}} | |||
{{#vardefine:notes|<nowiki>{{var:notes}}</nowiki>}} | |||
{{#vardefine:footnotes|<nowiki>{{var:footnotes}}</nowiki>}} | |||
{{#vardefine:history|<nowiki>{{var:history}}</nowiki>}} | |||
{{#vardefine:deepnotes|<nowiki>{{var:deepnotes}}</nowiki>}} | |||
{{#vardefine:header|<nowiki>{{var:header}}</nowiki>}} | |||
}} | }} | ||
<pre> | <pre> | ||
Line 40: | Line 48: | ||
</pre> | </pre> | ||
=例= | =例{{Anchor|Example}}= | ||
</noinclude>{{#if: | </noinclude>{{#if: | ||
{{#vardefine:type|{{#if:{{{type|}}}|{{{type|}}}|{{#var:type}}}}}} | {{#vardefine:type|{{#if:{{{type|}}}|{{{type|}}}|{{#var:type}}}}}} | ||
{{#vardefine:name|{{#if:{{{name|}}}|{{{name|}}}|{{#var:name}}}}}} | {{#vardefine:name|{{#if:{{{name|}}}|{{{name|}}}|{{#var:name}}}}}} | ||
{{#vardefine:value|{{#if:{{{value|}}}|{{{value|}}}|{{#var:value}}}}}} | {{#vardefine:value|{{#if:{{{value|}}}|{{{value|}}}|{{#var:value}}}}}} | ||
{{#vardefine:article_type|定数}} | |||
{{{inject-1|}}} | |||
}}<includeonly>{{#if: | }}<includeonly>{{#if: | ||
{{#vardefine:issues|{{#var:issues}} | |||
{{{issues|}}}}} | |||
{{#vardefine:comment|{{{comment|}}}{{#var:comment}}}} | {{#vardefine:comment|{{{comment|}}}{{#var:comment}}}} | ||
{{#vardefine:sort|{{lcfirst:{{#var:name}}}}}} | {{#vardefine:sort|{{lcfirst:{{#var:name}}}}}} | ||
{{#vardefine:self|{{{self|}}}{{#var:self}}}} | {{#vardefine:self|{{{self|}}}{{#var:self}}}} | ||
{{#vardefine:also_tests|{{#var:also_tests}} | |||
{{{also_tests|}}}}} | |||
}}<div id="RealTitleBanner" style="display:none;"> | }}<div id="RealTitleBanner" style="display:none;"> | ||
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#var:name}}</span></div> __NOEDITSECTION__ {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{#var:self}}|| | <span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#var:name}}</span></div> __NOEDITSECTION__ {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{#var:self}}||{{LSLC{{#var:lang}}|Constants|{{#var:name}}}}{{LSLC{{#var:lang}}|{{ucfirst:{{#var:type}}}}|{{#var:name}}}}{{#ifexpr:{{#var:BugCounter|0}} > 0|[[Category:LSL topics with bugs{{#var:lang}}]]}}}} | ||
</includeonly> | </includeonly>{{#var:header}} | ||
<div id="box"> | {{RightToc|font-size:80%}} | ||
== [[{{#var:type}} | <div id="box"><h2 style="display:none"> 解説 </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}}" 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;"> 定数: [[{{#var:type}}{{#var:lang}}|{{#var:type}}]] {{HoverLink|1={{#var:name}}{{#var:lang}}|2={{#var:comment}}|3={{#var:name}}}} = {{#var:value}}; </span> | ||
<div style="padding: 0.5em">{{#if:{{{float|}}}{{#var:float}}|<div style="float:right;"> | <div style="padding: 0.5em">{{#if:{{{float|}}}{{#var:float}}|<div style="float:right;"> | ||
{{{float|}}}{{#var:float}} | {{{float|}}}{{#var:float}} | ||
</div>}} | </div>}} | ||
{{#var:type}}定数{{#var:name}} | {{#var:type}} 定数 {{#var:name}} の値は {{#var:value}} です。 {{#if:{{{desc|}}}{{#var:desc}}|<br/><br/> | ||
{{{desc|}}}{{#var:desc}}}} | |||
</div></div> | </div></div> | ||
{{#if:{{{pa|}}}{{#var:pa}}| | {{#if:{{{pa|}}}{{#var:pa}}| | ||
Line 68: | Line 93: | ||
}}{{#if:{{{pd|}}}{{#var:pd}}| | }}{{#if:{{{pd|}}}{{#var:pd}}| | ||
{{{pd|}}}{{#var:pd}} | {{{pd|}}}{{#var:pd}} | ||
}}<div id="box"> | }} | ||
== | <div id="box"> | ||
== 警告{{Anchor|Caveats}} == | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#if:{{{constants|}}}{{#var:constants}}|<h3>定数</h3> | {{LSL_Generic/Caveats/ja|caveats={{{caveats|}}} | ||
{{#var:caveats}}|bugs={{#var:bugs}}}} | |||
</div></div><div id="box"> | |||
== 関連記事{{Anchor|Related Articles}} == | |||
<div style="padding: 0.5em"> | |||
{{#if:{{{constants|}}}{{#var:constants}}{{#var:also_constants}}|<h3>定数</h3> | |||
{{{!}} | {{{!}} | ||
{{{constants|}}}{{#var:constants}} | {{{constants|}}}{{#var:constants}}{{#var:also_constants}} | ||
{{!}}} }}{{#if:{{{functions|}}}{{#var:functions}}|<h3>関数</h3> | {{!}}} }}{{#if:{{{functions|}}}{{#var:functions}}{{#var:also_functions}}|<h3>関数</h3> | ||
{{{!}} | {{{!}} | ||
{{{functions|{{#var:functions}} | {{{functions|}}}{{#var:functions}}{{#var:also_functions}} | ||
{{!}}} }}{{#if:{{{events|}}}{{#var:events}}|<h3>イベント</h3> | {{!}}} }}{{#if:{{{events|}}}{{#var:events}}{{#var:also_events}}|<h3>イベント</h3> | ||
{{{!}} | {{{!}} | ||
{{{events|}}}{{#var:events}} | {{{events|}}}{{#var:events}}{{#var:also_events}} | ||
{{!}}} }}{{#if:{{{articles|}}}{{#var:articles}}|<h3> | {{!}}} }}{{#if:{{{articles|}}}{{#var:articles}}{{#var:also_articles}}|<h3>記事</h3> | ||
{{{!}} | {{{!}} | ||
{{{articles|}}}{{#var:articles}} | {{{articles|}}}{{#var:articles}}{{#var:also_articles}} | ||
{{!}}} }}</div></div> | {{!}}} }}</div></div>{{#if:{{{examples|}}}{{#var:examples}}|<div id="box"> | ||
{{#if:{{{examples|}}}{{#var:examples}}| | == サンプル{{Anchor|Examples}} == | ||
<div id="box"> | |||
== | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{{examples|}}}{{#var:examples}} | {{{examples|}}}{{#var:examples}} | ||
</div></div> | </div></div>}}{{#if:{{{helpers|}}}{{#var:helpers}}|<div id="box"> | ||
}} | == Useful Snippets == | ||
{{#if:{{{ | <div style="padding: 0.5em"> | ||
<div id="box"> | {{{helpers|}}}{{#var:helpers}} | ||
== | </div></div>}}{{#if:{{{notes|}}}{{#var:notes}}|<div id="box"> | ||
== 注意事項{{Anchor|Notes}} == | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#if:{{#var:notes}}|{{#var:notes}}{{#if:{{{notes|}}}|<br/> | |||
{{{notes|}}}}}|{{{notes|}}}}} | |||
</div></div>}}<div id="box"> | |||
== 特記事項{{Anchor|Deep Notes}} == | |||
<div style="padding: 0.5em"><div> | |||
{{{deepnotes|}}}{{#var:deepnotes}} | |||
</div>{{#if:{{{history|}}}{{#var:history}}| | |||
<h4> 経緯 </h4><div> | |||
{{{history|}}}{{#var:history}} | |||
</div>}} | |||
{{Anchor|Issues}}{{LSL_Generic/Issues/ja}}{{#if:{{#var:also_tests}}| | |||
<h3>テスト{{Anchor|Tests}}</h3> | |||
{{{!}} | |||
{{#var:also_tests}} | |||
{{!}}} | |||
}}{{#if:{{{location|}}}{{#var:location}}| | |||
<h4> 情報源{{Anchor|Source}} </h4><div> | |||
{{{location|}}}{{#var:location}} | {{{location|}}}{{#var:location}} | ||
</div>}}{{#if:{{#var:footnotes}}| | |||
<h4 style="margin-bottom:0;"> 脚注{{Anchor|Footnotes}} </h4> | |||
{{{{#if:{{#var:footnotes}}|Footnotes|}}|}} | |||
}} | |||
</div></div> | </div></div> | ||
<div style="border: 1px solid #AAAAAA; background: #FFFFCC;margin-bottom:1em;" align="center">この翻訳は '''[[{{{name}}}|原文]]''' と比べて古いですか?間違いがありますか?読みにくいですか?みんなで '''[https://wiki.secondlife.com/w/index.php?title={{{name}}}/ja&action=edit 修正]''' していきましょう! ([[LSL関連ページの翻訳方法|手順はこちら]])</div> | |||
{{#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}}}}}}} | |||
<div | |||
{{{ | |||
{{#if:{{{ |
Latest revision as of 01:50, 5 February 2011
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
資料は Template:LSL Constant/docs/ja にあります。
{{LSL Constant/ja |name |type |value |desc |examples |events |functions |location |history |comment |cat1 |cat2 |cat3 |cat4 |cat5 |cat6 }}
例
{{var:header}}
解説
定数: [[{{var:type}}/ja|{{var:type}}]] [[{{var:name}}/ja|{{var:name}}]] = {{var:value}};{{var:float}}
{{var:type}} 定数 {{var:name}} の値は {{var:value}} です。
{{var:desc}}
{{var:pa}}{{var:pb}}{{var:pc}}{{var:pd}}
警告
{{var:caveats}}
関連記事
定数
{{var:constants}} |
関数
{{var:functions}} |
イベント
{{var:events}} |
記事
{{var:articles}}サンプル
{{var:examples}}
注意事項
{{var:notes}}
特記事項
{{var:deepnotes}}
経緯
{{var:history}}
全ての記事
~ JIRA で関連記事を検索
{{var:issues}}
情報源
{{var:location}}
脚注
{{var:footnotes}}