# Notepad templates Notepad templates serve as a blueprint for generating new documents from existing content based on new inputs. Templates accept inputs such as strings, objects, or object sets. Widgets in the template can be configured to use these parameters. When creating a new template copy based on inputs, content is adjusted dynamically. Some Notepad widgets are designed for use in templates. * The [Table Row Generator](../widgets-table-row-generator/index.md) allows you to generate a table row per object from an object set passed as an input. * The [Section Generator](../widgets-section-generator/index.md) generates whole sections per object. * The [Functions](../widgets-functions/index.md) widget enables generating strings from [TypeScript functions](../../functions/overview/index.md). ![notepad\_template\_concept](../../../assets/4fefc6418deaf0fc10a9dc508bc6bd1044a397ab43fce5b06cea2fdbe558fbb0.webp) In the example above, the `Airplane Information Template` takes two input parameters, an `Aircraft` object and an object set of `Flights` to generate new aircraft-specific documents. ## Generate documents from templates Templates must be published before they can be used to generate documents. The methods for generating documents from templates are described below. ### From the Notepad home page You can generate a document from a template on the Notepad home page by selecting the **New from template** option, or by selecting the **New from this template** icon on an existing template. ![The Notepad home page with options for generating documents from templates.](../../../assets/7a4b503c9415e20306c09171cbd6faa0a8b82eb78f0ba955301fa9d9bb3cb053.webp) **Note:** This will generate a document from the *latest* published version of the template. ### From the Notepad application header You can generate a document from a template in the Notepad application header by opening the **File** menu and selecting the **New from this template** option. ![The Notepad header File menu with the New from this template option.](../../../assets/2f9176a93f3c5b44a341c7b0a932787c05e30940c6b96ea741e9f6c972c061d2.webp) **Note:** This will generate a document from the *latest* published version of the template. ### From Workshop To generate new template copies, embed your template in [Workshop](../../workshop/overview/index.md) with the **[Notepad: New Notepad Button](../workshop-templates/index.md)** widget. This connects Workshop variables with the template inputs needed to drive the generation process. ![The New Notepad Button widget in Workshop.](../../../assets/94248ce7a4eb3573f8a7ea733897a6e33df652d2e4a144a96dfc5e43b57b6a70.webp)