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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Перевод)
(Перевод)
 
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=Template for generate headers of given level in documentation pages. Supported levels - from 2 to 6. First level reserved for page title and not using in template.
+
|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=Has three named parameters, two obligation and one optional:
+
|l2=Has three named parameters, two required and one optional:
# '''l1''' - National language header;
+
# '''l1''' is a National language heading;
# '''l2''' - English language header;
+
# '''l2''' is an English language heading;
# '''level''' - header level. Using integers from 2 to 6.
+
# '''level''' is a heading level. Specified by an integer 2 to 6.
 
}}
 
}}
 
{{Doc/doc/code/tbl/titleOperationManual}}
 
{{Doc/doc/code/tbl/titleOperationManual}}
Line 26: Line 26:
 
<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=Using only with templates:
+
|l2=It is used only with following templates:
 
* {{Tl|Doc/doc/code/tbl/begin}}
 
* {{Tl|Doc/doc/code/tbl/begin}}
 
* {{Tl|Doc/doc/code/tbl/end}}
 
* {{Tl|Doc/doc/code/tbl/end}}
because of part of fool table code.
+
because it contains part of a table code.
 
<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>
Line 44: Line 44:
 
  |examp1=<pre>{{Doc/doc/code/tbl/titleL1L2
 
  |examp1=<pre>{{Doc/doc/code/tbl/titleL1L2
 
  |l1=Научный принцип
 
  |l1=Научный принцип
  |l2=Natural (literary) principle
+
  |l2=Scientific principle
 
  |level=3}}</pre>
 
  |level=3}}</pre>
 
  |examp2=<table width="100%"><tr><td>
 
  |examp2=<table width="100%"><tr><td>
{{Doc/doc/code/tbl/titleL1L2|l1=Научный принцип|l2=Natural (literary) principle|level=3}}
+
{{Doc/doc/code/tbl/titleL1L2|l1=Научный принцип|l2=Scientific principle|level=3}}
 
</td></tr></table>
 
</td></tr></table>
 
}}
 
}}

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