Forum:Qif or parserfuntions

Hello,

I'm currently working on developing a template that uses a copy of Qif template from Wikipedia, now as i was looking to improve the info our Qif page, I stumble with Wikipedia:Template:Qif where it informs that it has been deprecated and that its better to migrate to ParserFunctions.

So I want to know if I can migrate to the Parser Functions? If so, would it possible to get 2 examples from my Qifs? as i keep getting confuse with the jargon.

Does my w:c:Dofus would require something? (template or update of some sort)

--Cizagna (Talk) 01:42, 11 December 2006 (UTC)


 * No template or update needed, parserfunctions are installed and working in all Wikia wikis (or should be)... instead of just use  (notice the first pipe changes to a colon). Note that #if only tests if the test is null or not.... So if you want to test if a parameter is blank, you have to have the default for the parameter blank, eg:  --Splarka (talk) 04:06, 11 December 2006 (UTC)


 * Yes my interest is to know if the values are empty, so sorry as I'm a little slow so
 * The ones on Steel Blue needs to be remove the ones on red Red must be substitute so from :

 


 * Would tranlate to :

 


 * I'm correct or I'm missing something? --Cizagna (Talk) 04:49, 11 December 2006 (UTC)


 * Yup.. and Is another one, it will test if something equals something else. Then there is expr, ifexpr which deal with dishing out and testing mathmatical equations, and switch which is great for handling some things which could have multiple values, It's great for creating custom advanced templates. The majority of the templates on my wiki are customized. I've even given my vandalism template that's used to dish out warnings a mass set of options. The signature is part of the warning, an optional reason can be given, there are 4 levels of warnings and you can give partial warnings (# out of 10) for lesser types of vandalism, and the Text even changes to fit when you add in a Pagename of an article that was vandalized and an extra parameter can change the warning from normal vandalism to content removal warnings. The system is documented at ParserFunctions, all but the last 2 work here. Dantman (Talk) 07:06, 11 December 2006 (UTC)