Difference between revisions of "DPL Example 005"

From FollowTheScore
Jump to: navigation, search
 
Line 4: Line 4:
 
You can place it on an arbitrary page.
 
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 dipslay more than just the article name on that 'individual category page'. See the other examples to understand how you can display template parameters, ceratain chapters of text or certain meta attributes like size or popularity of a 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.
 
There are many ways to format the output; by default you will get a bullet list.

Latest revision as of 07:41, 5 February 2011

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: