Difference between revisions of "Template:Calculate integrity"
From Space Engineers Wiki
m (fixed errors) |
|||
Line 2: | Line 2: | ||
| s = | | s = | ||
{{calculate mass/calc | {{calculate mass/calc | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent1 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent1amt}} | | {{#show: {{{2|}}} | ?scomponent1amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent2 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent2amt}} | | {{#show: {{{2|}}} | ?scomponent2amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent3 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent3 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent3 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent3 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent3amt}} | | {{#show: {{{2|}}} | ?scomponent3amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent4 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent4 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent4 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent4 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent4amt}} | | {{#show: {{{2|}}} | ?scomponent4amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent5 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent5 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent5 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent5 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent5amt}} | | {{#show: {{{2|}}} | ?scomponent5amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent6 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent6 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent6 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent6 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent6amt}} | | {{#show: {{{2|}}} | ?scomponent6amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent7 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent7 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent7 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent7 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent7amt}} | | {{#show: {{{2|}}} | ?scomponent7amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent8 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent8 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent8 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent8 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent8amt}} | | {{#show: {{{2|}}} | ?scomponent8amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent9 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent9amt}} | | {{#show: {{{2|}}} | ?scomponent9amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?scomponent10 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent10 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?scomponent10 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?scomponent10 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?scomponent10amt}} }} | | {{#show: {{{2|}}} | ?scomponent10amt}} }} | ||
| l = | | l = | ||
{{calculate mass/calc | {{calculate mass/calc | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent1 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent1 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent1 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent1 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent1amt}} | | {{#show: {{{2|}}} | ?lcomponent1amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent2 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent2amt}} | | {{#show: {{{2|}}} | ?lcomponent2amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent3 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent3 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent3 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent3 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent3amt}} | | {{#show: {{{2|}}} | ?lcomponent3amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent4 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent4 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent4 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent4 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent4amt}} | | {{#show: {{{2|}}} | ?lcomponent4amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent5 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent5 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent5 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent5 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent5amt}} | | {{#show: {{{2|}}} | ?lcomponent5amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent6 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent6 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent6 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent6 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent6amt}} | | {{#show: {{{2|}}} | ?lcomponent6amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent7 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent7 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent7 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent7 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent7amt}} | | {{#show: {{{2|}}} | ?lcomponent7amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent8 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent8 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent8 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent8 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent8amt}} | | {{#show: {{{2|}}} | ?lcomponent8amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent9 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent9amt}} | | {{#show: {{{2|}}} | ?lcomponent9amt}} | ||
− | | {{#if: {{#show:{{{2|}}} | ?lcomponent10 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent10 | limit=1 }} | ?cintegrity }} | + | | {{#if: {{#show:{{{2|}}} | ?lcomponent10 | limit=1 }} | {{#show: {{#show:{{{2|}}} | ?lcomponent10 | limit=1 }} | ?cintegrity }} |}} |
| {{#show: {{{2|}}} | ?lcomponent10amt}} }} | | {{#show: {{{2|}}} | ?lcomponent10amt}} }} | ||
}}<noinclude>[[Category:Templates]]</noinclude> | }}<noinclude>[[Category:Templates]]</noinclude> |