Hy,
i get some resources with getresources and want to change the tpl every second or n`th element. I tried tpl_{n} but i only get it work for the number i insert like tpl_1, tpl_2, tpl_3.
Is there a way to change tpl more dynmaic?
Thx for help
Ok i tried tplodd but dont understand it, shit docu in this part. I add the tplOdd and my chunk and now every second child has no tpl, thats ok. But how to set another tpl for this ones? Can someone help or give me a sample?
-
☆ A M B ☆
- 571 Posts
[[getResources?… &tpl=`yourChunk (for "pair" results)` &tplOdd=`yourOtherChunk (for "impair" results")`]] should do the trick if my mind is good
-
☆ A M B ☆
- 2,475 Posts
Did you misspell the name of your chunk or of the parameters?
-
☆ A M B ☆
- 66 Posts
Is there a way to do this every 3 results?