Difference between revisions of "Template:Title"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Новый код)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{CoreCriticalTemplate}}{{doc}}
 
<noinclude>{{CoreCriticalTemplate}}{{doc}}
[[Category:RU/wiki templates]]
+
[[Category:RU/wiki_templates/not_used]]
 
</noinclude>
 
</noinclude>
<includeonly>{{#vardefine:t1|{{{t1}}}}}{{#vardefine:t2|{{{t2}}}}}
+
<includeonly><<!-- целевую конструкцию оказалось невозможным заставить работать внутри шаблона - несовместимая комбинация механизмов. Шаблон свободен. --></includeonly>
<section begin=title />{{#var: t1}}{{#var: t2}}<section end=title />
+
{{DISPLAYTITLE:{{#var: t1}}{{#var: t2}}}}
+
</includeonly>
+

Latest revision as of 13:32, 30 January 2011

CoreCriticalTemplate.png  Критически важный опорный шаблон    —    Core Critical Template.  

Необдуманное вмешательство в шаблон может повлечь за собой разрушение всего проекта! Unconsidered intervention in the template may result in the destruction of the entire project!
Документация Документация    —    Documentation
РУС 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

Шаблон    —    template Результат    —    result
Personal tools