91
edits
mNo edit summary |
(Fixed ShopMon & Shopdec) |
||
Line 2: | Line 2: | ||
== Shop == | == 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 | 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=== | ===Usage=== | ||
The shop template takes | 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: | Parameters: | ||
* 1: | * 1: unique shop identifier, normally shop's location | ||
** Examples would include: ''Generation II'', ''Left Counter'', or ''2nd Floor'' | ** Examples would include: ''Generation II'', ''Left Counter'', or ''2nd Floor'' | ||
== Shoprow == | == Shoprow == | ||
The shoprow template designates a single row in a | 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=== | ===Usage=== | ||
Line 24: | Line 24: | ||
== Shopitem == | == Shopitem == | ||
The shopitem template | The shopitem template is used to display a single item for sale in a shop table. | ||
===Usage=== | ===Usage=== | ||
The shopitem template takes 6 parameters. | The shopitem template takes up to 6 parameters. | ||
Parameters: | Parameters: | ||
Line 33: | Line 33: | ||
* 2: item price | * 2: item price | ||
* 3: currency | * 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. | * 4: additional notes for items with special availability/conditions. | ||
** Examples would be "only in Generation I" or "After defeating elite four" | ** Examples would be "only in Generation I" or "After defeating elite four" | ||
* 5: | * 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, specifically | * 6: move name, used specifically for TM/HM items which teach a move | ||
== Shopmon == | == Shopmon == | ||
The shopmon template displays a single Pokémon | The shopmon template displays a single Pokémon for sale in the shop table. The currency used is always [[Coin]]s. | ||
===Usage=== | ===Usage=== | ||
The | The shopmon template takes up to 5 parameters. | ||
Parameters: | Parameters: | ||
* 1: | * 1: Pokémon's name | ||
* 2: | * 2: Pokémon's [[National Pokédex]] number | ||
* 3: | * 3: price | ||
* 4: | * 4: level | ||
* 5: additional notes for Pokémon with special availability/conditions. | * 5: additional notes for Pokémon with special availability/conditions. | ||
** Examples would be "only in Generation I" or "After defeating elite four". | ** Examples would be "only in Generation I" or "After defeating elite four". | ||
== | |||
The | == Shopdec == | ||
The shopdec template displays a single item for sale in the shop table. The currency used is always [[Coin]]s. | |||
===Usage=== | ===Usage=== | ||
The | The shopdec template takes up to 6 parameters. It is to be used for images of nonstandard filenames, such as [[decoration]]s or [[villa decoration]]s. | ||
Parameters: | Parameters: | ||
* 1: | * 1: item's name | ||
* 2: | * 2: sprite name (omit .png extension{{tt|*|template will not work with other file extensions}}) | ||
* 3: | * 3: item price | ||
* 4: additional notes for Pokémon with special availability/conditions. | * 4: currency | ||
* 5: additional notes for Pokémon with special availability/conditions. | |||
** Examples would be "only in Generation I" or "After defeating elite four". | ** 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 == | == Shopfooter == | ||
The shopfooter template | The shopfooter template is used at the end of a shop table. | ||
===Usage=== | ===Usage=== | ||
The shopfooter template | The shopfooter template terminates the shop template. It takes a single parameter. | ||
Parameters: | Parameters: | ||
* multiple: designates whether there are multiple shop tables | * multiple: designates whether there are multiple shop tables to display. Set to "yes" to allow multiple tables. | ||
==Examples== | ==Examples== | ||
===Shop with 2 counters | ===Shop with 2 counters selling TM/HMs for Battle Points=== | ||
{{shop|Left Cashier}} | {{shop|Left Cashier}} | ||
{{shoprow|{{shopitem|HP Up|1|BP}}|{{shopitem|Protein|1|BP}}}} | {{shoprow|{{shopitem|HP Up|1|BP}}|{{shopitem|Protein|1|BP}}}} |
edits