Template:Weapon/doc: Difference between revisions

Category:Template documentation
mNo edit summary
(Category:Template documentation)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
| rows =  
| rows =  
<!--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 a variable, it will replace the pv with the match armor value symbol-->
<!--if you set vibro to true, it will replace the pv with the match armor value symbol-->
{{#if: {{{pv|}}}{{{vibro|}}}{{{maxpv|{{{pv}}} }}} | {{infobox row|[[PV]]|{{Color | C |→}}{{#if: {{{vibro|}}}|≈|{{{pv|4}}}{{Color | K |/{{{maxpv|{{{pv}}} }}} }} }} }} }}
{{#if: {{{pv|}}}{{{vibro|}}}{{{maxpv|{{{pv}}} }}} | {{infobox row|[[PV]]|{{Color | C |→}}{{#ifeq: {{{vibro|}}} | true |≈|{{{pv|4}}}{{Color | K |/{{{maxpv|{{{pv}}} }}} }} }} }} }}
<!--does the object have no penetration when unpowered?-->
<!--does the object have no penetration when unpowered?-->
{{#ifeq: {{{powered|}}}|true| {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }}
{{#ifeq: {{{powered|}}}|true| {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }}
Line 103: Line 103:
&amp;CWhen charged, this weapon's penetration value is equal to the defender's armor value.
&amp;CWhen charged, this weapon's penetration value is equal to the defender's armor value.
}}
}}
<noinclude>[[Category:Template documentation]]</noinclude>
2,158

edits