Template:StoreTableHead/Sandbox

From Old School RuneScape Wiki
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:StoreTableHead/Sandbox/doc. [edit] [purge]
Template:StoreTableHead/Sandbox invokes function main in Module:StoreTableHead using Lua.

The StoreTableHead template is to be used in conjunction with {{StoreLine}} provide a listing of items that are found in a shop. It also helps to provide a uniform look of how the shop information is presented for all articles about shop on the wiki.

Usage

{{StoreTableHead|SellMultiplier=1300|BuyMultiplier=400|Delta=30}}
{{StoreLine|Name=Pot|Stock=5}}
{{StoreLine|Name=Jug|Stock=2}}
{{StoreLine|Name=Empty jug pack|Stock=5|gemw=No}}
{{StoreLine|Name=Shears|Stock=2}}
{{StoreLine|Name=Bucket|Stock=3}}
{{StoreLine|Name=Empty bucket pack|Stock=15|gemw=no}}
{{StoreLine|Name=Bowl|Stock=2}}
{{StoreLine|Name=Pot|DisplayName=Another pot|Stock=5}}
{{StoreLine|Name=Empty jug pack|Stock=5|gemw=No}}
{{StoreLine|Name=Fletching cape|Stock=5|smwname=Fletching cape#Untrimmed|gemw=no|Sell=99000|Buy=N/A}}
{{StoreTableBottom}}

gives

Sells at: 130.0% • Buys at: 40.0% • Change per: 3.0%
ItemNumber
in stock
Restock
time
Price
sold at
Price
bought at
GE
price
Pot.pngPot5unknownCoins 1.png 1Coins 1.png 0Coins 5.png 5
Jug.pngJug2unknownCoins 1.png 1Coins 1.png 0Coins 4.png 4
Empty jug pack.pngEmpty jug pack5unknownCoins 100.png 182Coins 25.png 56Not sold
Shears.pngShears2unknownCoins 1.png 1Coins 1.png 0Coins 25.png 35
Bucket.pngBucket3unknownCoins 2.png 2Coins 1.png 0Coins 5.png 7
Empty bucket pack.pngEmpty bucket pack15unknownCoins 250.png 650Coins 100.png 200Not sold
Bowl.pngBowl2unknownCoins 5.png 5Coins 1.png 1Coins 5.png 15
Pot.pngAnother pot5unknownCoins 1.png 1Coins 1.png 0Coins 5.png 5
Empty jug pack.pngEmpty jug pack5unknownCoins 100.png 182Coins 25.png 56Not sold
Fletching cape.pngFletching cape5unknownCoins 10000.png 99,000N/ANot sold

Parameters

  • SellMultiplier: the store's sell markup
  • BuyMultiplier: the store's buy margin
  • Delta: the store's price change for over/understocking

Optional

  • NameNotes: additional text information for autogenerated store lists (e.g. Karamja gloves or Pisc favour)
  • Currency: defaults to "Coins"
  • nosmw: set to "yes" to PREVENT indexing of this table into {{Store locations list}}.
  • hideGE set to "yes" to hide the GE column (if none of the items are tradeable on GE) - you still need to set gemw=yes for the StoreLine template
  • hideBuy set to "yes" to hide the Buy price column (if none of the items are tradeable on GE) - you still need to set Buy=N/A for the StoreLine template
  • column1: Add an additional column with this as contents
  • column2: Add an additional column with this as contents
  • columnX: ... Add an additional column with this as contents

See also