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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Добавлена колонка с номером)
(Убрана вертикальная черта после номера.)
Line 3: Line 3:
 
</noinclude>
 
</noinclude>
 
|-
 
|-
| style="border-right: 1px dotted"|{{{nom|{{{nom|}}}}}}
+
|{{{nom|{{{nom|}}}}}}
 
!colspan="2" |
 
!colspan="2" |
 
{{#switch: {{{level|{{{level}}}}}}
 
{{#switch: {{{level|{{{level}}}}}}

Revision as of 11:08, 22 September 2010

Документация Документация    —    Documentation
РУС 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

|- | !colspan="2" |

{{{l1}}}    —    {{{l2}}}

Personal tools