Difference between revisions of "Template:Title"
From Wiki
Jump to navigationJump to search (end test) |
(Новый код) |
||
| Line 2: | Line 2: | ||
[[Category:RU/wiki templates]] | [[Category:RU/wiki templates]] | ||
</noinclude> | </noinclude> | ||
| − | <includeonly><< | + | <includeonly>{{#vardefine:t1|{{{t1}}}}}{{#vardefine:t2|{{{t2}}}}} |
| + | <section begin=title />{{#var: t1}}{{#var: t2}}<section end=title /> | ||
| + | {{DISPLAYTITLE:{{#var: t1}}{{#var: t2}}}} | ||
| + | </includeonly> | ||
Revision as of 12:31, 20 September 2010
Критически важный опорный шаблон — Core Critical Template.
| Необдуманное вмешательство в шаблон может повлечь за собой разрушение всего проекта! | Unconsidered intervention in the template may result in the destruction of the entire project! |
| № | РУС | ENG | |||
|---|---|---|---|---|---|
| ' |
Предназначение — Mission | ||||
| Данный шаблон ЗАРЕЗЕРВИРОВАН для создания более "читабельной" заголовочной части для статей с локализованным заголовками (не URL) страниц. Планируется разнести секцию title и {{DISPLAYTITLE}},чтобы не порождать конфликтов при использовании расширения DPL. А в содержимое {{DISPLAYTITLE}} добавлять шаблон по типу {{SecTitle}}, ссылающегося на собственную секцию документа.
Планируемый вид обновлённой секции: <includeonly><section begin=title /><!--
-----------------------------
-->ЗАГОЛОВОК СТАТЬИ<!--
-----------------------------
--><section end=title /></includeonly><!--
-->{{DISPLAYTITLE:<!--
-----------------------------
--> ТЕКСТ ПЕРЕД ЗАГОЛОВКОМ {{Title}} ТЕКСТ ПОСЛЕ ЗАГОЛОВКА<!--
-----------------------------
-->}}
|
This template is RESERVED for future reforms of RU/kb project
| ||||
| ' |
Параметры — Parameters | ||||
|
| |||||
| ' |
Инструкция по использованию — Operation manual | ||||
|
| |||||
| ' |
Шаблон основан на следующих шаблонах — Parent templates | ||||
| <Перечень родительских шаблонов / List of parenting templates> | <List of parenting templates>
| ||||
| ' |
Дочерние шаблоны — Subsidiaries templates | ||||
| <Перечень дочерних шаблонов / List of subsidiaries templates> | <List of subsidiaries templates>
| ||||
| ' |
Пример — Example | ||||
| |||||