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

添加89字节 、​ 2022年7月13日 (星期三)
无编辑摘要
(恢复Peanutz1096讨论)的编辑至Sheep-realms的最后版本)
标签回退 移动版编辑 移动版网页编辑
无编辑摘要
 
(未显示4个用户的8个中间版本)
|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": {
 
| "小组名称": = {
== 使用方法 ==
"label": "小组名称",
除了版块名称之外的所有变量是可选的。
"default": "{{BASEPAGENAME}}",
<pre>
"autovalue": "{{BASEPAGENAME}}",
{{小组信息
"required": true
|小组名称 =
},
|image =
"image": {
|小组别名 =
"label": "插图",
|小组ID =
"type": "content",
|小组分类 = 红石研究小组/地图创作小组/技术研究小组/美术创作小组/文学创作小组/其他团队/基岩版小组
"autovalue": ""
|领导者 =
},
|代表作 =
| "小组别名": = {
}}
"label": "小组别名",
</pre>
"type": "content"
 
},
<pre>
{{ "小组信息ID": {
"label": "小组ID",
|小组名称 =
"type": "number",
|image =
"required": true
|titlestyle = 标题样式
},
|barstyle = 分界栏样式
"小组分类": {
|buttonstyle = 底部按钮样式
"label": "小组分类",
|小组别名 =
"type": "content",
|小组ID =
"required": true
|小组分类 = 红石研究小组/地图创作小组/技术研究小组/美术创作小组/文学创作小组/其他团队/基岩版小组
},
|领导者 =
| "领导者": = {
|代表作 =
"label": "领导者",
}}
"type": "content",
</pre>
"required": true
 
},
举例见右边
| "代表作": = {
 
"label": "代表作",
{{小组信息
"type": "content"
|小组名称 = CTHUWORK
},
|image =
"titlestyle": {
|小组别名 = 想不出来了
"label": "标题栏样式",
|小组ID = 350
"type": "string"
|小组分类 = 地图创作小组
}},
"barstyle": {
 
"label": "分隔栏样式",
[[Category:信息模板]]
"type": "string"
},
"buttonstyle": {
"label": "按钮样式",
"type": "string"
}
},
"description": "小组条目的信息卡",
"format": "block"
}}
</templatedata></noinclude>