Difference between revisions of "Template:Trading Value Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#ifeq: {{{?Type}}} | Furniture | {{#vardefine:multiplier | 0.7}} | {{#vardefine:multiplier | 1}} }}
 
{{#ifeq: {{{?Type}}} | Furniture | {{#vardefine:multiplier | 0.7}} | {{#vardefine:multiplier | 1}} }}
  
{{#if: {{{?Tags}}}|
 
{{#ifeq: {{{?Resource1}}}|{{{?Material}}}|
 
 
   ! style="text-align: left" | [[{{{?Name}}}]]
 
   ! style="text-align: left" | [[{{{?Name}}}]]
 
   | {{#var:amount}}{{icon|{{{?Material}}} }}
 
   | {{#var:amount}}{{icon|{{{?Material}}} }}
Line 13: Line 11:
 
   | {{#expr:{{Q|{{{?Name}}}|Resource 1 Amount}}/({{#var:multiplier}}*{{Market Value Calculator|{{{?Name}}}|{{{?Material}}} }})round2}}
 
   | {{#expr:{{Q|{{{?Name}}}|Resource 1 Amount}}/({{#var:multiplier}}*{{Market Value Calculator|{{{?Name}}}|{{{?Material}}} }})round2}}
 
   |-
 
   |-
}}
 
}}
 
 
 
<!--
 
<!--
 
<includeonly>
 
<includeonly>

Revision as of 12:44, 4 June 2021


 ! style="text-align: left" | [[{{{?Name}}}]]
 | <span style="white-space:nowrap;"  title=" 
 | {{{?Amount2}}}<span style="white-space:nowrap;"  title=" 
 | Expression error: Unexpected * operator. ticks (Expression error: Unexpected < operator. mins)
 | [[{{{?Skill}}}]]
 | Expression error: Unexpected < operator. Silver 
 | 1
 | Expression error: Unexpected < operator. ticks (Expression error: Unexpected < operator. secs)
 | Expression error: Unexpected / operator.
 |-