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

# init(headerTextProvider:body1TextProvider:body2TextProvider:)

Creates a new template that has a row of header text and two rows of body text.

## Declaration

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

## Parameters

- `headerTextProvider`: The text provider for the header text. The template supports multicolored text from this text provider.
- `body1TextProvider`: The text provider for the first row of body text. The template supports multicolored text from this text provider.
- `body2TextProvider`: The text provider for the second row of body text. The template supports multicolored text from this text provider.

## See Also

### Creating the Template

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