模板:小组信息:修订间差异

删除758字节 、​ 2022年7月13日 (星期三)
无编辑摘要
无编辑摘要
 
(未显示3个用户的6个中间版本)
|bottom-href = https://www.mcbbs.net/group-{{{小组ID}}}-1.html
|bottom-text = 访问小组
}}{{#ifeq:{{NAMESPACE}}||[[分类:小组]]}}</includeonly><noinclude>{{doc}}[[Category:信息模板]]<templatedata>
{
介绍小组的通用模板。
"params": {
 
"小组名称": {
== 使用方法 ==
"label": "小组名称",
除了小组名称、小组ID之外的其他变量都是可选的。
"default": "{{BASEPAGENAME}}",
<div style = "width: 750px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e; margin: 0.5em">
"autovalue": "{{BASEPAGENAME}}",
<nowiki>{{小组信息</nowiki><br/>
"required": true
|小组名称 = <br/>
},
|image = (一般使用内部链接)<br/>
"image": {
|小组别名 = <br/>
"label": "插图",
|小组ID = <br/>
"type": "content",
|小组分类 = (红石研究小组/地图创作小组/技术研究小组/美术创作小组/文学创作小组/基岩版小组/其他团队)<br/>
"autovalue": ""
|领导者 = <br/>
},
|代表作 = <br/>
"小组别名": {
}}
"label": "小组别名",
</div>
"type": "content"
更详细的版本:
},
<div style = "width: 750px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e; margin: 0.5em">
"小组ID": {
<nowiki>{{小组信息</nowiki><br/>
"label": "小组ID",
|小组名称 = <br/>
"type": "number",
|image = (一般使用内部链接)<br/>
"required": true
|titlestyle = <标题样式><br/>
},
|barstyle = <分界栏样式><br/>
"小组分类": {
|buttonstyle = <底部按钮样式><br/>
"label": "小组分类",
|小组别名 = <br/>
"type": "content",
|小组ID = <br/>
"required": true
|小组分类 = (红石研究小组/地图创作小组/技术研究小组/美术创作小组/文学创作小组/基岩版小组/其他团队)<br/>
},
|领导者 = <br/>
"领导者": {
|代表作 = <br/>
"label": "领导者",
}}
"type": "content",
</div>
"required": true
例如:(效果见右)
},
{{小组信息
"代表作": {
|小组名称 = CTHUWORK
"label": "代表作",
|image =
"type": "content"
|小组别名 = ''(想不出来了)''
},
|小组ID = 350
"titlestyle": {
|小组分类 = 地图创作小组
"label": "标题栏样式",
}}
"type": "string"
<div style = "width: 300px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e; margin: 0.5em">
},
<nowiki>{{小组信息</nowiki><br/>
"barstyle": {
|小组名称 = CTHUWORK<br/>
"label": "分隔栏样式",
|image = <br/>
"type": "string"
|小组别名 = <nowiki>''(想不出来了)''</nowiki><br/>
},
|小组ID = 350<br/>
"buttonstyle": {
|小组分类 = 地图创作小组<br/>
"label": "按钮样式",
}}
"type": "string"
</div>
}
[[Category:信息模板]]
},
"description": "小组条目的信息卡",
"format": "block"
}
</templatedata></noinclude>