Difference between revisions of "Template:Calculate mass"
From Space Engineers Wiki
(+fixing.) |
(Undo revision 15448 by Westeastnorth (talk)) |
||
Line 2: | Line 2: | ||
| s = | | s = | ||
{{calculate mass/calc | {{calculate mass/calc | ||
− | | {{#if: {{#show:{{{2|}}} | ? | + | | {{#if: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | , | 0 }} }} |}} |
| {{#show: {{{2|}}} | ?scomponent1amt}} | | {{#show: {{{2|}}} | ?scomponent1amt}} | ||
| {{#if: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | , | 0 }} }} |}} | | {{#if: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | , | 0 }} }} |}} | ||
Line 24: | Line 24: | ||
| l = | | l = | ||
{{calculate mass/calc | {{calculate mass/calc | ||
− | | {{#if: {{#show:{{{2|}}} | ? | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent1 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent1 | limit=1 }} | , | 0 }} }} |}} |
| {{#show: {{{2|}}} | ?lcomponent1amt}} | | {{#show: {{{2|}}} | ?lcomponent1amt}} | ||
| {{#if: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | , | 0 }} }} |}} | | {{#if: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | , | 0 }} }} |}} |