Template:Store Stock/doc: Difference between revisions

From The Walkscape Walkthrough
Content deleted Content added
Update image string
mNo edit summary
 
Line 9: Line 9:
| Store Stock =
| Store Stock =
{{Store Item
{{Store Item
| Image = (Recommended)
| Name =
| Name =
| Quality = (Optional)
| Image =
| Stock =
| Buying = (optional)
| Rarity = (optional)
| Quality = (optional)
| Fine = (optional)
| Stock = (optional)
| Price =
| Price =
| Currency = (optional)
}}
}}
}}
}}
Line 23: Line 27:
| Store Stock =
| Store Stock =
{{Store Item
{{Store Item
| Image =
| Name =
| Name =
| Image =
| Buying =
| Rarity =
| Quality =
| Quality =
| Fine =
| Stock =
| Stock =
| Price =
| Price =
| Currency =
}}
}}
}}
}}

Latest revision as of 13:28, 14 July 2024

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
  | Name = 
  | Image = 
  | Buying = (optional)
  | Rarity = (optional)
  | Quality = (optional)
  | Fine = (optional)
  | Stock = (optional)
  | Price = 
  | Currency = (optional)
  }}
}}

Empty copy

{{Store Stock
| Store Stock = 
  {{Store Item
  | Name = 
  | Image = 
  | Buying = 
  | Rarity = 
  | Quality = 
  | Fine = 
  | Stock = 
  | Price = 
  | Currency = 
  }}
}}

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:

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