# Templates.

## What does the pattern do?

- Helps with the input if writing a prompt would be too complex.

## When should the pattern be used?

- To simplify complex prompts for input.
- Predefined by the system if the main use cases are clear.
- In case users want to create templates themselves.

## Recommendation

- Quality over quantity: It’s better to have fewer but optimised parameters.
- Communicate clearly what the template does, e.g. by showing the generated prompt. This way users can  
    still adapt it.

## Examples

- Default
- Default filled
- Default with form

### Default

 ![Example for a template](https://digital.sbb.ch/assets/images/patternlibrary/components/en/pattern_templates_default_light_en.webp "Pattern template")

### Default filled

 ![Example for a filled template](https://digital.sbb.ch/assets/images/patternlibrary/components/en/pattern_templates_default_filled_light_en.webp "Pattern template filled")

### Default with form

 ![Example for a template with form](https://digital.sbb.ch/assets/images/patternlibrary/components/en/pattern_templates_form_light_en.webp "Pattern template form")

## Specifications

[Design](https://www.figma.com/design/ASKJJ0RgQNp0TAhXBpLmXd/AI-Patterns-Documentation?node-id=2210-10276)

---

Source: https://digital.sbb.ch/en/design-system/patternlibrary/patterns/templates/
