Thread:Talk:GlobalProfile/design/Collected Data - Future elements - suggestions/reply (5)

You may want to take a look at b:User:Helder.wiki/Tools/UserPages.js (specifically "getUserTools" and "processUserTools").

(and maybe Gadgets 3.0 too)