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