Template:Shop inventory head: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (added 100 to colors) |
||
Line 1: | Line 1: | ||
<includeonly>{|style="width:488px;" | <includeonly>{|style="width:488px;" | ||
! style="width:33.34%; text-align:left;" | Sells at: {{#switch: 1 |{{#expr: {{{sell}}} > 100}} = {{Font color|Red|{{{sell|}}}%}} |{{#expr: {{{sell}}} < 100}} = {{Font color|Green|{{{sell|}}}%}}}} | ! style="width:33.34%; text-align:left;" | Sells at: {{#switch: 1 |{{#expr: {{{sell}}} > 100 or {{{sell}}} = 100}} = {{Font color|Red|{{{sell|}}}%}} |{{#expr: {{{sell}}} < 100}} = {{Font color|Green|{{{sell|}}}%}}}} | ||
! style="width:33.33%; text-align:center;" | Buys at: {{#switch: 1 |{{#expr: {{{buy}}} > 100}} = {{Font color|Green|{{{buy|}}}%}} |{{#expr: {{{buy}}} < 100}} = {{Font color|Red|{{{buy|}}}%}}}} | ! style="width:33.33%; text-align:center;" | Buys at: {{#switch: 1 |{{#expr: {{{buy}}} > 100 or {{{buy}}} = 100}} = {{Font color|Green|{{{buy|}}}%}} |{{#expr: {{{buy}}} < 100}} = {{Font color|Red|{{{buy|}}}%}}}} | ||
! style="width:33.34%; text-align:right;" | Change per: {{Font color|Yellow|{{{delta|}}}%}} | ! style="width:33.34%; text-align:right;" | Change per: {{Font color|Yellow|{{{delta|}}}%}} | ||
|} | |} |
Revision as of 23:33, 7 February 2023
{{Shop inventory head|sell=<amount>|buy=<amount>|delta=<amount>}}