模板:PZ Item Infobox:修订间差异
外观
BluElephant(留言 | 贡献) 无编辑摘要 |
BluElephant(留言 | 贡献) 无编辑摘要 |
||
| 第48行: | 第48行: | ||
|ProvidedSlots = {{{ProvidedSlots|}}} | |ProvidedSlots = {{{ProvidedSlots|}}} | ||
|BodyLocation = {{{BodyLocation|}}} | |BodyLocation = {{{BodyLocation|}}} | ||
}}{| 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);" | }} | ||
{| 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; vertical-align: middle; font-size: 130%; padding: 12px; border-bottom: 2px solid rgba(128, 128, 128, 0.4);" | {{#if:{{{Name_CN|}}}|{{{Name_CN}}}|{{{Item_ID|}}}}} | ! colspan="2" style="text-align: center; vertical-align: middle; font-size: 130%; padding: 12px; border-bottom: 2px solid rgba(128, 128, 128, 0.4);" | {{#if:{{{Name_CN|}}}|{{{Name_CN}}}|{{{Item_ID|}}}}} | ||
| 第54行: | 第55行: | ||
! colspan="2" style="text-align: center; vertical-align: middle; font-size: 80%; opacity: 0.7; padding-bottom: 8px;" | 内部 ID: {{{Item_ID|}}} | ! colspan="2" style="text-align: center; vertical-align: middle; font-size: 80%; opacity: 0.7; padding-bottom: 8px;" | 内部 ID: {{{Item_ID|}}} | ||
|- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);" | |- style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);" | ||
| style="padding: 8px 10px; text-align: center; vertical-align: middle;" | '''重量''' | | style="padding: 8px 10px; text-align: center; vertical-align: middle;" | '''重量''' | ||
| style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;" | {{{Weight|未知}}} | |||
{{#if:{{{BodyLocation|}}}{{{AttachmentType|}}}{{{ProvidedSlots|}}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<th colspan="2" style="text-align: center; vertical-align: middle; font-weight: bold; background-color: rgba(128, 128, 128, 0.1); padding: 6px;">穿戴与快捷栏机制</th> | |||
</tr> | |||
}}{{#if:{{{BodyLocation|}}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''穿戴部位'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{{BodyLocation|}}}</td> | |||
</tr> | |||
}}{{#if:{{{AttachmentType|}}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''可以挂在'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{#switch:{{{AttachmentType}}} | |||
|BigWeapon|BigBlade|Racket|Shovel|Guitar|GuitarAcoustic|Pan|Rifle|Saucepan=背部 | |BigWeapon|BigBlade|Racket|Shovel|Guitar|GuitarAcoustic|Pan|Rifle|Saucepan=背部 | ||
|Knife|NotKnife|Sword=腰带 / 织带 | |Knife|NotKnife|Sword=腰带 / 织带 | ||
| 第67行: | 第76行: | ||
|HolsterSmall=枪套 (包含脚踝枪套) | |HolsterSmall=枪套 (包含脚踝枪套) | ||
|#default={{{AttachmentType}}} | |#default={{{AttachmentType}}} | ||
}}}}{{#if:{{{ProvidedSlots|}}}| | }}</td> | ||
</tr> | |||
}}{{#if:{{{ProvidedSlots|}}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''提供快捷栏'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{ProvidedSlots}}}|BedrollBottomALICE|背包底部}}|BedrollBottomBig|背包底部}}|BedrollBottom|背包底部}}|SmallBeltLeft|皮带左边}}|SmallBeltRight|皮带右边}}|WebbingLeft|左侧织带}}|WebbingRight|右侧织带}}|HolsterLeft|左侧枪套}}|HolsterRight|右侧枪套}}|HolsterShoulder|肩挂枪套}}|HolsterAnkle|脚踝枪套}}|;|、}}</td> | |||
</tr> | |||
}}{{#if:{{{MaxDamage|}}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<th colspan="2" style="text-align: center; vertical-align: middle; font-weight: bold; background-color: rgba(128, 128, 128, 0.1); padding: 6px;">战斗参数</th> | |||
</tr> | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''伤害'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{{MinDamage|未知}}} - {{{MaxDamage|}}}</td> | |||
</tr> | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''暴击几率'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{{CriticalChance|0}}}%</td> | |||
</tr> | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''暴击倍率'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{{CritDmgMultiplier|1.0}}}x</td> | |||
</tr> | |||
}}{{#if:{{{DoorDamage|}}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''对门伤害'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{{DoorDamage|}}}</td> | |||
</tr> | |||
}}{{#if:{{{TreeDamage|}}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''对树伤害'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{{TreeDamage|}}}</td> | |||
</tr> | |||
}}{{#if:{{#ifeq:{{lc:{{{Wiki_Tier1|}}}}}|melee weapons|1}}{{#ifeq:{{lc:{{{Wiki_Tier2|}}}}}|melee weapons|1}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''耐力消耗倍率'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{#if:{{{EnduranceMod|}}}|{{{EnduranceMod}}}|1}}x</td> | |||
</tr> | |||
}}{{#if:{{{ConditionMax|}}}| | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<th colspan="2" style="text-align: center; vertical-align: middle; font-weight: bold; background-color: rgba(128, 128, 128, 0.1); padding: 6px;">耐久参数</th> | |||
</tr> | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''最大耐久'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">{{{ConditionMax|}}}</td> | |||
</tr> | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''降低耐久几率'''</td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;">1/{{{ConditionLowerChanceOneIn|1}}}</td> | |||
</tr> | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.4);"> | |||
<td style="padding: 8px 10px; text-align: center; vertical-align: middle;">'''期望使用次数'''<br><small style="color:gray;">(0级维护)</small></td> | |||
<td style="padding: 8px 10px; border-left: 1px solid rgba(128, 128, 128, 0.2); text-align: center; vertical-align: middle;"><span style="color:#e74c3c; font-weight:bold;">{{#expr: {{{ConditionMax|0}}} * {{{ConditionLowerChanceOneIn|1}}} }}</span></td> | |||
</tr> | |||
}} | |||
<tr style="border-bottom: 1px solid rgba(128, 128, 128, 0.2);"> | |||
<th colspan="2" style="text-align: center; vertical-align: middle; font-weight: bold; background-color: rgba(128, 128, 128, 0.1); padding: 6px;">物品分类</th> | |||
</tr> | |||
<tr> | |||
<td colspan="2" style="text-align: center; vertical-align: middle; padding: 12px 8px; font-weight: bold;">[[:Category:{{#switch:{{lc:{{{Wiki_Tier1|}}}}}|weapons=武器|#default={{{Wiki_Tier1|}}}}}|{{#switch:{{lc:{{{Wiki_Tier1|}}}}}|weapons=武器|#default={{{Wiki_Tier1|}}}}}]]{{#if:{{{Wiki_Tier2|}}}| - [[:Category:{{#switch:{{lc:{{{Wiki_Tier2|}}}}}|melee weapons=近战武器|firearms=枪械|explosives=炸药|#default={{{Wiki_Tier2|}}}}}|{{#switch:{{lc:{{{Wiki_Tier2|}}}}}|melee weapons=近战武器|firearms=枪械|explosives=炸药|#default={{{Wiki_Tier2|}}}}}]]}}{{#if:{{{Wiki_Tier3|}}}| - [[:Category:{{#switch:{{lc:{{{Wiki_Tier3|}}}}}|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|spears=长矛|ammo=弹药|weapon parts=武器部件|#default={{{Wiki_Tier3|}}}}}|{{#switch:{{lc:{{{Wiki_Tier3|}}}}}|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|spears=长矛|ammo=弹药|weapon parts=武器部件|#default={{{Wiki_Tier3|}}}}}]]}}</td> | |||
</tr> | |||
|} | |||
{{#if:{{{Wiki_Tier1|}}}|[[Category:{{#switch:{{lc:{{{Wiki_Tier1|}}}}}|weapons=武器|#default={{{Wiki_Tier1|}}}}}| ]]}}{{#if:{{{Wiki_Tier2|}}}|[[Category:{{#switch:{{lc:{{{Wiki_Tier2|}}}}}|melee weapons=近战武器|firearms=枪械|explosives=炸药|#default={{{Wiki_Tier2|}}}}}| ]]}}{{#if:{{{Wiki_Tier3|}}}|[[Category:{{#switch:{{lc:{{{Wiki_Tier3|}}}}}|long blunts=长棍|short blunts=短棍|axes=斧头|short blades=短刀|long blades=长刀|spears=长矛|ammo=弹药|weapon parts=武器部件|#default={{{Wiki_Tier3|}}}}}| ]]}} | |||
{{#if:{{{Name_CN|}}}|{{DISPLAYTITLE:{{{Name_CN}}}}}}} | |||
</includeonly> | |||