Template:Shop inventory head: Difference between revisions

m
testing the long way
mNo edit summary
m (testing the long way)
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:red;">{{{sell|}}}%</p> |{{#expr: {{{sell}}} < 100}} = <p style="color:green;">{{{sell|}}}%</p>}}
! style="width:33.34%; text-align:left;" | Sells at: {{#switch: 1 |{{#expr: {{{sell}}} > 100}} = {| style="color:red;"  
|{{{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>
899

edits