Template:Shop inventory head: Difference between revisions

From 2006Scape Wiki
Jump to navigation Jump to search
mNo edit summary
(making % not colored)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|class="wikitable" style="width:488px; background-color: #6b6b6b; border: 3px solid #024672; color:#333333;"
<includeonly>{|style="width:488px;"
! style="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 or {{{sell}}} = 100}} = {{Font color|Red|{{{sell|}}}}}% |{{#expr: {{{sell}}} < 100}} = {{Font color|Green|{{{sell|}}}}}%}}
! style="text-align:left; | 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 or {{{buy}}} = 100}} = {{Font color|Green|{{{buy|}}}}}% |{{#expr: {{{buy}}} < 100}} = {{Font color|Red|{{{buy|}}}}}%}}
! style="text-align:left; | Change per: {{{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;"
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