Difference between revisions of "Template:RunRewardsBreakdown/RelativeNuyenAdjustment"

From Jackpoint
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<tr>
 
<tr>
 
  <th>Relative Nuyen Adjustment</th>
 
  <th>Relative Nuyen Adjustment</th>
  <td><div style="display: flex; justify-content: space-between; margin: 0 1em;"><span>{{{relative_nuyen_adjustment}}}:</span><span>¥{{#expr: {{{nuyen}}} * {{{relative_nuyen_adjustment}}} }}</span></div></td>
+
  <td><div style="display: flex; justify-content: space-between; margin: 0 1em;"><span>{{{relative_nuyen_adjustment}}}:</span><span>¥{{#expr: {{{nuyen|0}}} * {{{relative_nuyen_adjustment}}} }}</span></div></td>
 
  <td style="text-align: center;">
 
  <td style="text-align: center;">
 
{{{karma|}}}
 
{{{karma|}}}
Line 8: Line 8:
 
</tr>
 
</tr>
 
}}
 
}}
{{RunRewardsBreakdown/5
+
{{RunRewardsBreakdown/AbsoluteNuyenAdjustment
|nuyen={{#expr: {{{nuyen|0}}} * {{{relative_nuyen_adjustment|1}}} }}
+
|nuyen={{#if: {{{relative_nuyen_adjustment|}}} | {{#expr: {{{nuyen|}}} * {{{relative_nuyen_adjustment}}} }} | {{{nuyen|}}} }}
|karma={{{karma|0}}}
+
|karma={{{karma|}}}
 
|absolute_nuyen_adjustment={{{absolute_nuyen_adjustment|}}}
 
|absolute_nuyen_adjustment={{{absolute_nuyen_adjustment|}}}
 
|karma_per_session={{{karma_per_session|}}}
 
|karma_per_session={{{karma_per_session|}}}
 
|sessions={{{sessions|}}}
 
|sessions={{{sessions|}}}
 
}}
 
}}

Latest revision as of 09:47, 25 February 2021


Final

¥