A template well suited for a PhD thesis or a project at DIKU (Departement of Computer Science at the University of Copenhagen, Denmark).
It includes detailed explanations on how to customize your table of contents entries, your headers and other details that I have had to look up when writing my own thesis.
I hope it will make thesis writing a bit easier. Good luck!
This template is inspired from the templte published by Alex Jørgensen, available at:
上智大学情報理工系修論・卒論テンプレート(日本語・英語対応)。A template for thesis of computer and information science thesis, Sophia University (Available in Japanese and English).