8,290
edits
(fix to "Other Properties" - don't generate a blank field when twohanded, metal, or lightprojectile are explicitly set to "no") |
(if vibro is set to yes, don't show the "Base PV/Max PV" tooltip ?; it doesn't make sense in that context) |
||
Line 13: | Line 13: | ||
<!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)--> | <!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)--> | ||
<!--if you set vibro to yes, it will replace the pv with the match armor value symbol--> | <!--if you set vibro to yes, it will replace the pv with the match armor value symbol--> | ||
{{#if: {{{pv|}}}{{{vibro|}}}{{{maxpv|}}} | {{infobox row|[[PV]]{{Tooltip|Base PV/Max PV}}|{{Color | C |→}}{{#ifeq: {{{vibro|}}} | yes |{{Tooltip|The penetration of this weapon matches the enemy's armor value.|≈}}|{{{pv|4}}}{{Color | K |/{{{maxpv|{{{pv}}} }}} }} }} }} }} | {{#if: {{{pv|}}}{{{vibro|}}}{{{maxpv|}}} | {{infobox row|[[PV]]{{#ifeq: {{{vibro|}}} | yes ||{{Tooltip|Base PV/Max PV}}}}|{{Color | C |→}}{{#ifeq: {{{vibro|}}} | yes |{{Tooltip|The penetration of this weapon matches the enemy's armor value.|≈}}|{{{pv|4}}}{{Color | K |/{{{maxpv|{{{pv}}} }}} }} }} }} }} | ||
<!--does the object have no penetration when unpowered?--> | <!--does the object have no penetration when unpowered?--> | ||
{{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }} | {{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }} |