I think you're confused about how to go about this, but templating actually is very simple.
First of all, PHP was originally designed as a templating system. Over time it's evolved into a full-blown programming language. As a result, it's been used to create templating systems (such as Smarty) that are very restricted, because many people want to "force" a separation between presentation (templates) and program logic (PHP code). You'll see many people strongly recommending these templating systems.
But PHP actually is fine for templating.
A template is just HTML with some PHP code inserted where you want to place content.
<html><head><title>
MySite: <? echo $title ?>
</title></head>
<body>
<h1><? echo $title ?></h1>
<? echo $content ?>
</body>
</html>
You can use any kind of HTML (actually any other kind of format as well). Your CSS references, etc., will be just fine. Just modify your HTML by inserting PHP code to echo variables, as demonstrated here.
In a separate file, write the logic of your program. Based on an ID passed through an HTTP GET or POST variable, it might fetch the raw content from wherever you've stored it (perhaps a database), reformat it into valid HTML fragments if necessary, and place it into the variables that you have named in your template.
The last thing your PHP script does is to include() the template file, which will be evaluated. The result will be a fully composed page, built from a standard template, and you have maintained a separation of content, logic, and presentation.