---
title: "init(headerImageProvider:headerTextProvider:body1TextProvider:gaugeProvider:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtemplategraphicrectangulartextgauge/init(headerimageprovider:headertextprovider:body1textprovider:gaugeprovider:)"
---

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

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

## Declaration

```swift
init(headerImageProvider: CLKFullColorImageProvider?, headerTextProvider: CLKTextProvider, body1TextProvider: CLKTextProvider, gaugeProvider: CLKGaugeProvider)
```

## Parameters

- `headerImageProvider`: A full-color image provider.
- `headerTextProvider`: The text provider for the header text. The template supports multicolored text from this text provider.
- `body1TextProvider`: The text provider for the body text. The template supports multicolored text from this text provider.
- `gaugeProvider`: The gauge provider for the template.

## See Also

### Creating the Template

- [init(headerTextProvider:body1TextProvider:gaugeProvider:)](clockkit/clkcomplicationtemplategraphicrectangulartextgauge/init(headertextprovider:body1textprovider:gaugeprovider:).md)
