---
title: "init(gaugeProvider:leadingTextProvider:trailingTextProvider:outerTextProvider:)"
framework: clockkit
role: symbol
role_heading: Initializer
path: "clockkit/clkcomplicationtemplategraphiccornergaugetext/init(gaugeprovider:leadingtextprovider:trailingtextprovider:outertextprovider:)"
---

# init(gaugeProvider:leadingTextProvider:trailingTextProvider:outerTextProvider:)

Creates a template that has a gauge with leading and trailing text, and an outer text element.

## Declaration

```swift
init(gaugeProvider: CLKGaugeProvider, leadingTextProvider: CLKTextProvider?, trailingTextProvider: CLKTextProvider?, outerTextProvider: CLKTextProvider)
```

## Parameters

- `gaugeProvider`: The gauge provider for the template.
- `leadingTextProvider`: The text provider for the gauge’s leading text. The template supports multicolored text from this text provider.
- `trailingTextProvider`: The text provider for the gauge’s trailing text. The template supports multicolored text from this text provider.
- `outerTextProvider`: The text provider for the outer line of text. The template ignores this text provider’s tint color, and always displays the text with a system color.

## See Also

### Creating the Template

- [init(gaugeProvider:outerTextProvider:)](clockkit/clkcomplicationtemplategraphiccornergaugetext/init(gaugeprovider:outertextprovider:).md)
