Template:Shop inventory head: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
mNo edit summary
(making % not colored)
 
(One intermediate revision by the same user not shown)
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|}}}}}%
|}
|}
{|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;"

Latest revision as of 23:04, 9 February 2023

{{Shop inventory head|sell=<amount>|buy=<amount>|delta=<amount>}}

Description