Template:Shop inventory head: Difference between revisions

making % not colored
m (added 100 to colors)
(making % not colored)
 
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 or {{{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 or {{{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|}}}}}%
|}
|}
{|class="wikitable" style="width:488px; background-color: #6b6b6b; border: 3px solid #024672; color:#333333;"
{|class="wikitable" style="width:488px; background-color: #6b6b6b; border: 3px solid #024672; color:#333333;"
899

edits