Template:Shop inventory head: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
m (oops)
(making % not colored)
 
(5 intermediate revisions 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: <p style="color:yellow;">{{{delta|}}}%</p>
! 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;"
Line 8: Line 8:
!Item
!Item
! style="width:auto;" | Number in stock
! style="width:auto;" | Number in stock
! style="width:auto;" | Price sold at</includeonly>
! style="width:auto;" | Price sold at</includeonly><noinclude>
<pre>{{Shop inventory head|sell=<amount>|buy=<amount>|delta=<amount>}}</pre>
 
==Description==</noinclude>

Latest revision as of 23:04, 9 February 2023

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

Description