Difference between revisions of "Template:Calculate integrity"
From Space Engineers Wiki
Vox Serico (talk | contribs) (Removed "alt" option. Added default for empty parameter.) |
Vox Serico (talk | contribs) m (Undo revision 23777 by Vox Serico (talk) Broke it.) |
||
Line 1: | Line 1: | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
+ | | alt = | ||
+ | {{calculate mass/calc | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component1|link=none}} | {{#show:{{#show:{{{2|}}}|?Component1|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component1Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component2|link=none}} | {{#show:{{#show:{{{2|}}}|?Component2|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component2Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component3|link=none}} | {{#show:{{#show:{{{2|}}}|?Component3|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component3Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component4|link=none}} | {{#show:{{#show:{{{2|}}}|?Component4|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component4Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component5|link=none}} | {{#show:{{#show:{{{2|}}}|?Component5|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component5Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component6|link=none}} | {{#show:{{#show:{{{2|}}}|?Component6|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component6Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component7|link=none}} | {{#show:{{#show:{{{2|}}}|?Component7|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component7Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component8|link=none}} | {{#show:{{#show:{{{2|}}}|?Component8|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component8Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component9|link=none}} | {{#show:{{#show:{{{2|}}}|?Component9|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component9Amount|link=none}} | ||
+ | | {{#if: {{#show:{{{2|}}}|?Component10|link=none}} | {{#show:{{#show:{{{2|}}}|?Component10|link=none}}|?cintegrity# }}|}} | ||
+ | | {{#show: {{{2|}}} | ?Component10Amount|link=none}} }} | ||
| s = | | s = | ||
{{calculate mass/calc | {{calculate mass/calc | ||
Line 43: | Line 65: | ||
| {{#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> |