# Using topic templates for categories

**URL:** https://meta.discourse.org/t/using-topic-templates-for-categories/38295
**Category:** Site Management
**Tags:** reference, topic-templates, content
**Created:** [January 21, 2016, 10:32am UTC](https://meta.discourse.org/t/using-topic-templates-for-categories/38295 "2016-01-21T10:32:55Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Discourse](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/discourse/32/148734_2.png) [@Discourse](https://meta.discourse.org/u/Discourse)
#### Post date: [January 21, 2016, 10:32am UTC](https://meta.discourse.org/t/using-topic-templates-for-categories/38295/1 "2016-01-21T10:32:55Z")

</div>

> 🔖 This guide explains how to use topic templates in categories and explores alternative methods for structuring content in Discourse.
> 
> 🙋 Required user level: Administrator

Topic templates are powerful tools for maintaining forum consistency and guiding new users. This guide will walk you through setting up category topic templates and explore alternative methods for structuring content in Discourse.

## Summary

- Learn how to set up category topic templates
- Discover alternatives like pre-filled topic links and reply templates
- Understand how to use topics as templates for canned replies

## Setting up category topic templates

Category topic templates are useful when you want topics in a specific category to follow a consistent format. Here’s how to set them up:

1. Navigate to the desired category
2. Click the 🔧 (wrench) button
3. Find “Topic Template” in the left menu
4. Enter your desired template in the text area  
 ![This image displays a topic template interface for creating or editing entries related to movie reviews, allowing users to input the movie title, star rating, and a written review.](https://global.discourse-cdn.com/meta/original/3X/e/9/e9c76b67fc6407b74984436c16aef60578e7db5a.png)

For example, a “Movies” category might use this template:

```plaintext
I saw: [insert movie title]

I think it was worth: [how many stars] out of 4 stars

Review here:

```

> ℹ You can add hidden comments to the template using HTML comments: `<!-- I'm an HTML comment -->`.

> 💡 The Topic Template tab also includes a **Topic Title Placeholder** field. This lets you set placeholder text that appears in the topic title field when a user creates a new topic in the category, guiding them on what title format to use.

## Alternatives to category topic templates

If category topic templates don’t quite fit your needs, consider these alternatives:

### Creating pre-filled topic links

You can create URLs that, when clicked, open a new topic with pre-filled information:

1. Use this URL structure:  
`https://discourse.example.com/new-topic?title=topic%20title&body=topic%20body&category=category/subcategory`
2. Modify the parameters as needed

For more details, read the guide on [creating new topic links with pre-filled information](https://meta.discourse.org/t/how-to-create-a-new-topic-link-with-pre-filled-information/28074).

### Using reply templates

For topics that require structured replies, consider using the Reply Template theme component:

1. Install the [Reply Template theme component](https://meta.discourse.org/t/discourse-reply-template-component/162373)
2. Set up your desired reply template  
 ![This image shows an interface or messaging template that allows a person to indicate their plans or reason for taking time off.](https://global.discourse-cdn.com/meta/original/3X/d/0/d01db23aa5481b1a984bef0d9088ade04f1cc35b.png)

Example template:

```plaintext
[wrap=template key="template-name"]
Task list for $tomorrow
- [] task 1
- [] Clean the <!-- FILL IN ROOM NAME: --> _
[/wrap]

```

### Creating template topics for canned replies

The [Discourse Templates](https://meta.discourse.org/t/discourse-templates/229250) plugin allows you to use entire topics as templates for canned replies:

1. Install the Discourse Templates plugin
2. Create one or more categories to store your templates
3. Add topics to these categories, with the first post serving as the template

## Additional resources

- [Creating a link to start a new topic with pre-filled information](https://meta.discourse.org/t/how-to-create-a-new-topic-link-with-pre-filled-information/28074?silent=true)
- [Reply Template](https://meta.discourse.org/t/discourse-reply-template-component/162373?silent=true)
- [Discourse Templates](https://meta.discourse.org/t/discourse-templates/229250?silent=true)

> Last edited by @ToddZ 2026-03-10T23:18:07Z
> 
> > **Check document**
> >
> > Perform check on document:

---

_[View the full topic](https://meta.discourse.org/t/using-topic-templates-for-categories/38295)._
