Difference between revisions of "Template:Calculate mass"
From Space Engineers Wiki
(+broke everything accidently, now fixed.) |
Vox Serico (talk | contribs) m (Changed default to accept any page with matching parameters) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 44: | Line 44: | ||
| {{#if: {{#show:{{{2|}}} | ?lcomponent10 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent10 | limit=1 }} | , | 0 }} }} |}} | | {{#if: {{#show:{{{2|}}} | ?lcomponent10 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent10 | limit=1 }} | , | 0 }} }} |}} | ||
| {{#show: {{{2|}}} | ?lcomponent10amt}} }} | | {{#show: {{{2|}}} | ?lcomponent10amt}} }} | ||
+ | | #default= | ||
+ | {{calculate mass/calc | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component1#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component1#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component1Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component2#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component2#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component2Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component3#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component3#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component3Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component4#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component4#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component4Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component5#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component5#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component5Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component6#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component6#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component6Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component7#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component7#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component7Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component8#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component8#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component8Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component9#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component9#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component9Amount#-}} | ||
+ | | {{#if: {{#show:{{FULLPAGENAME}}|?Component10#-}} | {{#show:{{#show:{{FULLPAGENAME}}|?Component10#-}}|?Mass#-n}}}} | ||
+ | | {{#show: {{FULLPAGENAME}}|?Component10Amount#-}}}} | ||
}}<noinclude>[[Category:Templates]]</noinclude> | }}<noinclude>[[Category:Templates]]</noinclude> |
Latest revision as of 18:16, 3 April 2020
0