Template:StoreLine/doc

From Darkan
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:StoreLine.
It contains usage information, categories, and other content that is not part of the original template page.

The StoreLine template is used to fill out tables commonly used in Shops to provide a listing of items that are found in that 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}}
{{StoreLine|Name=Empty pot|Stock=30|Sell=1|Buy=0}}
{{StoreLine|Name=Empty pot|DisplayName=Another empty pot|Stock=30|Sell=1|Buy=0}}
{{StoreLine|Name=Jug|Stock=10|Sell=1|Buy=0}}
{{StoreLine|Name=Shears|Stock=10|Sell=1|Buy=0}}
{{StoreLine|Name=Tinderbox|Stock=10|Sell=1|Buy=0}}
{{StoreLine|Name=Firemaking cape|Stock=1|Sell=99000|Buy=|gemw=no|Image=Firemaking cape.png}}
{{StoreLine|Name=Summoning cape|Stock=1|Sell=99000|Buy=|gemw=no}}
|}

gives

Item Number
in Stock
Price
sold at
Price
bought at
GE
Price
GE Resell
Value
Empty pot Empty pot 30 1 0 Expression error: Unrecognized punctuation character "[". 60
Empty pot Another empty pot 30 1 0 Expression error: Unrecognized punctuation character "[". 60
Jug Jug 10 1 0 Expression error: Unrecognized punctuation character "[". 1,580
Shears Shears 10 1 0 Expression error: Unrecognized punctuation character "[". 310
Tinderbox Tinderbox 10 1 0 Expression error: Unrecognized punctuation character "[". 610
Firemaking cape 1 99,000 Not sold Not sold
Summoning cape 1 99,000 Not sold Not sold

Parameters

  • Name: the item
  • DislayName: an optional name for the item
  • Stock: number of items that are typically found in the shop before a player buys or sells those items.
  • Sell: price from which a shop will sell this item to a player for the first item.
  • Buy: price at which a shop will buy the first item from a player, if the shop is at the default or typical stock quantity.
  • gemw=no: for items not tradeable in the Grand Exchange
  • Image: image for items not tradeable in the Grand Exchange
    • Image size is optional (i.e. to resize the image to 25 pixels by 25 pixels, add this at the end: {{!}}25x25px

Blank template

{{StoreLine|Name=|Stock=|Sell=|Buy=}}
{{StoreLine|Name=|Stock=|Sell=|Buy=|gemw=|Image=}}

See also