跳转到内容

模板:PZ Item Infobox:修订间差异

来自僵尸毁灭工程中文维基
BluElephant留言 | 贡献
无编辑摘要
BluElephant留言 | 贡献
无编辑摘要
第37行: 第37行:
|ExpectedUses = {{#if:{{{ConditionMax|}}} | {{#expr: {{{ConditionMax|0}}} * {{{ConditionLowerChanceOneIn|1}}} }} }}
|ExpectedUses = {{#if:{{{ConditionMax|}}} | {{#expr: {{{ConditionMax|0}}} * {{{ConditionLowerChanceOneIn|1}}} }} }}
}}
}}
{| class="infobox" style="width: 320px; float: right; clear: right; margin: 0 0 1em 1em; border-collapse: collapse; border: 1px solid var(--border-color-base, #a2a9b1);"
{| class="infobox" style="width: 320px; float: right; clear: right; margin: 0 0 1em 1em; border-collapse: collapse; border: 1px solid rgba(128, 128, 128, 0.4);"
|-
|-
! colspan="2" style="text-align: center; font-size: 130%; padding: 10px; border-bottom: 2px solid var(--border-color-base, #a2a9b1);" | {{#if:{{{Name_CN|}}}|{{{Name_CN}}}|{{{Item_ID|}}}}}
! colspan="2" style="text-align: center; font-size: 130%; padding: 12px; border-bottom: 2px solid rgba(128, 128, 128, 0.4);" | {{#if:{{{Name_CN|}}}|{{{Name_CN}}}|{{{Item_ID|}}}}}
|-
|- style="border-bottom: 1px solid rgba(128, 128, 128, 0.4);"
! colspan="2" style="text-align: center; font-size: 80%; opacity: 0.7; padding-bottom: 5px;" | 内部 ID: {{{Item_ID|}}}
! colspan="2" style="text-align: center; font-size: 80%; opacity: 0.7; padding-bottom: 8px;" | 内部 ID: {{{Item_ID|}}}
|-
 
| '''重量''' || {{{Weight|未知}}}
|- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"
| style="padding: 8px 10px;" | '''重量''' || style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2);" | {{{Weight|未知}}}


{{#if:{{{MaxDamage|}}}|
{{#if:{{{MaxDamage|}}}|
{{!}}-
{{!}}- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"
! colspan="2" style="text-align: center; font-weight: bold; border-top: 1px solid var(--border-color-base, #a2a9b1); padding-top: 5px;" {{!}} 战斗与耐久参数
! colspan="2" style="text-align: center; font-weight: bold; background-color: rgba(128, 128, 128, 0.1); padding: 6px;" {{!}} 战斗与耐久参数
{{!}}-
{{!}}- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"
{{!}} '''伤害''' {{!}}{{!}} {{{MinDamage|未知}}} - {{{MaxDamage}}}
{{!}} style="padding: 8px 10px;" {{!}} '''伤害''' {{!}}{{!}} style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2);" {{!}} {{{MinDamage|未知}}} - {{{MaxDamage}}}
{{!}}-
{{!}}- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"
{{!}} '''暴击几率''' {{!}}{{!}} {{{CriticalChance|0}}}%
{{!}} style="padding: 8px 10px;" {{!}} '''暴击几率''' {{!}}{{!}} style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2);" {{!}} {{{CriticalChance|0}}}%
{{!}}-
{{!}}- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"
{{!}} '''暴击倍率''' {{!}}{{!}} {{{CritDmgMultiplier|1.0}}}x
{{!}} style="padding: 8px 10px;" {{!}} '''暴击倍率''' {{!}}{{!}} style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2);" {{!}} {{{CritDmgMultiplier|1.0}}}x
{{!}}-
{{!}}- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"
{{!}} '''最大耐久''' {{!}}{{!}} {{{ConditionMax|未知}}}
{{!}} style="padding: 8px 10px;" {{!}} '''最大耐久''' {{!}}{{!}} style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2);" {{!}} {{{ConditionMax|未知}}}
{{!}}-
{{!}}- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"
{{!}} '''降低耐久几率''' {{!}}{{!}} 1/{{{ConditionLowerChanceOneIn|1}}}
{{!}} style="padding: 8px 10px;" {{!}} '''降低耐久几率''' {{!}}{{!}} style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2);" {{!}} 1/{{{ConditionLowerChanceOneIn|1}}}
{{!}}-
{{!}}- style="border-bottom: 1px solid rgba(128, 128, 128, 0.4);"
{{!}} '''期望使用次数'''<br><small style="color:gray;">(0级维护)</small> {{!}}{{!}} <span style="color:#e74c3c; font-weight:bold;">{{#if:{{{ConditionMax|}}} | {{#expr: {{{ConditionMax|0}}} * {{{ConditionLowerChanceOneIn|1}}} }} | 未知 }}</span>
{{!}} style="padding: 8px 10px;" {{!}} '''期望使用次数'''<br><small style="color:gray;">(0级维护)</small> {{!}}{{!}} style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2);" {{!}} <span style="color:#e74c3c; font-weight:bold;">{{#if:{{{ConditionMax|}}} | {{#expr: {{{ConditionMax|0}}} *
}}
 
|-
! colspan="2" style="text-align: center; font-weight: bold; border-top: 1px solid var(--border-color-base, #a2a9b1); padding-top: 5px;" | 维基档案分类
|-
| colspan="2" style="text-align: center; padding: 12px 8px; font-weight: bold;" | [[:Category:{{#switch:{{lc:{{{Wiki_Tier1|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier1|}}}}}|{{#switch:{{lc:{{{Wiki_Tier1|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier1|}}}}}]]{{#if:{{{Wiki_Tier2|}}}|&nbsp;-&nbsp;[[:Category:{{#switch:{{lc:{{{Wiki_Tier2|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier2|}}}}}|{{#switch:{{lc:{{{Wiki_Tier2|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier2|}}}}}]]}}{{#if:{{{Wiki_Tier3|}}}|&nbsp;-&nbsp;[[:Category:{{#switch:{{lc:{{{Wiki_Tier3|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier3|}}}}}|{{#switch:{{lc:{{{Wiki_Tier3|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier3|}}}}}]]}}
|}
{{#if:{{{Wiki_Tier1|}}}|[[Category:{{#switch:{{lc:{{{Wiki_Tier1|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier1|}}}}}| ]]}}{{#if:{{{Wiki_Tier2|}}}|[[Category:{{#switch:{{lc:{{{Wiki_Tier2|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier2|}}}}}| ]]}}{{#if:{{{Wiki_Tier3|}}}|[[Category:{{#switch:{{lc:{{{Wiki_Tier3|}}}}}|weapons=武器|melee weapons=近战武器|firearms=枪械|ammo=弹药|explosives=炸药|weapon parts=武器部件|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|#default={{{Wiki_Tier3|}}}}}| ]]}}
{{#if:{{{Name_CN|}}}|{{DISPLAYTITLE:{{{Name_CN}}}}}}}
</includeonly>

2026年6月2日 (二) 19:32的版本

这是僵尸毁灭工程的核心物品信息框模板。

数据库建表图纸

此模板定义表格“PZ_Items”。 查看表格.