# 태그를 사용한 양식 템플릿 설정

**URL:** https://meta.discourse.org/t/setting-form-templates-with-a-tag/283112
**Category:** Feature
**Tags:** tags, form-templates
**Created:** [10월 19, 2023, 2:06오전 UTC](https://meta.discourse.org/t/setting-form-templates-with-a-tag/283112 "2023-10-19T02:06:38Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sunjam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunjam/32/175682_2.png) [@sunjam](https://meta.discourse.org/u/sunjam)
#### Post date: [10월 19, 2023, 2:06오전 UTC](https://meta.discourse.org/t/setting-form-templates-with-a-tag/283112/1 "2023-10-19T02:06:38Z")

</div>

> [@renato](#):
>
> 표에는 각 템플릿이 현재 활성화된 카테고리도 표시됩니다.

이러한 템플릿을 태그와도 연결할 수 있을까요?  
필요한 태그 그룹에 따라 양식을 변경할 수 있다면 정말 훌륭할 것입니다. 필수 태그 A에서 E 중 하나를 선택하면 양식 A에서 E 중 하나가 표시됩니다.

---

<div class="post-metadata">

### Author: ![sunjam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sunjam/32/175682_2.png) [@sunjam](https://meta.discourse.org/u/sunjam)
#### Post date: [10월 26, 2023, 7:49오후 UTC](https://meta.discourse.org/t/setting-form-templates-with-a-tag/283112/2 "2023-10-26T19:49:33Z")

</div>

> [@loginerror](#):
>
> 각 입력 옵션에 태그를 할당할 수 있는 옵션이 있으면 좋겠습니다. 이 태그는 나중에 주제의 태그로 추가될 수 있으며(물론 선택 사항이므로 특정 입력에 태그를 추가할지 여부를 선택할 수 있습니다), 이렇게 하면 나중에 더 나은 필터링을 위해 주제 본문뿐만 아니라 태그도 채울 수 있게 됩니다.

좋은 아이디어네요. 이 주제에도 인용해 두겠습니다.

---

<div class="post-metadata">

### Author: ![Aizada\_M](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aizada_m/32/352050_2.png) [@Aizada\_M](https://meta.discourse.org/u/Aizada_M)
#### Post date: [1월 12, 2024, 8:44오후 UTC](https://meta.discourse.org/t/setting-form-templates-with-a-tag/283112/3 "2024-01-12T20:44:10Z")

</div>

안녕하세요, 포럼의 여러분! 👋

추가 기능을 제안하고자 합니다. 바로 템플릿을 태그와 연결하는 기능입니다:

**1) 특정 주제를 태그를 사용하여 답글 편집기에 템플릿 추가**  
템플릿이 카테고리와 연결되어 있든 아니든, 템플릿을 태그와 연결하면 포럼 관리자가 응답 템플릿이 필요한 주제를 선택하는 데 더 많은 유연성을 가질 수 있습니다.  
**예시:** 예를 들어, 포럼 관리자로서 특정 카테고리의 전체에 템플릿을 사용하고 싶지 않지만, 특정 카테고리 내의 특정 주제(예: “자기소개” 주제)에 응답할 때 사람들이 템플릿을 엄격히 따르기를 원한다고 가정해 보겠습니다. 이를 위해 해당 주제에 관리자만 접근할 수 있는 태그(예: `tag-about-me`)를 추가합니다. 이 태그는 해당 주제의 답글 편집기에 템플릿을 추가합니다.  
(_현재 답글 편집기에서 템플릿 양식이 지원되지 않는다는 점을 이해하고 있지만, 태그를 통해 응답에 템플릿을 사용할 수 있게 하는 것은 훌륭한 해결책이 될 것입니다._)

**2) 태그를 사용하여 개인 메시지에 템플릿 추가**  
앞서 언급한 첫 번째 항목과 달리, 개인 메시지에 태그를 추가하면 답글 편집기가 아닌 첫 번째 게시물의 편집기에 템플릿이 추가되어야 합니다(카테고리를 선택할 때 템플릿을 추가하는 것과 유사하게).  
때로는 스태프나 봇(예: @merefield의 [챗봇](https://meta.discourse.org/t/discourse-chatbot-now-smarter-than-chatgpt/256652) 또는 Discobot)에게 연락하기 위해 개인 메시지에 템플릿을 적용해야 할 필요가 있습니다. 이러한 경우, 태그로 템플릿을 적용하면 특히 AI 플러그인을 사용하는 포럼 관리자에게 더 큰 유연성을 제공합니다.  
**예시:** 관리자로 하여금 공개 주제에 태그가 포함된 링크(예: `https://mysite.com/new-message?username=chatbot&title=congratulate%20a%20relative&` **tags=tag-congratulate** )를 추가합니다. 클릭하면 `@chatbot`에게 해당 태그가 지정된 템플릿이 포함된 개인 메시지 편집기가 열립니다:

> ![image](https://global.discourse-cdn.com/meta/original/4X/6/c/9/6c9bc9c28b53ddae0cf57ee3de9e0d7b724dd950.png)

`/admin/customize/form-templates/#` 설정에서 제안된 태그 기능의 예시입니다:

> **요약**
>
> ![image](https://global.discourse-cdn.com/meta/original/4X/f/2/e/f2e458ac7ba246f1320abc4122003dd2d7c42185.png)

그리고 `/admin/customize/form-templates`에서 템플릿 목록 페이지의 제안된 태그 기능 예시입니다:

> **요약**
>
> ![image](https://global.discourse-cdn.com/meta/original/4X/e/d/e/ede6e1f1ffeed2305e0884d5ee088cf88aa53bad.png)

P.S. 저는 프로그래머가 아니므로, 게시글에서 기술적인 세부 사항을 놓쳤다면 너무 엄하게 판단해 주시지 마세요. 🙏

---

<div class="post-metadata">

### Author: ![Drew-ART](https://avatars.discourse-cdn.com/v4/letter/d/8edcca/32.png) [@Drew-ART](https://meta.discourse.org/u/Drew-ART)
#### Post date: [11월 25, 2025, 5:36오후 UTC](https://meta.discourse.org/t/setting-form-templates-with-a-tag/283112/4 "2025-11-25T17:36:41Z")

</div>

태그(또는 다른 대상)에 composer 템플릿을 적용할 수 있는 약간 다른 것을 만들었습니다.

아직 몇 가지 버그를 해결해야 합니다.

> [@URL Composer 템플릿](https://meta.discourse.org/t/url-composer-templates/389546/3):
>
> Thanks for pointing that out @NateDhaliwal No, it just sniffs the url looking for a specific string and pre-fills the the composer with one of a few a templates when it finds that string. The Docus plugin puts that string into urls as one of its functions, but this component will work with any string or delivery mechanism someone wants to use, so it can stand alone. I’ll update the readme to explain that. For example, you could tell it to look for: ‘/tag/introductions’ and it would become a t…
