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

删除937字节 、​ 2020年8月1日 (星期六)
恢复Peanutz1096讨论)的编辑至Sheep-realms的最后版本
(恢复Peanutz1096讨论)的编辑至Sheep-realms的最后版本)
标签回退
|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>
介绍道具用语、梗的通用模板。
 
== 使用方法 ==
除了道具用语名称之外的其他所有变量是可选的。
<pre>
<div style = "overflow-x: auto; white-space: nowrap">
{{道具信息
<div style = "width: 550px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e">
|道具名称 = <br/>
<nowiki>{{道具信息</nowiki><br/>
|image =
|道具名称 = <br/>
|道具ID =
|image = (一般使用内部链接)<br/>
|售价 = 40<br/>
|英文ID = (英文ID是指地址中末尾mid后的一个单词,如'''提升卡'''是bump)<br/>
|售价重量 = <br/>
|补货周期 = 每天<br/>
|重量 = <br/>
|补货周期上限 = <br/>
|补货使用上限 = <br/>
|持续时间 = <br/>
|使用上限 = <br/>
|持续时间 = <br/>
}}
</div></divpre>
 
例如:(效果见右)
{{道具信息
|道具名称 = 提升卡
|image = [[文件:提升卡图片.gif]]
|英文道具ID = bump
|售价 = 40
|重量 = 40
|持续时间 = 瞬时
}}
<div style = "overflow-x: auto; white-space: nowrap">
<div style = "width: 400px; background: #fdf6e6; padding: 5px 20px 5px; font-family: NSimSun; border: solid 1px #cfb78e">
<nowiki>{{道具信息</nowiki><br/>
|道具名称 = 提升卡<br/>
|image = <nowiki>[[文件:提升卡图片.gif]]</nowiki><br/>
|英文ID = bump<br/>
|售价 = 40<br/>
|重量 = 40<br/>
|补货周期 = 每天<br/>
|补货上限 = 50<br/>
|使用上限 = 3个/天<br/>
|持续时间 = 瞬时<br/>
}}
</div></div>
<br/><br/><br/><br/><br/>
 
[[Category:信息模板]]