打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Infobox weapon:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
m 文本替换 - 替换“|Csc={{{csc|}}}”为“|Csc={{#iferror:{{#expr:{{{csc|}}}}}||{{{csc|}}}}} |Csc2={{#iferror:{{#expr:{{{csc|}}}}}|{{{csc|}}}|}}”
SummerFleur留言 | 贡献
m无编辑摘要
 
(未显示2个用户的20个中间版本)
第1行: 第1行:
<includeonly>{{#set:
<includeonly><div class="infoboxborder">
|Name={{{name|{{PAGENAME}}}}}
<table class="infoboxtable">
|Eng={{English|{{{name|{{PAGENAME}}}}}}}
<tr class="infoboxtitle">
|ID={{ID|{{English|{{{name|{{PAGENAME}}}}}}}}}
<td colspan="2" class="infoboxheader" data-category="{{{cat|{{Category|name|{{{name|{{{eng|{{PAGENAME}}}}}}}}|id={{{id|}}}}}}}}" style="--category-color: {{{cat2|{{Category|color|{{{name|{{{eng|{{PAGENAME}}}}}}}}|id={{{id|}}}}}}}}">{{{name|{{PAGENAME}}}}}</td>
|Description={{{description|{{Description|{{PAGENAME}}}}}}}
</tr>{{#if:{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}|<tr class="infoboxtitle"><td colspan="2" class="infoboxheader">{{{native|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}}</td></tr>|}}
|Image={{{image|}}}
|Type={{{type|}}}
|Level={{{level|}}}
|Source={{{source|}}}
|Damage={{{damage|}}}
|Csc={{#iferror:{{#expr:{{{csc|}}}}}||{{{csc|}}}}}
|Csc2={{#iferror:{{#expr:{{{csc|}}}}}|{{{csc|}}}|}}
|Stats={{{stats|}}}
|Gprice={{{gprice|}}}
|Value={{{value|}}}
}}<div id="infoboxborder">
{| id="infoboxtable"
|colspan="2" id="infoboxheader"{{#if: {{English|{{{name|{{PAGENAME}}}}}}}| class="infoboxheaderzh"|}}|{{{name|{{PAGENAME}}}}}
{{#if: {{English|{{{name|{{PAGENAME}}}}}}}|
<tr>
<tr>
<td colspan="2" id="infoboxheader" class="infoboxheaderen">{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}</td>
<td colspan="2">[[File:{{{eng|Blank icon}}}.png|link=]]</td>
</tr>
</tr>
|
<tr>
}}
<td colspan="2" class="infoboxdetail">{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{{name|{{PAGENAME}}}}}}}}}</td>
|-
</tr>
|colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center]]|}}
<tr>
|-
<td colspan="2" class="infoboxsection">信息</td>
|colspan="2" id="infoboxdetail" style="text-align: center;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}}
</tr>
|-
{{#if:{{{type|}}}|
|colspan="2" id="infoboxsection" style="text-align: center;"|信息<!--
<tr>
-->{{#if:{{{type|}}} | <nowiki />
<td class="infoboxsection">类型</td>
{{!}}-
<td class="infoboxdetail">{{{type|}}}</td>
{{!}}id="infoboxsection"{{!}}类型
</tr>
{{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{type|}}}}}
}}{{#if:{{{level|}}}|
|sword|剑=剑
<tr>
|dagger|匕首=匕首
<td class="infoboxsection">等级</td>
|club|锤=锤
<td class="infoboxdetail">{{{level|}}}</td>
|slingshot|弹弓=弹弓
</tr>
|#default={{ucfirst:{{{type|}}}}} }} }}<!--
}}{{#if:{{{source|}}}|
-->{{#if:{{{level|}}} | <nowiki />
<tr>
{{!}}-
<td class="infoboxsection">来源</td>
{{!}}id="infoboxsection"{{!}}等级
<td class="infoboxdetail">{{{source|}}}</td>
{{!}}id="infoboxdetail"{{!}}{{{level|}}} |}}<!--
</tr>
-->{{#if:{{{source|}}} | <nowiki />
}}{{#if:{{{damage|}}}|
{{!}}-
<tr>
{{!}}id="infoboxsection"{{!}}来源
<td class="infoboxsection">伤害</td>
{{!}}id="infoboxdetail"{{!}}{{{source|}}} |}}<!--
<td class="infoboxdetail">{{{damage|}}}</td>
-->{{#if:{{{damage|}}} | <nowiki />
</tr>
{{!}}-
}}{{#if:{{{csc|}}}|
{{!}}id="infoboxsection"{{!}}伤害
<tr>
{{!}}id="infoboxdetail"{{!}}{{{damage|}}} |}}<!--
<td class="infoboxsection">暴击率</td>
-->{{#if:{{{csc|}}} | <nowiki />
<td class="infoboxdetail">{{{csc|}}}</td>
{{!}}-
</tr>
{{!}}id="infoboxsection"{{!}}暴击率
}}{{#if:{{{csm|}}}|
{{!}}id="infoboxdetail"{{!}}{{{csc|}}} |}}<!--
<tr>
-->{{#if:{{{stats|}}}| <nowiki/>
<td class="infoboxsection">暴击伤害</td>
{{!}}-
<td class="infoboxdetail"{{{csm|}}}</td>
{{!}}id="infoboxsection"{{!}}属性
</tr>
{{!}}id="infoboxdetail"{{!}}{{{stats|}}}|}}
}}{{#if:{{{stats|}}}|
|-
|colspan="2" id="infoboxsection" style="text-align: center;"|探险家公会
|-
|id="infoboxsection"|购买价格
|id="infoboxdetail"|{{#vardefine:item_id|{{ID|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}}}{{#vardefine:weapon_price|{{#invoke:Shops|weaponPrice|{{#var:item_id}}}}}}{{#iferror:{{#expr:{{{gprice|0}}}>0}}|{{#if:{{{gprice|}}}|{{{gprice|{{#var:weapon_price}}}}}|{{#var:weapon_price}}}}|{{#if:{{{gprice|}}}|{{price|{{{gprice|}}} }}|{{#var:weapon_price}} }} }}
|-
|id="infoboxsection"|售出价格
|id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|不可出售}}}|不可出售}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}|不可出售 }} }}
{{#if: {{ID|{{{eng|{{English|{{{name|{{PAGENAME}}}}}}}}}}}}|
<tr>
<tr>
<td colspan="2" id="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">高级</td>
<td class="infoboxsection">属性</td>
<td class="infoboxdetail">{{{stats|}}}</td>
</tr>
</tr>
}}{{#if:{{{price|}}}|
<tr>
<td colspan="2" class="infoboxsection">探险家公会</td>
</tr>
<tr>
<td class="infoboxsection">购买价格</td>
<td class="infoboxdetail">{{#switch:{{{price|}}}|-1|不出售=不出售|#default={{Price|{{{price|}}}}}}}
</td>
</tr>
}}{{#if:{{{sellprice|}}}|
<tr>
<tr>
<td id="infoboxsection">物品编号</td>
<td class="infoboxsection">售出价格</td>
<td id="infoboxdetail">{{#var:item_id}}</td>
<td class="infoboxdetail">{{Price|{{{sellprice|}}}}}</td>
</tr>
</tr>
|
}}
}}
|-
{{Infobox utils|id|name={{{name|}}}|eng={{{eng|}}}|id={{{id|}}}}}
|}</div>{{#if:{{{debug mode|}}}||[[Category:武器]]}}{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}{{Clear}}
</table>
</div>{{Mainonly|[[Category:武器]]}}{{InfoboxSEO}}</includeonly><noinclude>{{Documentation}}{{Clear}}
==示例==
==示例==
{{Infobox weapon
{{Infobox weapon

2025年11月17日 (一) 00:09的最新版本

[ 创建 | 刷新 ]文档页面
当前页面文档缺失,需要扩充。

示例

木剑
Wooden Blade
对于一块木雕来说不错了。
信息
类型
等级 1
来源
伤害 3-7
暴击率 0.02
高级
物品编号(W)12