Template:Store Stock/doc

From The Walkscape Walkthrough

Parameters

Store Stock

A list of Template:Store Item templates that detail the drop sources for the item. This is required as it is the only parameter.

Quick Copy

Notated copy

{{Store Stock
| Store Stock = 
  {{Store Item
  | Image = (Recommended)
  | Name = 
  | Quality = (Optional)
  | Stock = 
  | Price = 
  }}
}}

Empty copy

{{Store Stock
| Store Stock = 
  {{Store Item
  | Image = 
  | Name = 
  | Quality = 
  | Stock = 
  | Price = 
  }}
}}

Examples

The formatting for Mossy Merchant's Breeze Mart which sells two itesm would be as follows. Note that one set of Store Item brackets ends on the same line as the next begin. This prevents formatting problems.

{{Store Stock
| Store Stock = 
  {{Store Item
  | Image = Simple_Magnet.svg
  | Name = Simple Magnet
  | Quality = 
  | Stock = 1
  | Price = 441
  }}  {{Store Item
  | Image = Simple_Bug_Catching_Net.svg
  | Name = Simple Bug Catching Net
  | Quality = 
  | Stock = 1
  | Price = 126
  }}
}}
|}

Yields:

Stock
Name Stock Price
Simple Magnet Sprite Simple Magnet 1 441
Simple Bug Catching Net Sprite Simple Bug Catching Net 1 126