Template:Userbox/editcount-main

Usage
First parameter is your mainspace edit count. Note that the links will only work properly if the box is included on your user page itself or a direct subpage.