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

删除23字节 、​ 2022年7月13日 (星期三)
无编辑摘要
(恢复Peanutz1096讨论)的编辑至QWERTY 52 38的最后版本)
标签回退
无编辑摘要
 
(未显示2个用户的2个中间版本)
|bottom-href = https://www.mcbbs.net/home.php?mod=medal
|bottom-text = 查看勋章页面
}}</includeonly><noinclude>{{doc}}[[Category:信息模板]]<templatedata>
{
介绍勋章的通用模板。
"params": {
 
| "勋章名称": = <br/>{
== 使用方法 ==
"label": "勋章名称",
除了勋章名称之外的其他变量都是可选的,不过原则上讲应该都填上。
"type": "string",
{{勋章信息
"default": "{{BASEPAGENAME}}",
|勋章名称 = 新人勋章
"autovalue": "{{BASEPAGENAME}}",
|image = [[文件:新人勋章.png]]
"required": true
|别名 = 猪猪勋章
},
|获取方式 = 无条件领取一次
"image": {
|有效期 = 7天
"label": "插图",
}}
"type": "content",
<div style = "width: 400px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e; margin: 0.5em">
"autovalue": ""
<nowiki>{{勋章信息</nowiki><br/>
},
|勋章名称 = <br/>
"别名": {
|image = <br/>
"label": "别名",
|别名 = <br/>
"type": "content"
|获取方式 = (人工授予/自主申请/条件……)<br/>
},
|有效期 = <br/>
"获取方式": {
}}
"label": "获取方式",
</div>
"type": "content",
 
"required": true
[[Category:信息模板]]
},
| "有效期": = 7天{
"label": "有效期",
"type": "content",
"required": true
}
},
"description": "勋章条目的信息卡",
"format": "block"
}}
</templatedata></noinclude>