Difference between revisions of "Template:Calculate mass"

From Space Engineers Wiki
Jump to: navigation, search
(+added 10thcomponent)
Line 20: Line 20:
 
| {{#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 }} }} |}}
 +
| {{#show: {{{2|}}} | ?scomponent10amt}} }}
 
| l =  
 
| l =  
 
{{calculate mass/calc
 
{{calculate mass/calc
Line 40: Line 42:
 
| {{#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 }} }} |}}
 +
| {{#show: {{{2|}}} | ?lcomponent10amt}} }}
 
}}<noinclude>[[Category:Templates]]</noinclude>
 
}}<noinclude>[[Category:Templates]]</noinclude>

Revision as of 22:14, 14 November 2015

  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.

| l =

Expression error: Unexpected < operator.

|
  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.
|
  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.
}}

}}