User blog:MrBismark/How to add a category to a page?

I have looked into the source for some pages with it but I can't find it and I want to add one to my userpage.

EDIT: I MEANT A TABLE OF CONTENTS