Creating a Proper Creature Template

Does anybody know I would take the code from the current creature template page and make it into an infobox when I put it into another page?