Difference between revisions of "Template:RUDocToc"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
Line 5: Line 5:
 
   <div id="icon" style="float:right; margin-right: -15px; margin-top: -10px;">[[Image:Book.png]]</div>
 
   <div id="icon" style="float:right; margin-right: -15px; margin-top: -10px;">[[Image:Book.png]]</div>
  
   <div id="bookid" style="border:1px solid #9BC0F5; padding: 0px; font-size: xx-small; background-color: #ebf5fb<!-- #FFF -->; text-align: center;">
+
   <div id="bookid" style="border:1px solid #9BC0F5; padding: 0px; font-size: xx-small; background-color: #ebf5fb; text-align: center;">
 
     <div id="doc_toctitle" class="docooo_toctitle docsection"><!--
 
     <div id="doc_toctitle" class="docooo_toctitle docsection"><!--
 
-------------------------------------------------------------------------------------------
 
-------------------------------------------------------------------------------------------
 
Заголовок блока = секция bookname одного из родительских разделов.  
 
Заголовок блока = секция bookname одного из родительских разделов.  
 
!!!!!Нужно вставить алгоритм поиска секции в вышестоящих разделах!!!!
 
!!!!!Нужно вставить алгоритм поиска секции в вышестоящих разделах!!!!
-->{{#lst:{{#rel2abs: ./}}|bookname}} {{#lst:{{#rel2abs: ..}}|bookname}} {{#lst:{{#rel2abs: ../..}}|bookname}} {{#lst:{{#rel2abs: ../../..}}|bookname}}
+
-->{{#lst:{{#rel2abs: .}}|bookname}} {{#lst:{{#rel2abs: ..}}|bookname}} {{#lst:{{#rel2abs: ../..}}|bookname}} {{#lst:{{#rel2abs: ../../..}}|bookname}}
  
 
{|border=0 width=100%
 
{|border=0 width=100%
Line 30: Line 30:
 
{|border=0 width=100%
 
{|border=0 width=100%
 
|-
 
|-
|style="text-align:left;"|← {{#lst:{{#rel2abs: ./}}|prev}}
+
|style="text-align:left;"|← {{SecTitle|{{#lst:{{#rel2abs: ./}}|prev}}}}
|style="text-align:right;"|{{#lst:{{#rel2abs: ./}}|next}} →
+
|style="text-align:right;"|{{SecTitle{{#lst:{{#rel2abs: ./}}|next}}}} →
 
|}
 
|}
 
</div>
 
</div>
 
</div></includeonly>
 
</div></includeonly>

Revision as of 18:37, 13 October 2010

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

Необдуманное вмешательство в шаблон может повлечь за собой разрушение всего проекта! Unconsidered intervention in the template may result in the destruction of the entire project!
Документация Документация    —    Documentation


РУС ENG
'

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

Этот шаблон зарезервирован для оформления навигации по книгам и руководствам. This template reserved for navigation block in books and guides


'

Параметры    —    Parameters

<Описание параметров шаблона на национальном языке / Description of the template parameters in the national language> <Description of the template parameters in English>


'

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

<Инструкция по использованию шаблона на национальном языке / Instructions for using the template in the national language> <Instructions for using the template in English>
<Инструкция по использованию шаблона на национальном языке / Instructions for using the template in the national language> <Instructions for using the template in English>
<Инструкция по использованию шаблона на национальном языке / Instructions for using the template in the national language> <Instructions for using the template in English>


'

Шаблон основан на следующих шаблонах    —    Parent templates

<Перечень родительских шаблонов / List of parenting templates> <List of parenting templates>


'

Дочерние шаблоны    —    Subsidiaries templates

<Перечень дочерних шаблонов / List of subsidiaries templates> <List of subsidiaries templates>


'

Пример    —    Example

Шаблон    —    template Результат    —    result
{{RUDocToc}}
Book.png
[[Template:RUDocToc|Template loop detected: Template:RUDocToc]]
Template loop detected: Template:RUDocToc
[[Template loop detected: Template:RUDocToc|]] →
{{RUDocToc|1}}
Book.png
Содержание
Template loop detected: Template:RUDocToc
[[Template loop detected: Template:RUDocToc|Вперёд]]
Personal tools