A custom page for all doctypes

I need to create a custom page for all doctypes like there is a list page for doctypes.
Basically I want to show details of selected record on a new page just like on selecting a record the print page shows up, I want to show an html page instead.
Unfortunately I am unable to understand that how can I create such a page and give doctype details to it.
Can someone guide me?