Template:Mod: Difference between revisions

113 bytes added ,  15:42, 8 October 2021
convert chargeused to a string
mNo edit summary
(convert chargeused to a string)
Line 19: Line 19:
|EMPSensitive=Boolean
|EMPSensitive=Boolean
|RealityDistortionBased=Boolean
|RealityDistortionBased=Boolean
|ChargeUsed=Integer
|ChargeUsed=String
|Type=List (,) of String (hierarchy;allowed values=*General
|Type=List (,) of String (hierarchy;allowed values=*General
**Pottery
**Pottery
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|{{cell performance for charge|{{{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}}} }} }}
Line 208: Line 208:
|-
|-
! chargeused
! chargeused
| Amount of charge consumed per use by this mod, if applicable.
| Amount of charge consumed per use by this mod, if applicable. Usually a number but can also be a string such as "variable".
| integer
| string
|-
|-
! powerloadsensitive
! powerloadsensitive