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

删除305字节 、​ 2022年7月13日 (星期三)
无编辑摘要
(格式修改)
无编辑摘要
 
(未显示5个用户的11个中间版本)
|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": {
 
| "小组名称": = CTHUWORK{
== 使用方法 ==
"label": "小组名称",
除了版块名称之外的其他变量都是可选的。
"default": "{{BASEPAGENAME}}",
{{小组信息
"autovalue": "{{BASEPAGENAME}}",
|小组名称 = CTHUWORK
"required": true
|image =
},
|小组别名 = ''(想不出来了)''
"image": {
|小组ID = 350
"label": "插图",
|小组分类 = 地图创作小组
"type": "content",
}}
"autovalue": ""
<div style = "width: 750px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e; margin: 0.5em">
},
<nowiki>{{小组信息</nowiki><br/>
| "小组": = <br/>{
"label": "小组别名",
|image = <br/>
"type": "content"
|小组别名 = <br/>
},
|小组ID = <br/>
| "小组ID": = 350{
|小组分类 = (红石研究小组/地图创作小组/技术研究小组/美术创作小组/文学创作小组/基岩版小组/其他团队)<br/>
"label": "小组ID",
|领导者 = <br/>
"type": "number",
|代表作 = <br/>
"required": true
}}
},
</div>
"小组分类": {
 
"label": "小组分类",
<div style = "width: 750px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e; margin: 0.5em">
"type": "content",
</nowiki>{{小组信息</nowiki><br/>
"required": true
|小组名称 = <br/>
},
|image = <br/>
| "领导者": = <br/>{
|titlestyle = <标题样式><br/>
"label": "领导者",
|barstyle = <分界栏样式><br/>
"type": "content",
|buttonstyle = <底部按钮样式><br/>
"required": true
|小组别名 = <br/>
},
|小组ID = <br/>
| "代表作": = <br/>{
|小组分类 = (红石研究小组/地图创作小组/技术研究小组/美术创作小组/文学创作小组/基岩版小组/其他团队)<br/>
"label": "代表作",
|领导者 = <br/>
"type": "content"
|代表作 = <br/>
}},
"titlestyle": {
</div>
"label": "标题栏样式",
 
"type": "string"
[[Category:信息模板]]
},
"barstyle": {
"label": "分隔栏样式",
"type": "string"
},
"buttonstyle": {
"label": "按钮样式",
"type": "string"
}
},
"description": "小组条目的信息卡",
"format": "block"
}}
</templatedata></noinclude>