📌 模板版本
v0.6
。 📌 适用 Zotero IF Pro Max 版本v3.2.4
及以上。
强烈推荐本模板组合,即将推出的 Dataview 数据分析、以及卡片笔记功能都将基于此模板。
为了更好地使用本模板组合,请至少安装以下 Obsidian 插件:
YAML 模板
对于本模板组合,无需使用 YAML 模板,因此清空 YAML 模板,或者不启用 YAML 即可,如下图。👇
Metadata 模板
Metadata 模板如下:
journalArticle: [[[# {{title}}🌝> [!info]+ <center>Metadata</center>🌝> 🌝> |<div style="width: 5em">Key</div>|Value|🌝> |--:|:--|🌝> |文献类型|{{itemType}}|🌝> |标题|{{title}}|🌝> |短标题|{{shortTitle}}|🌝> |作者|{{creators}}|🌝> |期刊名称|{{publicationTitle}}|🌝> |DOI|{{DOI}}|🌝> |存档位置|{{archiveLocation}}|🌝> |馆藏目录|{{libraryCatalog}}|🌝> |索书号|{{callNumber}}|🌝> |版权|{{rights}}|🌝> |分类|{{collection}}|🌝> |条目链接|{{itemLink}}|🌝> |PDF 附件|{{pdfLink}}|🌝> |关联文献|{{related}}|🌝> ^Metadata🌝🌝🌝> [!example]- <center>本文标签</center>🌝> 🌝> `$=dv.current().file.tags`🌝🌝🌝> [!quote]- <center>Abstract</center>🌝> 🌝> {{abstractFormat}}🌝🌝🌝> [!tldr]- <center>隐藏信息</center>🌝> 🌝> itemType:: {{itemType}}🌝> title:: {{title}}🌝> shortTitle:: {{shortTitle}}🌝> creators:: {{creators}}🌝> publicationTitle:: {{publicationTitle}}🌝> journalAbbreviation:: {{journalAbbreviation}}🌝> volume:: {{volume}}🌝> issue:: {{issue}}🌝> pages:: {{pages}}🌝> language:: {{language}}🌝> DOI:: {{DOI}}🌝> ISSN:: {{ISSN}}🌝> url:: {{url}}🌝> archive:: {{archive}}🌝> archiveLocation:: {{archiveLocation}}🌝> libraryCatalog:: {{libraryCatalog}}🌝> callNumber:: {{callNumber}}🌝> rights:: {{rights}}🌝> extra:: {{extra}}🌝> collection:: {{collection}}🌝> tags:: {{tags}}🌝> related:: {{related}}🌝> itemLink:: {{itemLink}}🌝> pdfLink:: {{pdfLink}}🌝> qnkey:: {{qnkey}}🌝> date:: {{date}}🌝> dateY:: {{dateY}}🌝> dateAdded:: {{dateAdded}}🌝> dateModified:: {{dateModified}}🌝> year:: {{year}}🌝> dateCurrent:: {{dateCurrent}}🌝> time:: {{time}}🌝> week:: {{week}}🌝> yearMonth:: {{yearMonth}}🌝> dateWeek:: {{dateWeek}}🌝> dateTime:: {{dateTime}}🌝> dateWeekTime:: {{dateWeekTime}}🌝> 🌝> abstract:: {{abstract}}🌝]]],
conferencePaper: [[[# {{title}}🌝> [!info]+ <center>Metadata</center>🌝> 🌝> |<div style="width: 5em">Key</div>|Value|🌝> |--:|:--|🌝> |文献类型|{{itemType}}|🌝> |标题|{{title}}|🌝> |短标题|{{shortTitle}}|🌝> |作者|{{creators}}|🌝> |DOI|{{DOI}}|🌝> |存档位置|{{archiveLocation}}|🌝> |馆藏目录|{{libraryCatalog}}|🌝> |索书号|{{callNumber}}|🌝> |版权|{{rights}}|🌝> |分类|{{collection}}|🌝> |会议名称|{{conferenceName}}|🌝> |地点|{{place}}|🌝> |条目链接|{{itemLink}}|🌝> |PDF 附件|{{pdfLink}}|🌝> |关联文献|{{related}}|🌝> ^Metadata🌝🌝🌝> [!example]- <center>本文标签</center>🌝> 🌝> `$=dv.current().file.tags`🌝🌝🌝> [!quote]- <center>Abstract</center>🌝> 🌝> {{abstractFormat}}🌝🌝🌝> [!tldr]- <center>隐藏信息</center>🌝> 🌝> itemType:: {{itemType}}🌝> title:: {{title}}🌝> shortTitle:: {{shortTitle}}🌝> creators:: {{creators}}🌝> proceedingsTitle:: {{proceedingsTitle}}🌝> conferenceName:: {{conferenceName}}🌝> place:: {{place}}🌝> publisher:: {{publisher}}🌝> issue:: {{issue}}🌝> pages:: {{pages}}🌝> language:: {{language}}🌝> DOI:: {{DOI}}🌝> ISBN:: {{ISBN}}🌝> url:: {{url}}🌝> archive:: {{archive}}🌝> archiveLocation:: {{archiveLocation}}🌝> libraryCatalog:: {{libraryCatalog}}🌝> callNumber:: {{callNumber}}🌝> rights:: {{rights}}🌝> extra:: {{extra}}🌝> collection:: {{collection}}🌝> tags:: {{tags}}🌝> related:: {{related}}🌝> itemLink:: {{itemLink}}🌝> pdfLink:: {{pdfLink}}🌝> qnkey:: {{qnkey}}🌝> date:: {{date}}🌝> dateY:: {{dateY}}🌝> dateAdded:: {{dateAdded}}🌝> dateModified:: {{dateModified}}🌝> year:: {{year}}🌝> dateCurrent:: {{dateCurrent}}🌝> time:: {{time}}🌝> week:: {{week}}🌝> yearMonth:: {{yearMonth}}🌝> dateWeek:: {{dateWeek}}🌝> dateTime:: {{dateTime}}🌝> dateWeekTime:: {{dateWeekTime}}🌝> 🌝> abstract:: {{abstract}}🌝]]],
thesis: [[[# {{title}}🌝> [!info]+ <center>Metadata</center>🌝> 🌝> |<div style="width: 5em">Key</div>|Value|🌝> |--:|:--|🌝> |文献类型|{{itemType}}|🌝> |标题|{{title}}|🌝> |短标题|{{shortTitle}}|🌝> |大学|{{university}}|🌝> |链接|{{url}}|🌝> |存档位置|{{archiveLocation}}|🌝> |馆藏目录|{{libraryCatalog}}|🌝> |索书号|{{callNumber}}|🌝> |版权|{{rights}}|🌝> |分类|{{collection}}|🌝> |条目链接|{{itemLink}}|🌝> |PDF 附件|{{pdfLink}}|🌝> |关联文献|{{related}}|🌝> ^Metadata🌝🌝🌝> [!example]- <center>本文标签</center>🌝> 🌝> `$=dv.current().file.tags`🌝🌝🌝> [!quote]- <center>Abstract</center>🌝> 🌝> {{abstractFormat}}🌝🌝🌝> [!tldr]- <center>隐藏信息</center>🌝> 🌝> itemType:: {{itemType}}🌝> title:: {{title}}🌝> shortTitle:: {{shortTitle}}🌝> creators:: {{creators}}🌝> university:: {{university}}🌝> place:: {{place}}🌝> language:: {{language}}🌝> url:: {{url}}🌝> archive:: {{archive}}🌝> archiveLocation:: {{archiveLocation}}🌝> libraryCatalog:: {{libraryCatalog}}🌝> callNumber:: {{callNumber}}🌝> rights:: {{rights}}🌝> extra:: {{extra}}🌝> collection:: {{collection}}🌝> tags:: {{tags}}🌝> related:: {{related}}🌝> itemLink:: {{itemLink}}🌝> pdfLink:: {{pdfLink}}🌝> qnkey:: {{qnkey}}🌝> date:: {{date}}🌝> dateY:: {{dateY}}🌝> dateAdded:: {{dateAdded}}🌝> dateModified:: {{dateModified}}🌝> year:: {{year}}🌝> dateCurrent:: {{dateCurrent}}🌝> time:: {{time}}🌝> week:: {{week}}🌝> yearMonth:: {{yearMonth}}🌝> dateWeek:: {{dateWeek}}🌝> dateTime:: {{dateTime}}🌝> dateWeekTime:: {{dateWeekTime}}🌝> 🌝> abstract:: {{abstract}}🌝]]],
book: [[[# {{title}}🌝> [!info]+ <center>Metadata</center>🌝> 🌝> |<div style="width: 5em">Key</div>|Value|🌝> |--:|:--|🌝> |文献类型|{{itemType}}|🌝> |标题|{{title}}|🌝> |短标题|{{shortTitle}}|🌝> |链接|{{url}}|🌝> |存档位置|{{archiveLocation}}|🌝> |馆藏目录|{{libraryCatalog}}|🌝> |索书号|{{callNumber}}|🌝> |版权|{{rights}}|🌝> |分类|{{collection}}|🌝> |出版社|{{publisher}}|🌝> |条目链接|{{itemLink}}|🌝> |PDF 附件|{{pdfLink}}|🌝> |关联文献|{{related}}|🌝> ^Metadata🌝🌝🌝> [!example]- <center>本文标签</center>🌝> 🌝> `$=dv.current().file.tags`🌝🌝🌝> [!quote]- <center>Abstract</center>🌝> 🌝> {{abstractFormat}}🌝🌝🌝> [!tldr]- <center>隐藏信息</center>🌝> 🌝> itemType:: {{itemType}}🌝> title:: {{title}}🌝> shortTitle:: {{shortTitle}}🌝> creators:: {{creators}}🌝> volume:: {{volume}}🌝> edition:: {{edition}}🌝> place:: {{place}}🌝> publisher:: {{publisher}}🌝> language:: {{language}}🌝> ISBN:: {{ISBN}}🌝> url:: {{url}}🌝> archive:: {{archive}}🌝> archiveLocation:: {{archiveLocation}}🌝> libraryCatalog:: {{libraryCatalog}}🌝> callNumber:: {{callNumber}}🌝> rights:: {{rights}}🌝> extra:: {{extra}}🌝> collection:: {{collection}}🌝> tags:: {{tags}}🌝> related:: {{related}}🌝> itemLink:: {{itemLink}}🌝> pdfLink:: {{pdfLink}}🌝> qnkey:: {{qnkey}}🌝> date:: {{date}}🌝> dateY:: {{dateY}}🌝> dateAdded:: {{dateAdded}}🌝> dateModified:: {{dateModified}}🌝> year:: {{year}}🌝> dateCurrent:: {{dateCurrent}}🌝> time:: {{time}}🌝> week:: {{week}}🌝> yearMonth:: {{yearMonth}}🌝> dateWeek:: {{dateWeek}}🌝> dateTime:: {{dateTime}}🌝> dateWeekTime:: {{dateWeekTime}}🌝> 🌝> abstract:: {{abstract}}🌝]]],
patent: [[[# {{title}}🌝> [!info]+ <center>Metadata</center>🌝> 🌝> |<div style="width: 5em">Key</div>|Value|🌝> |--:|:--|🌝> |文献类型|{{itemType}}|🌝> |标题|{{title}}|🌝> |短标题|{{shortTitle}}|🌝> |DOI|{{DOI}}|🌝> |版权|{{rights}}|🌝> |其他|{{extra}}|🌝> |分类|{{collection}}|🌝> |颁发机构|{{issuingAuthority}}|🌝> |专利号|{{patentNumber}}|🌝> |条目链接|{{itemLink}}|🌝> |PDF 附件|{{pdfLink}}|🌝> |关联文献|{{related}}|🌝> ^Metadata🌝🌝🌝> [!example]- <center>本文标签</center>🌝> 🌝> `$=dv.current().file.tags`🌝🌝🌝> [!quote]- <center>Abstract</center>🌝> 🌝> {{abstractFormat}}🌝🌝🌝> [!tldr]- <center>隐藏信息</center>🌝> 🌝> itemType:: {{itemType}}🌝> title:: {{title}}🌝> shortTitle:: {{shortTitle}}🌝> creators:: {{creators}}🌝> place:: {{place}}🌝> country:: {{country}}🌝> issuingAuthority:: {{issuingAuthority}}🌝> patentNumber:: {{patentNumber}}🌝> pages:: {{pages}}🌝> applicationNumber:: {{applicationNumber}}🌝> priorityNumbers:: {{priorityNumbers}}🌝> issueDate:: {{issueDate}}🌝> language:: {{language}}🌝> DOI:: {{DOI}}🌝> url:: {{url}}🌝> rights:: {{rights}}🌝> extra:: {{extra}}🌝> collection:: {{collection}}🌝> tags:: {{tags}}🌝> related:: {{related}}🌝> itemLink:: {{itemLink}}🌝> pdfLink:: {{pdfLink}}🌝> qnkey:: {{qnkey}}🌝> date:: {{date}}🌝> dateY:: {{dateY}}🌝> dateAdded:: {{dateAdded}}🌝> dateModified:: {{dateModified}}🌝> year:: {{year}}🌝> dateCurrent:: {{dateCurrent}}🌝> time:: {{time}}🌝> week:: {{week}}🌝> yearMonth:: {{yearMonth}}🌝> dateWeek:: {{dateWeek}}🌝> dateTime:: {{dateTime}}🌝> dateWeekTime:: {{dateWeekTime}}🌝> 🌝> abstract:: {{abstract}}🌝]]],
用户笔记区模板
用户笔记区模板如下。
🌝## ✏️ 笔记区🌝🌝>[!inbox]- <center>📫 笔记简报</center>🌝>🌝>
⏰ importDate:: {{dateCurrent}}🌝🌝>
[!IMPORTANT]+ <center>🌱 研读印象</center> 🌝>🌝>📌 comment:: 🌝🌝>
[!WARNING]+ <center>🐣 总结</center> 🌝>🌝>🎯 研究问题:: 🌝🔎 研究背景:: 🌝🚀 研究方法:: 🌝🐔 研究思路:: 🌝📺 主要内容:: 🌝🎉 研究结论:: 🌝🗝️ 创新点:: 🌝💩 研究局限:: 🌝🐾 研究展望:: 🌝✏️ 备注:: 🌝
必要设置
Zotero IF Pro Max 设置
请按照下图所示进行相关必要设置,即:
- 务必勾选【自动模式】
- 务必勾选【块引用】
- 务必勾选【📒 标签】
- 务必勾选【优化标签中的标点符号】
- 务必勾选【优化摘要】
- 不要勾选【标签串折叠】
- 不要勾选【关联文献折叠】
- 务必勾选【pdfLink HTML】
- 务必勾选【注释标签嵌套】
Dataview 设置
在 Obsidian 中安装完 Dataview 插件后,在 Dataview 设置中,请打开以下开关:
- ✅ Enable Javascript Queries
- ✅ Enable Inline Javascript Queries
- ✅ Enable Inline Field Highlighting
CSS 片段代码
https://www.jianguoyun.com/p/DbkIoeEQ4dWDBxjxicEEIAA ( 访问密码:wkdI0Q )