Template:Shop inventory head: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
m (testing the long way)
(Undo revision 749 by Halogod35 (talk))
Tag: Undo
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}} = {| style="color:red;"  
! 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>}}
|{{{sell|}}}%
|}}}
|{{#expr: {{{sell}}} < 100}} = {| style="color:red;"  
|{{{sell|}}}%</}}
|}}}
! 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: <p style="color:yellow;">{{{delta|}}}%</p>
! style="width:33.34%; text-align:right;" | Change per: <p style="color:yellow;">{{{delta|}}}%</p>

Revision as of 02:23, 6 February 2023