Difference between revisions of "Extension DPL"

From FollowTheScore
Jump to: navigation, search
Line 7: Line 7:
 
== How to show template parameters ==
 
== How to show template parameters ==
  
* Create a table of articles where the columns show parameter values of template calls [[Example 001]]
+
* 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 [[Example 002]]
+
* 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 [[Example 003]]
+
* 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 [[Example 004]]
+
* change the sequence of fields and apply a nested DPL within a phantom template [[DPL Example 004]]

Revision as of 00:06, 8 March 2009

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

Nevertheless, most of us are inspired by examples. When you are looking for a fast solution to a specific problem it may be quite hard to find out if DPL can do the job. But if you see how a similar problem was solved it may be quite easy to adapt the solution to your needs. And eventually you will have a look into the manual, I hope ;-)

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