模板:术语定义:修订间差异
| 第4行: | 第4行: | ||
<code><nowiki>{{术语定义|灾厄}}</nowiki></code> | <code><nowiki>{{术语定义|灾厄}}</nowiki></code> | ||
本模板只输出指向规范术语词条的链接,不再读取或输出任何“短定义”正文。**定义与详细内容的唯一编辑源是规范术语词条正文**;读者页以规范词条为唯一入口,本模板仅作过渡期的兼容链接。 | |||
不要在模板或文章里另写一份“短定义”;词条正文就是唯一定义源,需要改定义时直接在词条页编辑。 | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "指向规范术语词条的链接(兼容旧短定义调用,只输出链接,不输出定义正文)。", | ||
"params": { | "params": { | ||
"1": { "label": "词名或别名", "type": "string", "required": true } | "1": { "label": "词名或别名", "type": "string", "required": true } | ||