“Template:Infobox weapon”的版本间的差异
跳到导航
跳到搜索
Margotbean(讨论 | 贡献) |
(change N/A defaults) |
||
(未显示6个用户的16个中间版本) | |||
第1行: | 第1行: | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
{| id="infoboxtable" | {| id="infoboxtable" | ||
− | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | + | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
− | |colspan="2" style="padding-bottom: | + | |colspan="2" style="padding-bottom: 5px;"|{{#if:{{{image}}}|[[File:{{{image|}}}|center]]|}} |
|- | |- | ||
− | |colspan="2" id=" | + | |colspan="2" id="infoboxdetail" style="text-align: center;"|{{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
|- | |- | ||
− | |id="infoboxsection" | + | |colspan="2" id="infoboxsection" style="text-align: center;"| 信息<!-- |
− | + | -->{{#if:{{{type|}}} | <nowiki /> | |
− | | | + | {{!}}- |
− | | | + | {{!}}id="infoboxsection"{{!}}类型 |
− | | | + | {{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{type|}}}}} |
− | + | |sword|剑=剑 | |
− | + | |dagger|匕首= 匕首 | |
− | + | |club| 锤=锤 | |
− | + | |slingshot|弹弓= 弹弓 | |
− | + | |#default={{ucfirst:{{{type|}}}}} }} }}<!-- | |
− | + | -->{{#if:{{{level|}}} | <nowiki /> | |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection"{{!}}等级 | |
− | + | {{!}}id="infoboxdetail"{{!}}{{{level|}}} |}}<!-- | |
− | + | -->{{#if:{{{source|}}} | <nowiki /> | |
− | + | {{!}}- | |
− | + | {{!}}id="infoboxsection"{{!}}来源 | |
− | {{#if:{{{stats|}}}|<nowiki/> | + | {{!}}id="infoboxdetail"{{!}}{{{source|}}} |}}<!-- |
+ | -->{{#if:{{{damage|}}} | <nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}伤害 | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{damage|}}} |}}<!-- | ||
+ | -->{{#if:{{{csc|}}} | <nowiki /> | ||
+ | {{!}}- | ||
+ | {{!}}id="infoboxsection"{{!}}暴击率 | ||
+ | {{!}}id="infoboxdetail"{{!}}{{{csc|}}} |}}<!-- | ||
+ | -->{{#if:{{{stats|}}}| <nowiki/> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}} 属性 |
{{!}}id="infoboxdetail"{{!}}{{{stats|}}}|}} | {{!}}id="infoboxdetail"{{!}}{{{stats|}}}|}} | ||
|- | |- | ||
− | |colspan="2" id="infoboxsection" style="text-align: center;"| | + | |colspan="2" id="infoboxsection" style="text-align: center;"| 探 险家公会 |
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"| 购买价格 |
− | |id="infoboxdetail"|{{#iferror:{{#expr:{{{gprice|0}}}>0}}|{{#if:{{{gprice|}}}|{{{gprice| | + | |id="infoboxdetail"|{{#iferror:{{#expr:{{{gprice|0}}}>0}}|{{#if:{{{gprice|}}}|{{{gprice| 不可购买}}}| 不可购买}}|{{#if:{{{gprice|}}}|{{price|{{{gprice|}}} }}| 不可购买 }} }} |
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"| 售出价格 |
− | |id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value| | + | |id="infoboxdetail"|{{#iferror:{{#expr:{{{value|0}}}>0}}|{{#if:{{{value|}}}|{{{value| 不可出售}}}| 不可出售}}|{{#if:{{{value|}}}|{{price|{{{value|}}} }}| 不可出售 }} }} |
|- | |- | ||
− | |} | + | |}</div>{{#if:{{{debug mode|}}}||[[Category: 武器]]}}{{InfoboxSEO}}</includeonly><noinclude>{{Englishdoc}}</noinclude> |
− | </div>{{#if:{{{debug mode|}}}||[[Category: | ||
− | |||
− | }}</includeonly><noinclude>{{ |
2023年5月27日 (六) 15:58的最新版本
有关此模板的详细信息,请参阅英语语言文档页。
用法
可以通过在相关页面上输入以下内容来使用此模板。
{{Infobox weapon}}
结果是...
Infobox weapon | |
[[File:|center]] | |
信息 | |
探险家公会 | |
购买价格 | 不可购买 |
售出价格 | 不可出售 |