Template:StoreTableHead/Sandbox/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "{{Documentation}} The '''StoreTableHead''' template is to be used in conjunction with {{t|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== <pre>{{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}} {{S...")
 
No edit summary
Tag: Reverted
Line 1:
{{Documentation}}
{{invokes|StoreTableHead}}
 
The '''StoreTableHead''' template is to be used in conjunction with {{t|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==
<pre>{{StoreTableHead|SellMultipliersellmultiplier=1300|BuyMultiplierbuymultiplier=400|Deltadelta=30}}
{{StoreLine|Namename=Pot|Stockstock=5|restock=9962000}}
{{StoreLine|Namename=Jug|Stockstock=2|restock=}}
{{StoreLine|Namename=Empty jug pack|Stockstock=5|gemw=No|restock=10}}
{{StoreLine|Namename=Shears|Stockstock=2|restock=10}}
{{StoreLine|Namename=Bucket|Stockstock=3|restock=10}}
{{StoreLine|Namename=Empty bucket pack|Stockstock=15|gemw=no|restock=10}}
{{StoreLine|Namename=Bowl|Stockstock=2|restock=10}}
{{StoreLine|Namename=Pot|DisplayNamedisplayname=Another pot|Stockstock=5|restock=10}}
{{StoreLine|Namename=Empty jug pack|Stockstock=5|gemw=No|restock=10}}
{{StoreLine|Namename=Fletching cape|Stockstock=5|smwname=Fletching cape#Untrimmed|gemw=no|Sellsell=99000|Buybuy=N/A|restock=N/A}}
{{StoreLine|name=Elven top (yellow)|stock=100|image=Elven top (white).png|restock=1}}
{{StoreTableBottom}}</pre>
 
Line 20 ⟶ 22:
 
{{StoreTableHead|sellmultiplier=1300|buymultiplier=400|delta=30}}
{{StoreLine|name=Pot|stock=5|restock=9962000}}
{{StoreLine|name=Jug|stock=2|restock=}}
{{StoreLine|name=Empty jug pack|stock=5|gemw=No|restock=10}}
{{StoreLine|name=Shears|stock=2|restock=10}}
{{StoreLine|name=Bucket|stock=3|restock=10}}
{{StoreLine|name=Empty bucket pack|stock=15|gemw=no|restock=10}}
{{StoreLine|name=Bowl|stock=2|restock=10}}
{{StoreLine|name=Pot|displayname=Another pot|stock=5|restock=10}}
{{StoreLine|name=Empty jug pack|stock=5|gemw=No|restock=10}}
{{StoreLine|name=Fletching cape|stock=5|smwname=Fletching cape#Untrimmed|gemw=no|sell=99000|buy=N/A|restock=N/A}}
{{StoreLine|name=Elven top (yellow)|stock=100|image=Elven top (white).png|restock=1}}
{{StoreTableBottom}}
 
==Parameters==
*'''SellMultipliersellmultiplier:''' the store's sell markup
*'''BuyMultiplierbuymultiplier:''' the store's buy margin
*'''Deltadelta:''' the store's price change for over/understocking
 
===Optional===
*'''NameNotesnamenotes:''' additional text information for autogenerated store lists (e.g. Karamja gloves or Pisc favour)
*'''Currencycurrency:''' defaults to "Coins"
*'''smw:''' set to "noNo" to prevent indexing of this table into {{t|Store locations list}}. Use this to prevent duplicates (e.g. the store is shown on the store page AND the npc page)
*'''hideGEhideimage''' set to "yes" to hide the GEimage column, (iffor noneexample offor thestores itemsthat aresell tradeablethings onthat GE)don't -necessarily youhave stilla needfitting toicon set(e.g. gemw=yesabstract forunlocks theor StoreLine templateabilities)
*'''hideBuyhidege''' set to "yes" to hide the Buy priceGE column (if none of the items are tradeable on GE) - you still need to set Buygemw=N/Ayes 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
*'''hidestock''' set to "yes" to hide the Stock column (useful for minigame and dialogue shops where everything has infinite stock)
*'''hiderestock''' set to "yes" to hide the restock time column
*'''hidecaption''' set to "yes" to hide the table caption
*'''column1:''' Add an additional column with this as contents
*'''column2:''' Add an additional column with this as contents
Line 51 ⟶ 58:
*[[Template:GEHeader]]
 
<includeonly>[[Category:Table templates]][[Category:Store table templates]]</includeonly>

Navigation menu