Template can be found in the root folder of the project. And is organized in this way:
The template folder contain the required .phtml like this:
<?php require "partials/pre_content.phtml"; ?>
<?php require "partials/header.phtml"; ?>
<?php require "partials/index.phtml"; ?>
<?php require "partials/footer.phtml"; ?>
<?php require "partials/after_content.phtml"; ?>
file and the partials folder contain the content of required .phtml file.
To create a new template, you can create a brand new file in the root folder of your project and follow the logic above:
<?php
require_once "core/environment_init.php";
// INSERT HERE YOUR LOGIC
// If you just need to render your template use this function
Template::render("yourController.phtml");
// If you need variable on your template you can use array parameter into template render function
Template::render("yourController.phtml", array(
"key" => value,
"key" => value
));
?>