Create template: Main write

From KB42