Admin Forum:Login module

Is it possible to make a box appear with a class called "Login Module" (so I can format it in MediaWiki:Wikia.css) when an anonymous user has made at least 5 edits? And in the box, I would like it to say: Congratulations for making 5 edits! Would you like to register an account? Registering one would keep track of what pages you edit, have your own user page, and the ability of further accesses. Below that on the bottom-right corner of the box, I would like to have two buttons: a regular one (blue one) saying "Yes, please sign me up" on the right side and when clicked will link you to Special:Signup, and another one on the left of that saying "No thanks, maybe later" and when clicked the box will disappear. If you do not understand anything, then please ask me -- Sam Wang (talk) 12:21, May 15, 2012 (UTC)
 * Any ideas? -- Sam Wang (talk) 04:53, May 16, 2012 (UTC)