模板:版块信息:修订间差异

添加927字节 、​ 2022年7月13日 (星期三)
无编辑摘要
无编辑摘要
无编辑摘要
|bottom-href = https://www.mcbbs.net/forum-{{{版块ID|{{{版块FID|}}}}}}-1.html
|bottom-text = 访问版块
}}{{#ifeq:{{NAMESPACE}}||[[分类:版块]]}}</includeonly><noinclude>{{doc}}[[Category:信息模板]]</noincludetemplatedata>
{
"params": {
"版块名称": {
"label": "版块名称",
"type": "string",
"default": "{{BASEPAGENAME}}",
"autovalue": "{{BASEPAGENAME}}",
"required": true
},
"image": {
"label": "图标",
"type": "content",
"autovalue": "",
"required": true
},
"版块ID": {
"label": "版块ID",
"description": "若有别名(例如矿工茶馆的“chat”),请填写别名;若没有别名,请填写数字ID。",
"type": "string",
"required": true
},
"版块FID": {
"label": "版块FID",
"type": "number",
"required": true
},
"版块类型": {
"label": "版块类型",
"description": "可以是:大区 / 版块 / 子版块 / 跳转链接",
"type": "string",
"required": true
},
"父级版块": {
"label": "父级版块",
"type": "content"
}
},
"description": "版块条目的信息卡",
"format": "block"
}
</templatedata></noinclude>