To achieve this in addition to the Template Name file header, the post types supported by a template can be specified using Template Post Type: as following.
* Template Name: Full Width Page
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
You can get more information about it on the following pages.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.