模板:Expanded/Infobox weapon:修订间差异
来自星露谷物语扩展百科
更多语言
更多操作
m 文本替换 - 替换“{{Description”为“{{Description” |
同步写法 |
||
| 第1行: | 第1行: | ||
{{DISPLAYTITLE:{{PAGENAME}}}}<includeonly><div | {{DISPLAYTITLE:{{PAGENAME}}}}<includeonly><div class="infoboxborder"> | ||
{| | {| class="infoboxtable" | ||
<tr class="infoboxtitle"> | |||
<td colspan="2" class="infoboxheader">{{{name|{{PAGENAME}}}}}</td> | |||
</tr> | |||
{{#if: {{Eng|{{{name|{{PAGENAME}}}}}}}| | {{#if: {{Eng|{{{name|{{PAGENAME}}}}}}}| | ||
<tr> | <tr class="infoboxtitle"> | ||
<td colspan="2" class="infoboxheader | <td colspan="2" class="infoboxheader">{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}</td> | ||
</tr> | </tr> | ||
| | | | ||
| 第11行: | 第13行: | ||
|colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center]]|}} | |colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center]]|}} | ||
|- | |- | ||
|colspan="2" | |colspan="2" class="infoboxdetail" style="text-align: center;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | ||
|- | |- | ||
|colspan="2" | |colspan="2" class="infoboxsection" style="text-align: center;"|信息<!-- | ||
-->{{#if:{{{type|}}} | <nowiki /> | -->{{#if:{{{type|}}} | <nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}class="infoboxsection"{{!}}类型 | ||
{{!}} | {{!}}class="infoboxdetail"{{!}}{{#switch:{{lc:{{{type|}}}}} | ||
|sword|剑=剑 | |sword|剑=剑 | ||
|dagger|匕首=匕首 | |dagger|匕首=匕首 | ||
| 第25行: | 第27行: | ||
-->{{#if:{{{level|}}} | <nowiki /> | -->{{#if:{{{level|}}} | <nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}class="infoboxsection"{{!}}等级 | ||
{{!}} | {{!}}class="infoboxdetail"{{!}}{{{level|}}} |}}<!-- | ||
-->{{#if:{{{source|}}} | <nowiki /> | -->{{#if:{{{source|}}} | <nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}class="infoboxsection"{{!}}来源 | ||
{{!}} | {{!}}class="infoboxdetail"{{!}}{{{source|}}} |}}<!-- | ||
-->{{#if:{{{damage|}}} | <nowiki /> | -->{{#if:{{{damage|}}} | <nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}class="infoboxsection"{{!}}伤害 | ||
{{!}} | {{!}}class="infoboxdetail"{{!}}{{{damage|}}} |}}<!-- | ||
-->{{#if:{{{csc|}}} | <nowiki /> | -->{{#if:{{{csc|}}} | <nowiki /> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}class="infoboxsection"{{!}}暴击率 | ||
{{!}} | {{!}}class="infoboxdetail"{{!}}{{{csc|}}} |}}<!-- | ||
-->{{#if:{{{stats|}}}| <nowiki/> | -->{{#if:{{{stats|}}}| <nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}class="infoboxsection"{{!}}属性 | ||
{{!}} | {{!}}class="infoboxdetail"{{!}}{{{stats|}}}|}} | ||
|- | |- | ||
|colspan="2" | |colspan="2" class="infoboxsection" style="text-align: center;"|探险家公会 | ||
|- | |- | ||
| | |class="infoboxsection"|购买价格 | ||
| | |class="infoboxdetail"|{{#vardefine:item_id|{{ID|{{{eng|{{Eng|{{{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}} }} }} | ||
|- | |- | ||
| | |class="infoboxsection"|售出价格 | ||
| | |class="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value|不可出售}}}|不可出售}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}|不可出售 }} }} | ||
{{#if: {{ID|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}| | {{#if: {{ID|{{{eng|{{Eng|{{{name|{{PAGENAME}}}}}}}}}}}}| | ||
<tr> | <tr> | ||
<td colspan="2" | <td colspan="2" class="infoboxsection" style="text-align: center; padding-left: 0; padding-right: 0;">高级</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td | <td class="infoboxsection">物品编号</td> | ||
<td | <td class="infoboxdetail">{{#var:item_id}}</td> | ||
</tr> | </tr> | ||
| | | | ||