模板:勋章信息:修订间差异

添加246字节 、​ 2022年7月13日 (星期三)
无编辑摘要
无编辑摘要
无编辑摘要
 
(未显示4个用户的12个中间版本)
|title = {{#if:{{{勋章名称|}}}|{{{勋章名称}}}|{{BASEPAGENAME}}}}
|image = {{{image|}}}
{{|bartext = 勋章信息
|勋章名称|{{{勋章名称|}}}
|别名|{{{别名|}}}
|bottom-href = https://www.mcbbs.net/home.php?mod=medal
|bottom-text = 查看勋章页面
}}</includeonly><noinclude>{{doc}}[[Category:信息模板]]<templatedata>
{
介绍勋章的通用的模板。
"params": {
 
| "勋章名称": = {
== 使用方法 ==
"label": "勋章名称",
除了勋章名称之外的所有变量是可选的。
"type": "string",
<pre>
"default": "{{BASEPAGENAME}}",
{{勋章信息
"autovalue": "{{BASEPAGENAME}}",
|勋章名称 =
"required": true
|image =
},
|别名 =
"image": {
|获取方式 = 人工授予/自主申请/条件...
"label": "插图",
|有效期 =
"type": "content",
}}
"autovalue": ""
</pre>
},
 
"别名": {
{{勋章信息
"label": "别名",
|勋章名称 = 新人勋章
"type": "content"
|image =
},
|别名 = 猪猪勋章
| "获取方式": = 无条件领取一次{
"label": "获取方式",
|有效期 = 7天
"type": "content",
}}
"required": true
 
},
[[Category:信息模板]]
| "有效期": = {
"label": "有效期",
"type": "content",
"required": true
}
},
"description": "勋章条目的信息卡",
"format": "block"
}}
</templatedata></noinclude>