Difference between revisions of "Extension DPL"

From FollowTheScore
Jump to: navigation, search
(List articles depending on category)
Line 13: Line 13:
 
* change the sequence of fields and apply a nested DPL within a phantom template [[DPL Example 004]]
 
* change the sequence of fields and apply a nested DPL within a phantom template [[DPL Example 004]]
  
== List articles depending on category ==
+
== List articles by category ==
  
 
* Create a list of articles belonging to a certain category [[DPL Example 005]]
 
* Create a list of articles belonging to a certain category [[DPL Example 005]]

Revision as of 13:19, 13 March 2009

As its name (Dynamic Page Lister) implies, DPL is a report generator for MediaWikis. This is the most important extension we provide. The name of this website (dpldemo) is derived from the idea to demonstrate the many uses of DPL. DPL is a true monster in terms of functionality. Although there is a detailed DPL manual most people will find it easier to look for an existing DPL example which is similar to their needs.

Nevertheless: I put a lot of effort into the manual - so please read!

How to select articles

How to show template parameters

  • Create a table of articles where the columns show parameter values of template calls DPL Example 001
  • Make that table sortable and define a headline for the first column DPL Example 002
  • Add meta data (hit count) and apply individual formatting to the fields DPL Example 003
  • change the sequence of fields and apply a nested DPL within a phantom template DPL Example 004

List articles by category

Tree output