Difference between revisions of "Template:Calculate mass"
From Space Engineers Wiki
(+added 10thcomponent) |
(+broke everything accidently, now fixed.) |
||
Line 19: | Line 19: | ||
| {{#show: {{{2|}}} | ?scomponent8amt}} | | {{#show: {{{2|}}} | ?scomponent8amt}} | ||
| {{#if: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | , | 0 }} }} |}} | | {{#if: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | , | 0 }} }} |}} | ||
− | | {{#show: {{{2|}}} | ?scomponent9amt | + | | {{#show: {{{2|}}} | ?scomponent9amt}} |
| {{#if: {{#show:{{{2|}}} | ?scomponent10 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent10 | limit=1 }} | , | 0 }} }} |}} | | {{#if: {{#show:{{{2|}}} | ?scomponent10 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent10 | limit=1 }} | , | 0 }} }} |}} | ||
| {{#show: {{{2|}}} | ?scomponent10amt}} }} | | {{#show: {{{2|}}} | ?scomponent10amt}} }} | ||
Line 41: | Line 41: | ||
| {{#show: {{{2|}}} | ?lcomponent8amt}} | | {{#show: {{{2|}}} | ?lcomponent8amt}} | ||
| {{#if: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | , | 0 }} }} |}} | | {{#if: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | , | 0 }} }} |}} | ||
− | | {{#show: {{{2|}}} | ?lcomponent9amt | + | | {{#show: {{{2|}}} | ?lcomponent9amt}} |
| {{#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}} }} | ||
}}<noinclude>[[Category:Templates]]</noinclude> | }}<noinclude>[[Category:Templates]]</noinclude> |