模板:道具信息:修订间差异

添加846字节 、​ 2020年8月1日 (星期六)
无编辑摘要
|bartext = 基本资料
|道具名称|{{{道具名称|}}}
|道具英文ID|{{{道具英文ID|}}}
|售价|{{{售价|}}}
|重量|{{{重量|}}}
|使用上限|{{{使用上限|}}}
|持续时间|{{{持续时间|}}}
|bottom-hide = {{{道具英文ID|}}}
|bottom-href = https://www.mcbbs.net/home.php?mod=magic&action=shop&operation=buy&mid={{{道具英文ID}}}
|bottom-text = 购买道具
}}</includeonly><noinclude>
介绍用语、梗道具的通用模板。
 
== 使用方法 ==
除了用语道具名称之外的所有其他变量是可选的。
<div style = "width: 500px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e; margin: 0.5em">
<pre>
<nowiki>{{道具信息</nowiki><br/>
|道具名称 = <br/>
|image = (一般使用内部链接)<br/>
|英文ID = (英文ID是指地址中末尾mid后的一个单词,如'''提升卡'''是bump)<br/>
|道具ID =
|售价 = <br/>
|重量 = <br/>
|补货周期 = <br/>
|补货上限 = <br/>
|使用上限 = <br/>
|持续时间 = <br/>
}}
</prediv>
例如:(效果见右)
 
{{道具信息
|道具名称 = 提升卡
|image = [[文件:提升卡图片.gif]]
|道具英文ID = bump
|售价 = 40
|重量 = 40
|持续时间 = 瞬时
}}
<div style = "width: 400px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e; margin: 0.5em">
 
<nowiki>{{道具信息</nowiki><br/>
|道具名称 = 提升卡<br/>
|image = <nowiki>[[文件:提升卡图片.gif]]</nowiki><br/>
|英文ID = bump<br/>
|售价 = 40<br/>
|重量 = 40<br/>
|补货周期 = 每天<br/>
|补货上限 = 50<br/>
|使用上限 = 3个/天<br/>
|持续时间 = 瞬时<br/>
}}
</div>
<br/><br/><br/><br/><br/>
[[Category:信息模板]]
94

个编辑