Template:Shop inventory head: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
mNo edit summary
m (technically selling higher than 100% is bad)
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}} = <p style="color:green;">{{{sell|}}}%</p> |{{#expr: {{{sell}}} < 100}} = <p style="color:red;">{{{sell|}}}%</p>}}
! style="width:33.34%; text-align:left; | Sells at: {{#switch: 1 |{{#expr: {{{sell}}} > 100}} = <p style="color:red;">{{{sell|}}}%</p> |{{#expr: {{{sell}}} < 100}} = <p style="color:green;">{{{sell|}}}%</p>}}
! style="width:33.33%; text-align:center; | Buys at: {{#switch: 1 |{{#expr: {{{buy}}} > 100}} = <p style="color:green;">{{{buy|}}}%</p> |{{#expr: {{{buy}}} < 100}} = <p style="color:red;">{{{buy|}}}%</p>}}
! style="width:33.33%; text-align:center; | Buys at: {{#switch: 1 |{{#expr: {{{buy}}} > 100}} = <p style="color:green;">{{{buy|}}}%</p> |{{#expr: {{{buy}}} < 100}} = <p style="color:red;">{{{buy|}}}%</p>}}
! style="width:33.34%; text-align:right; | Change per: {{{delta|}}}%
! style="width:33.34%; text-align:right; | Change per: {{{delta|}}}%

Revision as of 01:56, 6 February 2023