DPL Example 005

From FollowTheScore
Jump to: navigation, search

back to list of examples

Create a list of articles belonging to a certain category

This is the most basic DPL query at all. You can place it on an arbitrary page.

You may want to redirect the resp. Category page to that page. This makes sense if the articles of your category share some common structure which allows you to display more than just the article name on that 'individual category page'. See the other examples to understand how you can display template parameters, certain chapters of text or certain meta attributes like size or popularity of a page.

There are many ways to format the output; by default you will get a bullet list.

{{#dpl:
 |category=Fictitious country
}}

The above DPL command produces the following output: