Template talk:Unimpl header

From Rosetta Code
Revision as of 15:58, 27 June 2009 by rosettacode>Mwn3d (I thought about it, but it got messy)

What are all these extra arguments for? Is the first one the count of the number of tasks that are unimplemented in {{{1}}}?--Mwn3d 18:37, 7 April 2009 (UTC)

It's in ImplSearchBot's source. They're supposed to let you describe how far a language has penetrated, but I forget which number means what. --Short Circuit 22:30, 7 April 2009 (UTC)
It would be nice to have three levels of penetration (red/yellow/green) so as to indicate languages that are widely supporting tasks (e.g., have done 75% of tasks) as well as languages that are not (the current 25% threshold). And then some of us can (and will be motivated to) work to bring more up to the "highly penetrated" threshold. —Donal Fellows 13:01, 27 June 2009 (UTC)
I thought about that (and I had a color code picked out), but I didn't want to make the crazy if statement for it. I was really only trying it out when I put the box in and no one complained. The expression right now is:
{{#ifexpr: {{{4|0}}} >= 25|background:#90ff90;color:black;">[[Rosetta_Code:TODO#Languages|Minimum penetration]] met. This language has| background:#ff9090;color:black;">[[Rosetta_Code:TODO#Languages|Minimum penetration]] not met. This language only has}}

It would take another {{#ifexpr: block right after ">= 25|". I can try it out later today, but if you want to try some wikicode then go ahead.--Mwn3d 15:58, 27 June 2009 (UTC)