Custom WordPress Pages using Templates

I was migrating a fairly static website to a wordpress recently when i had to create some dynamic custom pages using PHP.

Information seemed hard to find, though perhaps it was just my lack of knowledge in search terms for it?

<?php include(’wp-blog-header.php’); ?>
<?php get_header(); ?>
<!– Put here your personal contents in HTML or PHP –>

<!– End personal contents –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>

Either way, this is the general gist

Easy yes? good! Thanks!