Template talk:Catlist

From FollowTheScore
Revision as of 21:42, 15 September 2007 by Eep² (talk | contribs) (My version: thanks)
Jump to: navigation, search

Manual: DPL:Catlist

Multiple categories, namespaces, etc

Per DPL talk:Catlist and User talk:Gero#Hello? (mentioning this again here since Gero still has yet to reply to it directly...), this form needs to support multiple same parameters. Also, if DPL supported "1"/"0" in boolean operators (whatever), checkboxes could replace the "yes"/"no", "true"/"false" select listbox pulldowns (since HTML uses "1"/"0"... Also, the special page should not have been removed because it does handle multiple same parameters. -Eep² 22:58, 30 August 2007 (CEST)

My version

http://www.tnlc.com/wiki/index.php?title=Template:dplquery which uses checkboxes (that don't stay checked since Simple Forms doesn't seem to be able to do that) but still doesn't have mutliple category/namespace/template, and other field support like the original DPL special page can handle (and why I still think it should not have been replaced with this template yet). -Eep² 14:07, 9 September 2007 (CEST)

Hi! Eep². Thank you for your sharing. But your version have a error in it, The
-->{{#ifeq:{{{addpagetoucheddate|no||}}}|addpagetoucheddate
should be changed to
-->{{#ifeq:{{{addpagetoucheddate}}}|no||addpagetoucheddate
and
-->{{#ifeq:{{{count|}}}|-||{{#if:{{{count|}}}
should be changed to
-->{{#ifeq:{{{count|}}}|||{{#if:{{{count|}}}
--Roc michael 12:04, 15 September 2007 (CEST)
Thanks. I just copied this code from Gero's and hadn't modified that section. I still need to add some other parameters to it but thought I'd wait until Gero updated his with the new variables before I updated mine any more. -Eep² 21:42, 15 September 2007 (CEST)