Difference between revisions of "Dynamic Page List - Mediawiki"

From Help Wiki
(Created page with "This extension is replacing Dynamic Article List <pre> <DynamicPageList> category = Extension count = 5 order = ascending addfirs...")
 
m (subst applied to Template:TwoColumn)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This extension is replacing [[Dynamic Article List]]
+
 
<pre>
+
<div class="container-fluid">
 +
<div class="row">
 +
<div class="col-md-8">
 +
<div class="lead">
 +
This extension is replacing [[DynamicArticleList - Mediawiki|Dynamic Article List]]
 +
</div>
 +
 
 +
===Example: Most Popular Academic Statement Pages===
 
<DynamicPageList>
 
<DynamicPageList>
category            = Extension
+
category            = Academic Statement
 
count                = 5
 
count                = 5
 
order                = ascending
 
order                = ascending
addfirstcategorydate = true
+
mode    = unordered
 +
ordermethod = popularity
 
</DynamicPageList>
 
</DynamicPageList>
</pre>
 
  
 +
 +
===Example Syntax for Popularity===
 +
<pre>
 
<DynamicPageList>
 
<DynamicPageList>
category             = Extension
+
category = Academic Statement
count               = 5
+
count   = 5
order               = ascending
+
order   = ascending
addfirstcategorydate = true
+
mode = unordered
mode     = unordered
+
 
ordermethod = popularity
 
ordermethod = popularity
 
</DynamicPageList>
 
</DynamicPageList>
 +
</pre>
  
===Newly Created  ===
+
===Example: Newly Created  ===
 +
<DynamicPageList>
 +
namespace    = Main
 +
count  = 5
 +
order  = ascending
 +
mode = unordered
 
ordermethod = created
 
ordermethod = created
 +
</DynamicPageList>
 +
 +
===Example Syntax for Newly Created===
 +
<pre>
 
<DynamicPageList>
 
<DynamicPageList>
 
namespace = Main
 
namespace = Main
count               = 5
+
count   = 5
order               = ascending
+
order = ascending
mode     = unordered
+
mode = unordered
 
ordermethod = created
 
ordermethod = created
 
</DynamicPageList>
 
</DynamicPageList>
 +
</pre>
  
===Popular ===
+
 
ordermethod = popularity
+
===Example: Recently Updated===
 
<DynamicPageList>
 
<DynamicPageList>
 
namespace = Main
 
namespace = Main
 
count                = 5
 
count                = 5
 
order                = ascending
 
order                = ascending
mode    = unordered
+
addfirstcategorydate = ymd
ordermethod = popularity
+
ordermethod = lastedit
 
</DynamicPageList>
 
</DynamicPageList>
  
===Recently Updated===
+
===Example Syntax for Recently Updated===
ordermethod = lastedit
+
<pre>
 
<DynamicPageList>
 
<DynamicPageList>
 
namespace = Main
 
namespace = Main
count               = 5
+
count   = 5
order               = ascending
+
order = ascending
 
addfirstcategorydate = ymd
 
addfirstcategorydate = ymd
 
ordermethod = lastedit
 
ordermethod = lastedit
 
</DynamicPageList>
 
</DynamicPageList>
 +
</pre>
 +
  
 +
<!-- end col-md-8 -->
 +
</div>
 +
<div class="col-md-1"></div>
 +
<div class="col-md-3 sidebar">
 +
{{GetHelp}}
  
 +
<!-- end col-md-3-->
 +
</div>
 +
<!-- end row-->
 +
</div>
 +
<!-- end container-->
 +
</div>
 +
<!-- Generator=Template:TwoColumn -->
 +
__NOTOC__
 +
__NOEDITSECTION__
 
[[Category:Mediawiki]]
 
[[Category:Mediawiki]]

Latest revision as of 16:01, 14 August 2017

This extension is replacing Dynamic Article List

Example: Most Popular Academic Statement Pages


Example Syntax for Popularity

<DynamicPageList>
category  = Academic Statement
count    = 5
order   = ascending
mode  = unordered
ordermethod = popularity
</DynamicPageList>

Example: Newly Created


Example Syntax for Newly Created

<DynamicPageList>
namespace = Main
count   = 5
order  = ascending
mode = unordered
ordermethod = created
</DynamicPageList>


Example: Recently Updated


Example Syntax for Recently Updated

<DynamicPageList>
namespace = Main
count   = 5
order  = ascending
addfirstcategorydate = ymd
ordermethod = lastedit
</DynamicPageList>