Difference between revisions of "Template:Doc/doc/code/tbl/titleL1L2/doc"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Добавлены параметры)
(Перевод)
 
(3 intermediate revisions by one other user not shown)
Line 4: Line 4:
 
{{Doc/doc/code/tbl/titleMission}}
 
{{Doc/doc/code/tbl/titleMission}}
 
{{Doc/doc/code/tbl/strL10n
 
{{Doc/doc/code/tbl/strL10n
|l1=Шаблон для формирования заголовков заданного уровня внутри страниц документации. Поддерживаемые уровни - от 2 до 6. Первый уровень отводится заголовку статьи, поэтому не используется в шаблоне.
+
|l1=Шаблон для формирования заголовков заданного уровня внутри страниц документации. Поддерживаемые уровни — от 2 до 6. Первый уровень отводится заголовку статьи, поэтому не используется в шаблоне.
|l2=
+
|l2=This template is used for generating headings of predetermined levels in documentation pages. Allowed levels are 2 to 6. The top-level heading is automatically generated and gives the article title, so it cannot be used in the template.
 
}}
 
}}
 
{{Doc/doc/code/tbl/titleParameters}}
 
{{Doc/doc/code/tbl/titleParameters}}
 
{{Doc/doc/code/tbl/strL10n
 
{{Doc/doc/code/tbl/strL10n
|l1=Имеет три именованных параметра: два обязательных и третий опциональный:
+
|l1=Имеет три именованных параметра, два обязательных и третий опциональный:
# '''l1''' - Заголовок на русском (национальном) языке;
+
# '''l1''' — Заголовок на русском (национальном) языке;
# '''l2''' - Заголовок на английском языке;
+
# '''l2''' — Заголовок на английском языке;
# '''level''' - уровень заголовка. Обозначается цифрами от 2 до 6.
+
# '''level''' — уровень заголовка. Обозначается цифрами от 2 до 6.
|l2=
+
|l2=Has three named parameters, two required and one optional:
 +
# '''l1''' is a National language heading;
 +
# '''l2''' is an English language heading;
 +
# '''level''' is a heading level. Specified by an integer 2 to 6.
 
}}
 
}}
 
{{Doc/doc/code/tbl/titleOperationManual}}
 
{{Doc/doc/code/tbl/titleOperationManual}}
 
{{Doc/doc/code/tbl/strL10n
 
{{Doc/doc/code/tbl/strL10n
 
|l1=Используется только вместе с шаблонами:
 
|l1=Используется только вместе с шаблонами:
* {{Tag|Doc/doc/code/tbl/begin}}
+
* {{Tl|Doc/doc/code/tbl/begin}}
* {{Tag|Doc/doc/code/tbl/end}}
+
* {{Tl|Doc/doc/code/tbl/end}}
 
так как содержит часть кода формирования таблицы.
 
так как содержит часть кода формирования таблицы.
 
<pre>{{Doc/doc/code/tbl/titleL1L2
 
<pre>{{Doc/doc/code/tbl/titleL1L2
 
  |l1=Научный принцип
 
  |l1=Научный принцип
  |l2=Natural (literary) principle
+
  |l2=Scientific principle
 
  |level=3
 
  |level=3
 
}}</pre>
 
}}</pre>
|l2=<pre>{{Doc/doc/code/tbl/titleL1L2
+
|l2=It is used only with following templates:
 +
* {{Tl|Doc/doc/code/tbl/begin}}
 +
* {{Tl|Doc/doc/code/tbl/end}}
 +
because it contains part of a table code.
 +
<pre>{{Doc/doc/code/tbl/titleL1L2
 
  |l1=Научный принцип
 
  |l1=Научный принцип
  |l2=Natural (literary) principle
+
  |l2=Scientific principle
 
  |level=3
 
  |level=3
 
}}</pre>
 
}}</pre>
 
}}
 
}}
 
{{Doc/doc/code/tbl/titleExample}}
 
{{Doc/doc/code/tbl/titleExample}}
|-
+
{{Doc/doc/code/tbl/exampleBegin}}
| colspan="2" |
+
{{Doc/doc/code/tbl/exampleStrL10n
{| class="prettytable" style="width:100%"
+
  |examp1=<pre>{{Doc/doc/code/tbl/titleL1L2
|-
+
!Шаблон{{Doc/doc/code/tbl/titleSeparator}}template
+
!Результат{{Doc/doc/code/tbl/titleSeparator}}result
+
|-
+
  |<pre>{{Doc/doc/code/tbl/titleL1L2
+
 
  |l1=Научный принцип
 
  |l1=Научный принцип
  |l2=Natural (literary) principle
+
  |l2=Scientific principle
  |level=3
+
  |level=3}}</pre>
}}</pre>
+
  |examp2=<table width="100%"><tr><td>
  |
+
{{Doc/doc/code/tbl/titleL1L2|l1=Научный принцип|l2=Scientific principle|level=3}}
|}
+
</td></tr></table>
 +
}}
 +
{{Doc/doc/code/tbl/exampleEnd}}
 
{{Doc/doc/code/tbl/end}}
 
{{Doc/doc/code/tbl/end}}
 
<noinclude>
 
<noinclude>
 
[[Category:Navigation_templates:for_templates|{{PAGENAME}}]]
 
[[Category:Navigation_templates:for_templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:07, 16 November 2010

РУС ENG
'

Предназначение    —    Mission

Шаблон для формирования заголовков заданного уровня внутри страниц документации. Поддерживаемые уровни — от 2 до 6. Первый уровень отводится заголовку статьи, поэтому не используется в шаблоне. This template is used for generating headings of predetermined levels in documentation pages. Allowed levels are 2 to 6. The top-level heading is automatically generated and gives the article title, so it cannot be used in the template.


'

Параметры    —    Parameters

Имеет три именованных параметра, два обязательных и третий опциональный:
  1. l1 — Заголовок на русском (национальном) языке;
  2. l2 — Заголовок на английском языке;
  3. level — уровень заголовка. Обозначается цифрами от 2 до 6.
Has three named parameters, two required and one optional:
  1. l1 is a National language heading;
  2. l2 is an English language heading;
  3. level is a heading level. Specified by an integer 2 to 6.


'

Инструкция по использованию    —    Operation manual

Используется только вместе с шаблонами:

так как содержит часть кода формирования таблицы.

{{Doc/doc/code/tbl/titleL1L2
 |l1=Научный принцип
 |l2=Scientific principle
 |level=3
}}
It is used only with following templates:

because it contains part of a table code.

{{Doc/doc/code/tbl/titleL1L2
 |l1=Научный принцип
 |l2=Scientific principle
 |level=3
}}


'

Пример    —    Example

Шаблон    —    template Результат    —    result
{{Doc/doc/code/tbl/titleL1L2
 |l1=Научный принцип
 |l2=Scientific principle
 |level=3}}
'

Научный принцип    —    Scientific principle

Personal tools