Difference between revisions of "User:Sancho/DPL"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Формируем перемотку)
m (test dpl)
Line 1: Line 1:
<!--  count          = 30-->
 
<!--  namespace      = Category -->
 
<!-- format        = {| class="wikitable" style="margin: 0; border-left: none; border-right: none; width: 100%; 0;"¶!Позиция¶!Страница¶!Просмотров,¶|-¶|align=right|%NR%&nbsp;&nbsp;¶|[[%PAGE%|{{Section|%TITLE%|title}}]]¶|align=right|²{#ifexpr:%COUNT%>30000¦<big>'''%COUNT%'''</big>¦%COUNT%}²&nbsp;&nbsp;,,¶|} -->
 
 
 
==Формируем перемотку==
 
==Формируем перемотку==
{{#dpl:execandexit=geturlargs}}
+
{{#vardefine: count|10}}
  
 
<DPL>
 
<DPL>
Line 17: Line 13:
 
   addpagecounter = true
 
   addpagecounter = true
  
  count              = {%DPL_count:10%}
+
  count              = {{#var: count}}
  offset            = {%DPL_offset:0%}
+
  offset            = {{{offset|0}}}
 
  resultsheader      = ²{User:Sancho/DPL/continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
 
  resultsheader      = ²{User:Sancho/DPL/continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
 
  resultsfooter      = ²{User:Sancho/DPL/continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
 
  resultsfooter      = ²{User:Sancho/DPL/continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}² %DPLTIME%\n
Line 25: Line 21:
 
   format        = {| class="wikitable" style="margin: 0; border-left: none; border-right: none; width: 100%; 0;"¶!Позиция¶!Страница¶!Просмотров,¶|-¶|align=right|%NR%&nbsp;&nbsp;¶|{{SecTitle|%PAGE%}}¶|align=right|%COUNT%&nbsp;&nbsp;,,¶|}
 
   format        = {| class="wikitable" style="margin: 0; border-left: none; border-right: none; width: 100%; 0;"¶!Позиция¶!Страница¶!Просмотров,¶|-¶|align=right|%NR%&nbsp;&nbsp;¶|{{SecTitle|%PAGE%}}¶|align=right|%COUNT%&nbsp;&nbsp;,,¶|}
 
</DPL>
 
</DPL>
 +
 +
 
<!--
 
<!--
  

Revision as of 22:05, 15 November 2010

Формируем перемотку

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: Unknown parameter '<-- debug' is ignored. Help: available parameters: addfirstcategorydate category count hiddencategories mode namespace notcategory order ordermethod qualitypages redirects showcurid shownamespace stablepages suppresserrors allowcachedresults execandexit columns debug distinct escapelinks format inlinetext listseparators notnamespace offset oneresultfooter oneresultheader ordercollation noresultsfooter noresultsheader randomcount randomseed replaceintitle resultsfooter resultsheader rowcolformat rows rowsize scroll title title< title> titlemaxlength userdateformat addauthor addcategories addcontribution addeditdate addexternallink addlasteditor addpagecounter addpagesize addpagetoucheddate adduser categoriesminmax createdby dominantsection dplcache dplcacheperiod eliminate fixcategory headingcount headingmode hitemattr hlistattr ignorecase imagecontainer imageused include includematch includematchparsed includemaxlength includenotmatch includenotmatchparsed includepage includesubpages includetrim itemattr lastmodifiedby linksfrom linksto linkstoexternal listattr minoredits modifiedby multisecseparators notcreatedby notlastmodifiedby notlinksfrom notlinksto notmodifiedby notuses reset secseparators skipthispage table tablerow tablesortcol titlematch usedby uses allrevisionsbefore allrevisionssince articlecategory categorymatch categoryregexp firstrevisionsince lastrevisionbefore maxrevisions minrevisions notcategorymatch notcategoryregexp nottitlematch nottitleregexp openreferences titleregexp deleterules goal updaterules .

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: Wrong 'offset' parameter: '0'! Using default: '0'. Help: offset= /^\d*$/ | 0.

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: Wrong 'count' parameter: '10 : not a number!'! Using default: '500'. Help: count= /^\d*$/ | 500.

total = 1372

count = 10

offset = {{{offset}}}

start1..0}}1..100101..200(1372 total)}}
Позиция Страница Просмотров
1   Apache OpenOffice 199530  

total = 1372

count = 10

offset = {{{offset}}}

start1..0}}1..100101..200(1372 total)}}
0.031 sec. (2024/06/03 12:05:25)



Personal tools