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

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