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

添加548字节 、​ 2024年3月23日 (星期六)
// Edit via Wikiplus
无编辑摘要
(// Edit via Wikiplus)
 
(未显示5个用户的9个中间版本)
第11行: 第11行:
|使用上限|{{{使用上限|}}}
|使用上限|{{{使用上限|}}}
|持续时间|{{{持续时间|}}}
|持续时间|{{{持续时间|}}}
|bottom-hide = {{{道具ID|}}}
|bartitle1={{#ifeq:{{Yesno|{{{Removed|no}}}}}|yes|该道具已移除}}|bartext1={{#ifeq:{{Yesno|{{{Removed|no}}}}}|yes|<div></div>}}<!--
|bottom-href = https://www.mcbbs.net/home.php?mod=magic&action=shop&operation=buy&mid={{{道具ID}}}
|bottom-hide={{#ifeq:{{Yesno|{{{Removed|no}}}}}|yes||{{{道具ID|}}}}}
|bottom-text = 购买道具
|bottom-href=https://www.mcbbs.net/home.php?mod=magic&action=shop&operation=buy&mid={{{道具ID}}}
}}</includeonly><noinclude>
|bottom-text=购买道具-->
介绍用语、梗的通用的模板。
}}{{#if:{{NAMESPACE}}||[[分类:道具]]}}</includeonly><noinclude>{{doc}}[[Category:信息模板]]<templatedata>{"params":{
 
"道具名称": {
== 使用方法 ==
"label": "道具名称",
除了用语名称之外的所有变量是可选的。
"type": "string",
<pre>
"required": true
{{道具信息
},
|道具名称 =
"image": {
|image    =
"label": "插图",
|道具ID   =
"type": "content"
|售价    =
},
|重量    =
"道具ID": {
|补货周期 =
"label": "道具ID",
|补货上限 =
"type": "string",
|使用上限 =
"required": true
|持续时间 =
},
}}
"售价": {
</pre>
"label": "售价",
 
"type": "number",
{{道具信息
"required": true
|道具名称 = 提升卡
},
|image    =
"重量": {
|道具ID  = bump
"label": "重量",
|售价    = 40
"type": "number",
|重量    = 40
"required": true
|补货周期 = 每天
},
|补货上限 = 50
"补货周期": {
|使用上限 = 3个/天
"label": "补货周期",
|持续时间 = 瞬时
"type": "string"
}}
},
 
"补货上限": {
[[Category:信息模板]]
"label": "补货上限",
"type": "string"
},
"使用上限": {
"label": "使用上限",
"type": "string"
},
"持续时间": {
"label": "持续时间",
"type": "string"
}
},
"description": "道具条目的信息卡",
"format": "block"
}</templatedata></noinclude>
巡查员
1,548

个编辑