Difference between revisions of "Dynamic Page List - Mediawiki"

From Help Wiki
m
m
Line 14: Line 14:
 
<pre>
 
<pre>
 
<DynamicPageList>
 
<DynamicPageList>
category             = Academic Statement
+
category = Academic Statement
count               = 5
+
count   = 5
order               = ascending
+
order   = ascending
mode     = unordered
+
mode = unordered
 
ordermethod = popularity
 
ordermethod = popularity
 
</DynamicPageList>
 
</DynamicPageList>
Line 24: Line 24:
 
===Example: Newly Created  ===
 
===Example: Newly Created  ===
 
<DynamicPageList>
 
<DynamicPageList>
namespace     = Main
+
namespace   = Main
count               = 5
+
count   = 5
order               = ascending
+
order = ascending
mode               = unordered
+
mode = unordered
 
ordermethod = created
 
ordermethod = created
 
</DynamicPageList>
 
</DynamicPageList>
Line 33: Line 33:
 
<DynamicPageList>
 
<DynamicPageList>
 
namespace = Main
 
namespace = Main
count               = 5
+
count   = 5
order               = ascending
+
order = ascending
mode     = unordered
+
mode = unordered
 
ordermethod = created
 
ordermethod = created
 
</DynamicPageList>
 
</DynamicPageList>
Line 52: Line 52:
 
<DynamicPageList>
 
<DynamicPageList>
 
namespace = Main
 
namespace = Main
count               = 5
+
count   = 5
order               = ascending
+
order = ascending
 
addfirstcategorydate = ymd
 
addfirstcategorydate = ymd
 
ordermethod = lastedit
 
ordermethod = lastedit

Revision as of 11:32, 12 May 2017

This extension is replacing Dynamic Article List

Example: Most Popular Academic Statement Pages

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

Example: Newly Created

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


Example: Recently Updated

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