---
title: "init(headerImageProvider:headerTextProvider:body1TextProvider:body2TextProvider:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtemplatemodularlargestandardbody/init(headerimageprovider:headertextprovider:body1textprovider:body2textprovider:)"
---

# init(headerImageProvider:headerTextProvider:body1TextProvider:body2TextProvider:)

Creates a new template that has a header row with an image and text, and two rows of body text.

## Declaration

```swift
init(headerImageProvider: CLKImageProvider?, headerTextProvider: CLKTextProvider, body1TextProvider: CLKTextProvider, body2TextProvider: CLKTextProvider?)
```

## Parameters

- `headerImageProvider`: An image provider for the header. The system renders the image as a tinted template image, a bitmap image where only the opacity of the image matters. For more information, see doc://com.apple.documentation/documentation/UIKit/providing-images-for-different-appearances#Create-tintable-images-using-template-images.
- `headerTextProvider`: The text provider for the header. For multicolor faces, like the Utility face, the system uses the text provider’s tint color for the text. For other faces, the system ignores the provided tint color, and uses a system color instead.
- `body1TextProvider`: The text provider for the first row of body text. For multicolor faces, like the Utility face, the system uses the text provider’s tint color for the text. For other faces, the system ignores the provided tint color, and uses a system color instead.
- `body2TextProvider`: The text provider for the second row of body text. For multicolor faces, like the Utility face, the system uses the text provider’s tint color for the text. For other faces, the system ignores the provided tint color, and uses a system color instead.

## See Also

### Creating the Template

- [init(headerTextProvider:body1TextProvider:)](clockkit/clkcomplicationtemplatemodularlargestandardbody/init(headertextprovider:body1textprovider:).md)
- [init(headerTextProvider:body1TextProvider:body2TextProvider:)](clockkit/clkcomplicationtemplatemodularlargestandardbody/init(headertextprovider:body1textprovider:body2textprovider:).md)
- [init(headerImageProvider:headerTextProvider:body1TextProvider:)](clockkit/clkcomplicationtemplatemodularlargestandardbody/init(headerimageprovider:headertextprovider:body1textprovider:).md)
