跳转到内容

模板:ItemBox

来自槌基百科
LocalAdmin留言 | 贡献2026年3月12日 (四) 11:26的版本 (Create ItemBox infobox template with TemplateData)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

物品信息框模板。在道具、法宝、灵器等词条页面顶部使用。

<templatedata> {

   "description": "物品/法宝信息卡片",
   "params": {
       "name": {
           "label": "名称",
           "description": "物品名称,留空则自动使用页面标题",
           "type": "string",
           "suggested": true
       },
       "image": {
           "label": "图片",
           "description": "图片文件名,例如:元磁子母剑.jpg",
           "type": "wiki-file-name",
           "suggested": true
       },
       "grade": {
           "label": "物品品阶",
           "description": "法宝等级,例如:极品法宝、上品灵器",
           "type": "string",
           "suggested": true
       },
       "type": {
           "label": "物品类型",
           "description": "飞剑、丹药、法阵、阵盘等",
           "type": "string"
       },
       "owner": {
           "label": "持有人",
           "description": "当前持有者",
           "type": "string",
           "suggested": true
       },
       "maker": {
           "label": "打造人",
           "description": "炼制或打造者",
           "type": "string"
       },
       "material": {
           "label": "材质",
           "description": "主要炼制材料",
           "type": "string"
       },
       "use": {
           "label": "用途",
           "description": "主要用途或作用",
           "type": "string"
       },
       "ability": {
           "label": "技能/能力",
           "description": "特殊能力或效果",
           "type": "string"
       }
   },
   "paramOrder": ["name","image","grade","type","owner","maker","material","use","ability"]

} </templatedata>