make partial template