Anonymous user
Controlling output order: Difference between revisions
m
to match fix for my mistake
imported>FrozenPlum m (FrozenPlum moved page Extension:DPL3/Parameters: Controlling output order to Controlling output order) |
imported>FrozenPlum m (to match fix for my mistake) |
||
Line 4:
DPL3 allows you to define the sort order of its output, as is explained below.
In some cases, this is not sufficient, however. Think of the following example: You create a list of pages which use a certain template. You want to show the value of the first parameter each page uses when calling that template. This can easily be done with the {{
But there is another way: Create a ''sortable wiki table'' (using the {{
Using a handful of javascript lines you can sort a wikitable ''on pageLoad'' by any column. You must insert that javascript code AT THE END of your page :
Line 115:
If you use a name for the first time, you should make sure that it is correctly spelt. Otherwise, you will see a SQL error message.
For case insensitivity during the ''selection'' of articles, see {{
==References==
|