Create template: When pagename is/doc