Difference between revisions of "Template:Calculate mass"
From Space Engineers Wiki
(Created page with "{{#switch: {{{1|}}} | s = {{calculate mass/calc| {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent1amt}} | ...") |
|||
Line 2: | Line 2: | ||
| s = {{calculate mass/calc| {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent1amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent2amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent3 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent3amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent4 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent4amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent5 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent5amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent6 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent6amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent7 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent7amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent8 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent8amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent9amt}} }} | | s = {{calculate mass/calc| {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent1amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent2amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent3 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent3amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent4 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent4amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent5 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent5amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent6 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent6amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent7 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent7amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent8 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent8amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?scomponent9amt}} }} | ||
| l = {{calculate mass/calc| {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent1 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent1amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent2amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent3 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent3amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent4 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent4amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent5 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent5amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent6 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent6amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent7 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent7amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent8 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent8amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent9amt}} }} | | l = {{calculate mass/calc| {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent1 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent1amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent2amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent3 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent3amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent4 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent4amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent5 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent5amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent6 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent6amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent7 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent7amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent8 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent8amt}} | {{get mass|c|{{#explode: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | , | 0 }} }} | {{#show: {{{2|}}} | ?lcomponent9amt}} }} | ||
− | }} | + | }}<noinclude>[[Category:Templates]]</noinclude> |