# 主题创建编辑器中是否有设置模板（占位符）的方法

**URL:** <https://meta.discourse.org/t/i-there-a-way-to-setup-a-template-placeholder-in-the-topic-creation-editor/168334>\
**Category:** Support\
**Created:** [2020年十月27日 00:06 UTC](https://meta.discourse.org/t/i-there-a-way-to-setup-a-template-placeholder-in-the-topic-creation-editor/168334 "2020-10-27T00:06:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric.kim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eric.kim/32/179081_2.png) [@eric.kim](https://meta.discourse.org/u/eric.kim)\
**Post date:** [2020年十月27日 00:06 UTC](https://meta.discourse.org/t/i-there-a-way-to-setup-a-template-placeholder-in-the-topic-creation-editor/168334/1 "2020-10-27T00:06:00Z")

</div>

我们希望能为我们的社区帖子添加一些指南或格式规范。

我们的痛点在于，有些问题如果我能立即获知他们的 SDK 版本号（有时甚至是错误日志），本可以立刻解答。然而，许多（事实上是大多数）问题在发布时并未提供这些信息，导致我需要花费数天时间才能回答，并且必须持续跟踪这些帖子。

我们是否可以在创建主题时添加一个模板？

示例模板：  
`欢迎加入社区…… 如果您报告的是 Bug，请附上 SDK 版本号，并尽可能提供错误日志或堆栈跟踪。 如果您询问如何执行 Sendbird 的某项操作，请描述……`

---

<div class="post-metadata">

**Author:** ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**Post date:** [2020年十月27日 00:12 UTC](https://meta.discourse.org/t/i-there-a-way-to-setup-a-template-placeholder-in-the-topic-creation-editor/168334/2 "2020-10-27T00:12:32Z")

</div>

是的，您可以为每个类别设置主题模板。

编辑类别 → 主题模板

---

<div class="post-metadata">

**Author:** ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)\
**Post date:** [2020年十月27日 08:56 UTC](https://meta.discourse.org/t/i-there-a-way-to-setup-a-template-placeholder-in-the-topic-creation-editor/168334/3 "2020-10-27T08:56:10Z")

</div>

你好 @omarfilip，你也可以使用下面的主题组件。

> [@Topic Template Placeholder Text theme component](https://meta.discourse.org/t/topic-template-placeholder-text-theme-component/149053):
>
> Topic Template Placeholder Text theme component This theme component enables you to display Topic Templates as placeholders (watermarks) instead of as editable template text. This allows you to provide custom instructions as a placeholder for each topic. For example: This is the normal placeholder (watermark) text. NB You can already change this site-wide by changing the custom text Go to Admin \>\> Customise \>\> Text Then search for the text that you see there on the screen. A se…
