# 範本

Chamilo 使用模板來設計證書、文件和電子郵件。您可以自訂這些模板以符合您組織的品牌和需求。

## 證書模板

證書模板定義了授予達到成績門檻的學習者的證書的版面和內容。

### 自訂證書模板

證書模板使用 HTML 和 CSS，並包含佔位符變數：

| 變數   | 替換為                                    |
| ---- | -------------------------------------- |
| 學生姓名 | 學習者的全名                                 |
| 課程名稱 | 課程名稱                                   |
| 日期   | 獲得證書的日期                                |
| 分數   | 學習者的最終分數                               |
| 條碼   | 用於驗證的條碼佔位符 (`((certificate_barcode))`) |

### 上傳模板

1. 導航至證書模板管理
2. 上傳或編輯 HTML 模板
3. 在需要顯示動態內容的地方使用佔位符變數
4. 儲存

## 文件模板

教師在使用「文件」工具創建內容時可以使用文件模板。模板為常見文件類型提供起始版面。

### 管理文件模板

1. 在管理面板中導航至模板管理
2. 透過上傳 HTML 檔案新增模板
3. 教師在創建新文件時即可使用這些模板

## 小提示

* **加入您的標誌** — 在證書模板中加入您組織的標誌，以獲得專業的外觀
* **使用真實數據測試** — 在部署模板前，使用實際學習者數據預覽證書
* **保持模板簡潔** — 簡單的設計更容易列印且看起來更專業


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/2.x-zh-tw/guan-li-zhi-nan/admin-guide/branding/templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
