Difference between revisions of "User:Denis0.ru/testdpl"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (DPL)
(Наименьший свободный номер для статьи RU/kb.)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
=====DPL=====
 
 
<includeonly><section begin=title />Стили<section end=title /></includeonly>
 
<includeonly><section begin=title />Стили<section end=title /></includeonly>
{{DISPLAYTITLE: База Знаний: Общие вопросы. {{SecTitle|{{#rel2abs: .}}}} {{OOo}}}}
+
{{DISPLAYTITLE: База Знаний: Общие вопросы. {{Section|{{#rel2abs: .}}|title}} {{OOo}}}}
 +
{{BreadCrumbL10n}}
  
<u>We transclude sec1 using ''include=sec1''</u>
 
{{#dpl:titlematch=RU/kb/module/draw/object|skipthispage=no|include=toc|secseparators=<br />}}
 
  
{{#dpl:titlematch={{PAGENAME}}|skipthispage=no|include=title|secseparators=&nbsp;--&nbsp;|multisecseparators=&nbsp;##&nbsp;}}
+
<!--
 +
        достраивает недостающие нули слева до восьми знаков
 +
-->{{#pad:<!--
 +
            прибавляет к последнему свободному номеру единицу
 +
  -->{{#expr:<!--
 +
                    выделяет из полного пути номер статьи
 +
    -->{{#titleparts: <!--
 +
              получает адрес последней добавленной статьи
 +
      -->{{#dpl:titlematch=RU/kb/0%|ordermethod=title|order=descending|count=1|mode=inline|format=,%PAGE%,,}}<!--  
 +
    -->| |-1}}<!-- end of titleparts
 +
  -->+1}}<!-- end of expr
 +
-->|8|0|left}}<!-- end of pad-->

Latest revision as of 08:53, 6 December 2010



{{#pad:649|8|0|left}}

Personal tools