Forum:DPL

Hello, I have to use DPL and I have already few dpl-tables on my wikia, but I use it only to show info in tables using extensions "mode=userformat, table=(table style), tablerow". But now I want to use my own format of information. For example, I have few articles in category "1" and few parametres in the template on each article: Name, Class, Location, Image.

I want to use dpl to show up this articles with such html for each query:



How can I do it by using dpl? Thx CrazyRabby 07:17, July 9, 2012 (UTC)

Another question. Is it possible to use dpl inside the template like that:

Telplate:example par1= par2= category= ...

Then I can print


 * As for the first question; if I understand correctly using the parameter combined with  might do what you want. Such an example query would look like that:

 category = 1 include={TEMAPLTE_NAME}:Image,{TEMAPLTE_NAME}:Name,{TEMAPLTE_NAME}:Class,{TEMAPLTE_NAME}:Location format  = ,,, secseparators = ,, ,, ,,
 * You would need to replace TEMAPLTE_NAME with the name of the templte you wish to call parameters from on the queried pages. Also, afaik you won't be able to render the background image like that, because  doesn't work when added inline on pages.


 * Not sure what you mean by the second question, could you explain further? — Sovq 15:43, July 9, 2012 (UTC)


 * Thx for answer, but I've already understood this parameter secseparators yesterday. But thx :) CrazyRabby 12:17, July 10, 2012 (UTC)