Dynamic wiki

how can we make the wiki a dynamic page

include table of contents

connected to the database ( when there is a change in the Org chart we wont have to change the text in the wiki page, and it will be updated automatically