Difference between revisions of "Template:Calculate mass"

From Space Engineers Wiki
Jump to: navigation, search
m (#- --> #-n)
m (Post-fix cleanup)
Line 46: Line 46:
 
| #default=
 
| #default=
 
{{calculate mass/calc
 
{{calculate mass/calc
| {{#if: {{#show:{{FULLPAGENAME}}|?Component1#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component1#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component1#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component1#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component1Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component1Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component2#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component2#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component2#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component2#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component2Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component2Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component3#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component3#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component3#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component3#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component3Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component3Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component4#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component4#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component4#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component4#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component4Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component4Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component5#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component5#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component5#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component5#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component5Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component5Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component6#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component6#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component6#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component6#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component6Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component6Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component7#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component7#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component7#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component7#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component7Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component7Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component8#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component8#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component8#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component8#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component8Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component8Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component9#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component9#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component9#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component9#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component9Amount#-}}
 
| {{#show: {{FULLPAGENAME}}|?Component9Amount#-}}
| {{#if: {{#show:{{FULLPAGENAME}}|?Component10#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component10#-}}|?Mass#-}}}}
+
| {{#if: {{#show:{{FULLPAGENAME}}|?Component10#-}} | {{#show:Mod:Vanilla/{{#show:{{FULLPAGENAME}}|?Component10#-}}|?Mass#-n}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component10Amount#-}}}}
 
| {{#show: {{FULLPAGENAME}}|?Component10Amount#-}}}}
 
}}<noinclude>[[Category:Templates]]</noinclude>
 
}}<noinclude>[[Category:Templates]]</noinclude>
 
{{calculate mass/calc
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component1#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component1#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component1Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component2#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component2#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component2Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component3#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component3#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component3Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component4#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component4#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component4Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component5#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component5#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component5Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component6#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component6#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component6Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component7#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component7#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component7Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component8#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component8#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component8Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component9#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component9#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component9Amount#-}}
 
| {{#if: {{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component10#-}} | {{#show:Mod:Vanilla/{{#show:Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component10#-}}|?Mass#-n}}}}
 
| {{#show: Mod:Vanilla/CubeBlock/SmallHydrogenTankSmall|?Component10Amount#-}}}}
 

Revision as of 20:00, 2 April 2020

0