|
|
| (未显示2个用户的19个中间版本) |
| 第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={{#iferror:{{#expr:{{{gprice|}}}}}||{{{gprice|}}}}}
| |
| |Gprice2={{#iferror:{{#expr:{{{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 |