Difference between revisions of "Template:RUDocToc"
From Apache OpenOffice Wiki
m |
(-{{CoreCriticalTemplate}}) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>{{doc}} |
− | [[Category:RU/ | + | [[Category:RU/wiki_templates/not_used]] |
</noinclude><includeonly><div id="tocwrapper" clear:both; class="docooo_tocwrapper" style="float:right; width: 23%; padding: 0px; border: 3px solid #fff; border-left: 20px solid #fff; border-bottom: 20px solid #fff; margin-left: 3px; margin-bottom: 20px; margin-top: -5px;"> | </noinclude><includeonly><div id="tocwrapper" clear:both; class="docooo_tocwrapper" style="float:right; width: 23%; padding: 0px; border: 3px solid #fff; border-left: 20px solid #fff; border-bottom: 20px solid #fff; margin-left: 3px; margin-bottom: 20px; margin-top: -5px;"> | ||
Line 22: | Line 22: | ||
-->{{#if: {{#lst:{{#rel2abs: ../../..}}|bookname}} | {{SectionLink|{{#rel2abs: ../../..}}|bookname}}}}<!-- Если выше на три уровня | -->{{#if: {{#lst:{{#rel2abs: ../../..}}|bookname}} | {{SectionLink|{{#rel2abs: ../../..}}|bookname}}}}<!-- Если выше на три уровня | ||
------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ||
− | --></div> | + | -->}}</div> |
<div id="tocbody" class="docooo_tocbody" style="padding: 6px; text-align: left;"><!-- | <div id="tocbody" class="docooo_tocbody" style="padding: 6px; text-align: left;"><!-- | ||
------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ||
Line 39: | Line 39: | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
− | -->{{#if: | + | Проверки не срабатывают, нужно убрать вложенность циклов... |
− | -->← {{#if: {{{1|}}} | + | |
− | -->[[{{#rel2abs: {{#lst: {{#rel2abs: .}}|prev}}}}|Назад]] | + | -->{{#if: {{#lst: {{#rel2abs: .}}|prev}} | <!-- если существует ссылка на предыдущую статью |
+ | -->← {{#if: {{{1|}}} {{!}} <!-- Если шаблон вызван с параметром, | ||
+ | -->[[{{#rel2abs: {{#lst: {{#rel2abs: .}}|prev}}}}|Назад]] {{!}}<!-- выводим статичный текст | ||
-->{{SecTitle|{{#rel2abs: {{#lst: {{#rel2abs: .}}|prev}}}}}}<!-- иначе, выводим название страницы | -->{{SecTitle|{{#rel2abs: {{#lst: {{#rel2abs: .}}|prev}}}}}}<!-- иначе, выводим название страницы | ||
-->}}<!-- | -->}}<!-- | ||
-->}} | -->}} | ||
|style="text-align:right;"|<!-- если существует ссылка на следующую статью | |style="text-align:right;"|<!-- если существует ссылка на следующую статью | ||
− | -->{{#if: | + | -->{{#if: {{#lst: {{#rel2abs: .}}|next}} | <!-- |
-->{{#if: {{{1|}}} | <!-- Если шаблон вызван с параметром, | -->{{#if: {{{1|}}} | <!-- Если шаблон вызван с параметром, | ||
-->[[{{#rel2abs: {{#lst: {{#rel2abs: .}}|next}}}}|Вперёд]] |<!-- выводим статичный текст | -->[[{{#rel2abs: {{#lst: {{#rel2abs: .}}|next}}}}|Вперёд]] |<!-- выводим статичный текст |
Latest revision as of 11:16, 1 May 2011
{{#ifexist:{{#rel2abs:Template:RUDocToc/doc}}|{{#ifeq:|yes||[просмотр|review] }}[[{{fullurl:{{#rel2abs:Template:RUDocToc/doc}}|action=edit}} править|edit]] {{#ifeq:|yes||[[{{fullurl:{{#rel2abs:Template:RUDocToc/doc}}|action=history}} история|history]]}}|[[{{fullurl:{{#rel2abs:Template:RUDocToc/doc}}|action=edit&redlink=1}} создать|create]]}} {{#ifeq:yes|yes||[[{{fullurl:{{#rel2abs:Template:RUDocToc/doc}}|action=watch}} следить|watch]] }}[обновить|purge]
Документация — Documentation
{{#ifexist:Template:RUDocToc/doc|
№ | РУС | ENG | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
' |
{{#switch: {{{level}}} |
2 =
Предназначение — Mission |
3 =
Предназначение — Mission |
4 =
Предназначение — Mission |
5 =
Предназначение — Mission |
6 =
Предназначение — Mission |
#default =
Предназначение — Mission}} | |||||
Этот шаблон зарезервирован для оформления навигации по книгам и руководствам. | This template reserved for navigation block in books and guides
| |||||||||||
' |
{{#switch: {{{level}}} |
2 =
Параметры — Parameters |
3 =
Параметры — Parameters |
4 =
Параметры — Parameters |
5 =
Параметры — Parameters |
6 =
Параметры — Parameters |
#default =
Параметры — Parameters}} | |||||
<Описание параметров шаблона на национальном языке / Description of the template parameters in the national language> | <Description of the template parameters in English>
| |||||||||||
' |
{{#switch: {{{level}}} |
2 =
Инструкция по использованию — Operation manual |
3 =
Инструкция по использованию — Operation manual |
4 =
Инструкция по использованию — Operation manual |
5 =
Инструкция по использованию — Operation manual |
6 =
Инструкция по использованию — Operation manual |
#default =
Инструкция по использованию — 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>
| |||||||||||
' |
{{#switch: {{{level}}} |
2 =
Шаблон основан на следующих шаблонах — Parent templates |
3 =
Шаблон основан на следующих шаблонах — Parent templates |
4 =
Шаблон основан на следующих шаблонах — Parent templates |
5 =
Шаблон основан на следующих шаблонах — Parent templates |
6 =
Шаблон основан на следующих шаблонах — Parent templates |
#default =
Шаблон основан на следующих шаблонах — Parent templates}} | |||||
<Перечень родительских шаблонов / List of parenting templates> | <List of parenting templates>
| |||||||||||
' |
{{#switch: {{{level}}} |
2 =
Дочерние шаблоны — Subsidiaries templates |
3 =
Дочерние шаблоны — Subsidiaries templates |
4 =
Дочерние шаблоны — Subsidiaries templates |
5 =
Дочерние шаблоны — Subsidiaries templates |
6 =
Дочерние шаблоны — Subsidiaries templates |
#default =
Дочерние шаблоны — Subsidiaries templates}} | |||||
<Перечень дочерних шаблонов / List of subsidiaries templates> | <List of subsidiaries templates>
| |||||||||||
' |
{{#switch: {{{level}}} |
2 =
Пример — Example |
3 =
Пример — Example |
4 =
Пример — Example |
5 =
Пример — Example |
6 =
Пример — Example |
#default =
Пример — Example}} | |||||
|
|{{#ifexist:Template:{{{1}}}|{{{{{1}}}}}|
Этому шаблону не хватает документации (подстраницы ./doc). | This pattern is not enough documentation (subpage ./doc). | |
Вы можете помочь проекту, сделав описание шаблона: что он делает, как его использовать, какие параметры он принимает. Это поможет другим людям использовать его. Для оформления можете воспользоваться {{doc}}. Не забывайте помещать описание внутрь {{#if: 1 |<|{{}}noinclude{{#if: 1 |>|}}}}{{#if: 1 |<|{{}}/noinclude{{#if: 1 |>|}}}}. |
You can help by making the description of a template: what it does, how to use it, what parameters it takes. This will help other people to use it. For decor you can use {{doc}}. Do not forget to put the description into {{#if: 1 |<|{{}}noinclude{{#if: 1 |>|}}}}{{#if: 1 |<|{{}}/noinclude{{#if: 1 |>|}}}}. |
{{#vardefine:NewPage|Template:RUDocToc/doc}}
|
{{#if:||{{#ifeq:Template|Template||}}}}}}}}