Template:Mod: Difference between revisions

3 bytes added ,  15:43, 8 October 2021
m
no edit summary
(convert chargeused to a string)
mNo edit summary
Line 107: Line 107:
{{#if: {{{difficulty|}}}|{{infobox row|[[Artifact difficulty|Difficulty]] increase|{{{difficulty}}} }} }}
{{#if: {{{difficulty|}}}|{{infobox row|[[Artifact difficulty|Difficulty]] increase|{{{difficulty}}} }} }}
{{#if: {{{complexity|}}}|{{infobox row|[[Artifact complexity|Complexity]] increase|{{{complexity}}} }} }}
{{#if: {{{complexity|}}}|{{infobox row|[[Artifact complexity|Complexity]] increase|{{{complexity}}} }} }}
{{#if:{{{chargeused|}}}|{{infobox row|Charge per Use|{{#if:{{IsNumber|{{{chargeused}}}}}|{{cell performance for charge|{{{chargeused}}}}}|{{{chargeused}}} }} }}
{{#if:{{{chargeused|}}}|{{infobox row|Charge per Use|{{#if:{{IsNumber|{{{chargeused}}}}}|{{cell performance for charge|{{{chargeused}}}}}|{{{chargeused}}} }} }} }}
{{#if:{{{empsensitive|}}}|{{infobox row|[[EMP-sensitive]]?|{{{empsensitive}}} }} }}
{{#if:{{{empsensitive|}}}|{{infobox row|[[EMP-sensitive]]?|{{{empsensitive}}} }} }}
{{#if:{{{powerloadsensitive|}}}|{{infobox row|{{Tooltip|Whether this mod can be further<br/>enhanced by the [[Overloaded]] mod|Power load-sensitive?}}|{{{powerloadsensitive}}} }} }}
{{#if:{{{powerloadsensitive|}}}|{{infobox row|{{Tooltip|Whether this mod can be further<br/>enhanced by the [[Overloaded]] mod|Power load-sensitive?}}|{{{powerloadsensitive}}} }} }}