Difference between revisions of "User:Jynx/Sandbox/Template2"
From Jackpoint
Line 11: | Line 11: | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | <td>(Pool / 4)</td><td style="text-align: right;">{{#if: {{{challenge|}}} | {{#expr: floor({{{challenge}}} / 4) }} | 0 }} </td> | + | <td>(Pool / 4)</td><td width="10"></td><td style="text-align: right;">{{#if: {{{challenge|}}} | {{#expr: floor({{{challenge}}} / 4) }} | 0 }} </td> |
</tr> | </tr> | ||
− | {{#if: {{{outnumbered_3|}}} | <tr><td>Outnumbered 3-1 </td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{outnumbered_pro|}}} | <tr><td>Outnumbered by Pros</td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{six_critters|}}} | <tr><td>Six critters </td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{three_spirits|}}} | <tr><td>Three spirits </td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{speed_subtlety|}}} | <tr><td>Speed or Subtlety </td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{exposure|}}} | <tr><td>Risked exposure </td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{dangerous_lore|}}} | <tr><td>Notably dangerous </td><td style="text-align: right;">+1</td></tr> }} | + | {{#if: {{{outnumbered_3|}}} | <tr><td>Outnumbered 3-1 </td><td width="10"></td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{outnumbered_pro|}}} | <tr><td>Outnumbered by Pros</td><td width="10"></td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{six_critters|}}} | <tr><td>Six critters </td><td width="10"></td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{three_spirits|}}} | <tr><td>Three spirits </td><td width="10"></td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{speed_subtlety|}}} | <tr><td>Speed or Subtlety </td><td width="10"></td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{exposure|}}} | <tr><td>Risked exposure </td><td width="10"></td><td style="text-align: right;">+1</td></tr> }}{{#if: {{{dangerous_lore|}}} | <tr><td>Notably dangerous </td><td width="10"></td><td style="text-align: right;">+1</td></tr> }} |
</table> | </table> | ||
</td> | </td> | ||
Line 19: | Line 19: | ||
<table> | <table> | ||
<tr> | <tr> | ||
− | <td>(Pool / 6)</td><td style="text-align: right;">{{#if: {{{challenge|}}} | {{#expr: floor({{{challenge}}} / 6) }} | 0 }} </td> | + | <td>(Pool / 6)</td><td width="10"></td><td style="text-align: right;">{{#if: {{{challenge|}}} | {{#expr: floor({{{challenge}}} / 6) }} | 0 }} </td> |
</tr> | </tr> | ||
− | {{#if: {{{died|}}} || <tr><td>Survived</td><td style="text-align: right;">+2</td></tr> }} | + | {{#if: {{{died|}}} || <tr><td>Survived</td><td width="10"></td><td style="text-align: right;">+2</td></tr> }} |
{{#switch: {{{objectives|}}} | {{#switch: {{{objectives|}}} | ||
− | | all = <tr><td>Objectives: all </td><td style="text-align: right;">+2</td></tr> | + | | all = <tr><td>Objectives: all </td><td width="10"></td><td style="text-align: right;">+2</td></tr> |
− | | some = <tr><td>Objectives: some</td><td style="text-align: right;">+1</td></tr> | + | | some = <tr><td>Objectives: some</td><td width="10"></td><td style="text-align: right;">+1</td></tr> |
}} | }} | ||
</table> | </table> |
Revision as of 13:24, 24 February 2021
Nuyen | Karma | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Base | Highest opposed pool: — | |||||||||
|
|
|||||||||
¥0 |
4 |
Usage
Setting a parameter to something non-blank adds the value from its row in the corresponding reward table.
If the died parameter is omitted or blank (as in the example), the 2 karma for surviving are added; i.e. only set this parameter if characters actually died.
The challenge parameter should be set to the dice pool encountered - the template will handle the division and rounding.
{{RunRewards |died= |all=1 |some=1 |challenge=4 |bastard=1 |good_feelings=1}}