pattern library template