code: func CreateTemplate(corner PointType, size SizeType, unitStr, fontDirStr string, fn func(*Tpl)) Template {
  	orientationStr := "p"
  	if size.Wd > size.Ht {
  		orientationStr = "l"
  	}
  
  	return CreateTpl(corner, size, orientationStr, unitStr, fontDirStr, fn)
  }
docs: // CreateTemplate creates a template that is not attached to any document.
  //
  // This function is deprecated; it incorrectly assumes that a page with a width
  // smaller than its height is oriented in portrait mode, otherwise it assumes
  // landscape mode. This causes problems when placing the template in a master
  // document where this condition does not apply. CreateTpl() is a similar
  // function that lets you specify the orientation to avoid this problem.