Difference between revisions of "Template:LSL Constant/ru"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Multi-lang|category=LSL}}{{LSL Header}}<noinclude> See [[{{#var:langbase}}/docs{{#var:lang}}]] for documentation. {{#if: {{#vardefine:type|<nowiki>{{var:type}}</nowik…")
 
(Replace deprecated ParserFunctions "#pad" with built-in "Magic word" "padleft")
 
(One intermediate revision by one other user not shown)
Line 50: Line 50:
</pre>
</pre>


=Example=
=Пример=
</noinclude>{{#if:
</noinclude>{{#if:


Line 96: Line 96:
{{{float|}}}{{#var:float}}
{{{float|}}}{{#var:float}}
</div>}}
</div>}}
The {{{type}}} constant {{{name}}} has the value {{#var:value}}{{#if:{{{desc|}}}{{#var:desc}}|<br/><br/>
{{{name}}} - константа типа {{{type}}} со значением {{#var:value}}{{#if:{{{desc|}}}{{#var:desc}}|<br/><br/>
{{{desc|}}}
{{{desc|}}}
{{#var:desc}}|[[Category:LSL FixMe{{#var:lang}}]]}}
{{#var:desc}}|[[Category:LSL FixMe{{#var:lang}}]]}}
Line 110: Line 110:
}}
}}
<div id="box">
<div id="box">
== Caveats ==
== Предостережения ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{LSL_Generic/Caveats|caveats={{{caveats|}}}
{{LSL_Generic/Caveats|caveats={{{caveats|}}}
{{#var:caveats}}|bugs={{#var:bugs}}}}
{{#var:caveats}}|bugs={{#var:bugs}}}}
</div></div><div id="box">
</div></div><div id="box">
== Related Articles ==
== См. также ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#if:{{{constants|}}}{{#var:constants}}{{#var:also_constants}}|<h3>Constants</h3>
{{#if:{{{constants|}}}{{#var:constants}}{{#var:also_constants}}|<h3>Константы</h3>
{{{!}}
{{{!}}
{{{constants|}}}{{#var:constants}}{{#var:also_constants}}
{{{constants|}}}{{#var:constants}}{{#var:also_constants}}
{{!}}} }}{{#if:{{{functions|}}}{{#var:functions}}{{#var:also_functions}}|<h3>Functions</h3>
{{!}}} }}{{#if:{{{functions|}}}{{#var:functions}}{{#var:also_functions}}|<h3>Функции</h3>
{{{!}}
{{{!}}
{{!}}-
{{!}}-
Line 129: Line 129:
{{#var:also_functions}}
{{#var:also_functions}}
{{!}}-
{{!}}-
{{!}}} }}{{#if:{{{events|}}}{{#var:events}}{{#var:also_events}}|<h3>Events</h3>
{{!}}} }}{{#if:{{{events|}}}{{#var:events}}{{#var:also_events}}|<h3>События</h3>
{{{!}}
{{{!}}
{{!}}-
{{!}}-
Line 138: Line 138:
{{#var:also_events}}
{{#var:also_events}}
{{!}}-
{{!}}-
{{!}}} }}{{#if:{{{articles|}}}{{#var:articles}}{{#var:also_articles}}|<h3>Articles</h3>
{{!}}} }}{{#if:{{{articles|}}}{{#var:articles}}{{#var:also_articles}}|<h3>Статьи</h3>
{{{!}}
{{{!}}
{{!}}-
{{!}}-
Line 148: Line 148:
{{!}}-
{{!}}-
{{!}}} }}</div></div>{{#if:{{{examples|}}}{{#var:examples}}|<div id="box">
{{!}}} }}</div></div>{{#if:{{{examples|}}}{{#var:examples}}|<div id="box">
== Examples ==
== Примеры ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{{examples|}}}{{#var:examples}}
{{{examples|}}}{{#var:examples}}
</div></div>}}{{#if:{{{helpers|}}}{{#var:helpers}}|<div id="box">
</div></div>}}{{#if:{{{helpers|}}}{{#var:helpers}}|<div id="box">
== Useful Snippets ==
== Полезные вырезки ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{{helpers|}}}{{#var:helpers}}
{{{helpers|}}}{{#var:helpers}}
</div></div>}}{{#if:{{{notes|}}}{{#var:notes}}|<div id="box">
</div></div>}}{{#if:{{{notes|}}}{{#var:notes}}|<div id="box">
== Notes ==
== Заметки ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#if:{{#var:notes}}|{{#var:notes}}{{#if:{{{notes|}}}|<br/>
{{#if:{{#var:notes}}|{{#var:notes}}{{#if:{{{notes|}}}|<br/>
{{{notes|}}}}}|{{{notes|}}}}}
{{{notes|}}}}}|{{{notes|}}}}}
</div></div>}}<div id="box">
</div></div>}}<div id="box">
== Deep Notes ==
== Глубинные заметки ==
<div style="padding: 0.5em"><div>
<div style="padding: 0.5em"><div>
{{{deepnotes|}}}{{#var:deepnotes}}
{{{deepnotes|}}}{{#var:deepnotes}}
</div>{{#if:{{{history|}}}{{#var:history}}|
</div>{{#if:{{{history|}}}{{#var:history}}|
<h4> History </h4><div>
<h4> История </h4><div>
{{{history|}}}{{#var:history}}
{{{history|}}}{{#var:history}}
</div>}}
</div>}}
{{Anchor|Issues}}{{LSL_Generic/Issues}}{{#if:{{#var:also_tests}}|
{{Anchor|Issues}}{{LSL_Generic/Issues}}{{#if:{{#var:also_tests}}|
<h3>Tests</h3>
<h3>Тестирование</h3>
{{{!}}
{{{!}}
{{#var:also_tests}}
{{#var:also_tests}}
{{!}}}
{{!}}}
}}{{#if:{{{location|}}}{{#var:location}}|
}}{{#if:{{{location|}}}{{#var:location}}|
<h4> Source </h4><div>
<h4> Исходный код </h4><div>
{{{location|}}}{{#var:location}}
{{{location|}}}{{#var:location}}
</div>}}{{#if:{{#var:footnotes}}|
</div>}}{{#if:{{#var:footnotes}}|
<h4 style="margin-bottom:0;"> Footnotes </h4>
<h4 style="margin-bottom:0;"> Сноски </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={{!}}
{{Collapsible_Table|collapsed=*|table-style=width:100%;|title-style=text-align:left;|title=<h4 style="margin-top:0;">Подписи</h4>|content={{!}}
{{#tag:pre|{{#var:signature}}|id="lsl-signature"}}}}
{{#tag:pre|{{#var:signature}}|id="lsl-signature"}}}}
</div></div>{{#if:{{#var:self}}|| {{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}|| [[Category:LSL Functions{{#var:lang}}]] {{#if:{{#pos:{{#var:moded}}|f}}|[[Category:LSL Keywords/Pre-release{{#var:lang}}]]|[[Category:LSL Keywords/All{{#var:lang}}]]{{#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}}]]}}}} {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}} }} {{#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}}]]}} }}
</div></div>{{#if:{{#var:self}}|| {{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}|| [[Category:LSL Functions{{#var:lang}}]] {{#if:{{#pos:{{#var:moded}}|f}}|[[Category:LSL Keywords/Pre-release{{#var:lang}}]]|[[Category:LSL Keywords/All{{#var:lang}}]]{{#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}}]]}}}} {{#if:{{#var:examples}}||[[Category:LSL Needs Example{{#var:lang}}]]}} }} {{#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}}]]}} }}

Latest revision as of 02:06, 20 August 2023

See Template:LSL Constant/docs/ru for documentation.

{{LSL Constant
|name
|type
|value
|desc
|examples
|events
|functions
|location
|history
|comment
|cat1
|cat2
|cat3
|cat4
|cat5
|cat6
}}

Пример

{{var:header}}

Description

Constant: [[{{{type}}}/ru|{{{type}}}]] [[{{{name}}}/ru|{{{name}}}]] = {{var:value}};

{{var:float}}

{{{name}}} - константа типа {{{type}}} со значением {{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}}

All Issues

~ Search JIRA for related Issues {{var:issues}}

Исходный код

{{var:location}}

Сноски

    {{var:footnotes}}

Подписи