# 7.2 滤件模板

滤件最重要的部分就是模板 Templates 这块，模板中定义了如何解析转换数据文件的标记数据为对应的 EndNote 字段内容。换句话说，从各大数据库下载来的文献数据怎么导，导到哪去，每个部分对应文献的哪个字段，这都需要在模板中定义

标记数据由一个位于左侧的标识符(通常是 Tag 名称，此处名称简短利于记忆区分，别起太难的或者与数据不相关的名称)，以及一个文本部分组成。如果想导入EndNote，数据必须有一个一致性的标签与 EndNote 的相关字段相对应

比如从 PubMed 下载的数据库文件，其中一部分如下。下面就是标记数据，比如 AU 代表的就是作者，这部分内容可以导致作者字段中

> PMID- 5004600\
> OWN - NLM\
> STAT- MEDLINE\
> DA - 19720714\
> DCOM- 19720714\
> LR - 20071115\
> IS - 0148-916X (Print)\
> IS - 0148-916X (Linking)\
> VI - 39\
> IP - 2\
> DP - 1971 Apr-Jun\
> TI - Differential diagnosis of leprosy.\
> PG - 447-55\
> FAU - Schaller, K F\
> AU - Schaller KF\
> LA - eng\
> PT - Journal Article\
> PL - UNITED STATES\
> TA - Int J Lepr Other Mycobact Dis\
> JT - International journal of leprosy and other mycobacterial diseases : official\
> organ of the International Leprosy Association\
> JID - 8505819\
> SB - IM\
> MH - Carcinoma, Squamous Cell/diagnosis\
> MH - Diagnosis, Differential\
> MH - Erythema/diagnosis\
> MH - Granuloma/diagnosis\
> MH - Humans\
> MH - Leishmaniasis, Mucocutaneous/diagnosis\
> MH - Leprosy/\*diagnosis\
> MH - Lichen Planus/diagnosis\
> MH - Lupus Vulgaris/diagnosis\
> MH - Neurofibromatosis 1/diagnosis\
> MH - Onchocerciasis/diagnosis\
> MH - Pityriasis/diagnosis\
> MH - Pityriasis Rubra Pilaris/diagnosis\
> MH - Psoriasis/diagnosis\
> MH - Sarcoma, Kaposi/diagnosis\
> MH - Skin Diseases/\*diagnosis\
> MH - \*Skin Manifestations\
> MH - Tinea Versicolor/diagnosis\
> MH - Vitiligo/diagnosis\
> EDAT- 1971/04/01\
> MHDA- 1971/04/01 00:01\
> CRDT- 1971/04/01 00:00\
> PST - ppublish\
> SO - Int J Lepr Other Mycobact Dis. 1971 Apr-Jun;39(2):447-55.

模板由多个文献类型模板组成，引文类型模板对应数据文件中的文献数据。


---

# 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://kb.howsci.com/filters/filter-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.
