Wikinews:DynamicPageLists

From Wikinews, the free news source you can write!

Jump to:navigation, search

DynamicPageLists (or DPLs) are a special method which can be used to list the latest articles to be edited within chosen categories.

[edit] Usage

This is the basic syntax to use on a page to produce a DPL:

<DynamicPageList>
category=Europe
count=5
</DynamicPageList>

which gives:


- the last five pages to be edited which are in the category of Europe. The category can be any used on the site, and the page count can be any number up to 99.

It's possible to chose more than one category. For example:

<DynamicPageList>
category=Europe
category=Science and technology
count=5
</DynamicPageList>

gives:


- the last five pages in the categories of Europe and Science and technology. You can chose to have several categories, if you wish.

It's also possible to have the list without bullet points:

<div class="no-bullet-list">
<DynamicPageList>
category=Europe
count=5
</DynamicPageList>
</div>

which produces:

Navigation
Wikinews
In other languages
Regions
Toolbox