Setting the stage -- The Mesozoic Era -- The origin of dinosauria -- Ornithischia -- Stegosauria -- Ankyulosauria -- Pachycephalosauria -- Ceratopsia -- Ornithopoda -- Saurischia -- Sauropodomorpha -- Theropoda -- Endothermy, environments, and extinction -- Dinosaur endothermy -- Dinosaurs in space and time -- Reconstructing extinctions -- The Cretaceous-Tertiary extinction