Template:Shop/doc

The following is a documentation guide for using the, , , , and  templates.

Shop
The shop template begins a new shop table for displaying a list of items and Pokémon for sale. The shop template should be followed by the appropriate number of shoprow and shopitem, shopmon or shopdec templates, and terminated by the shopfooter template.

Usage
The shop template takes a single parameter used for identification. This applies when 2 shop counters are located in the same building or on multiple floors, or shops which appear in multiple generations of games. It should be left blank except in cases of ambiguity.

Parameters:
 * 1: unique shop identifier, normally shop's location
 * Examples would include: Generation II, Left Counter, or 2nd Floor.

Shoprow
The shoprow template designates a single row in a table. Each shop row consists of 2 columns displaying items or Pokémon being sold.

Usage
The shoprow template takes 2 parameters, both of which are shopitem, shopmon or shopdec templates.

Parameters:
 * 1: first column shop item (instance of, or  )
 * 2: second column shop item (instance of, or  )

Shopitem
The shopitem template is used to display a single item for sale in a shop table.

Usage
The shopitem template takes up to 6 parameters.

Parameters:
 * 1: item name
 * 2: item price
 * 3: currency
 * Dollars, PD, Coupons, PC, Coins, C, Battle, BP, Pts, or Points, defaults to Dollars
 * 4: additional notes for items with special availability/conditions.
 * Examples would be "only in Generation I" or "After defeating elite four".
 * 5: name of alternate sprite
 * Defaults to parameter 1. Specifying a non-empty name will override the default. Can be useful in cases where an item sprite is known not to exist, in which case '???' or another value can be specified.
 * 6: move name, used specifically for TM/HM items which teach a move

Shopmon
The shopmon template displays a single Pokémon for sale in the shop table. The currency used is always Coins.

Usage
The shopmon template takes up to 5 parameters.

Parameters:
 * 1: Pokémon's name
 * 2: Pokémon's National Pokédex number
 * 3: price
 * 4: level
 * 5: additional notes for Pokémon with special availability/conditions.
 * Examples would be "only in Generation I" or "After defeating elite four".

Shopdec
The shopdec template displays a single item for sale in the shop table.

Usage
The shopdec template takes up to 6 parameters. It is to be used for images of nonstandard filenames, such as decorations or villa decorations.

Parameters:
 * 1: item's name
 * 2: sprite name (omit .png extension)
 * 3: item price
 * 4: currency
 * 5: additional notes for Pokémon with special availability/conditions.
 * Examples would be "only in Generation I" or "After defeating elite four".
 * 6: alternate link location; for changing link location from defaulting to item's name.

Shopfooter
The shopfooter template is used at the end of a shop table.

Usage
The shopfooter template terminates the shop template. It takes a single parameter.

Parameters:
 * multiple: designates whether there are multiple shop tables to display. Set to "yes" to allow multiple tables.

Shop with 2 counters selling TM/HMs for Battle Points
Code:

Shop with multiple item availability notes
Code:

Shop with multiple generations, using "multiple" parameter
Code:

Shop that sells Pokémon
Code:

Shop that sells decorations
Code:

Shop that sells decorations and items
Code: