Template:Shop/doc: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
The following is a documentation guide for using the {{Template|Shop}}, {{Template|Shoprow}}, {{Template|Shopitem}}, {{Template|Shopmon}} and {{Template|Shopfooter}} templates.   
The following is a documentation guide for using the {{Template|Shop}}, {{Template|Shoprow}}, {{Template|Shopitem}}, {{Template|Shopmon}}, {{Template|Shopdec}} and {{Template|Shopfooter}} templates.   


== 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 or shopmon templates, and then terminated by a shopfooter template.
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 1 parameter for specifying shop location details in cases of ambiguity. This applies to locations where 2 shop counters are located in the same building or on multiple floors. It also applies to shops which appear in multiple generations of games. It should be left blank except in cases of ambiguity.
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: specific shop location details
* 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 shop table. Each shop row consists of 2 columns for displaying the items or Pokémon sold.   
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===
The shoprow template takes 2 parameters, both of which are shopitem or shopmon templates.
The shoprow template takes 2 parameters, both of which are shopitem, shopmon or shopdec templates.


Parameters:
Parameters:
* 1: first column shop item (instance of <nowiki>{{shopitem}} or {{shopmon}}</nowiki>)
* 1: first column shop item (instance of <nowiki>{{shopitem}}, {{shopmon}} or {{shopdec}}</nowiki>)
* 2: second column shop item (instance of <nowiki>{{shopitem}} or {{shopmon}}</nowiki>)
* 2: second column shop item (instance of <nowiki>{{shopitem}}, {{shopmon}} or {{shopdec}}</nowiki>)




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


===Usage===
===Template fields===
The shopitem template takes 6 parameters.
The shopitem template takes the following fields:
 
* '''1''': item name. The template will link to a page with this exact name.
** '''display''' - Override the name displayed for the item.
*** For example: the [[Leek]] was called "Stick" in Generations I - VII. Therefore, field 1 must be "Leek" to link to the correct page, but the display field should be "Stick" on pages written in the context of Generations I - VII.
* '''6''': move name, used specifically for [[TM]], [[HM]], or [[TR]] items which teach a move.
 
====Currency====
* '''2''': item price.
* '''3''': currency. Only certain values are accepted:
** '''Dollars''' or '''PD''' (also default if no value is given) - {{PDollar}} [[Pokémon Dollar]]s
** '''Coupons''' or '''PC''' - [[Poké Coupon]]s
** '''Coins''' or '''C''' - [[Coin (Game Corner)|Game Corner Coin]]s
** '''Battle''' or '''BP''' - [[Battle Point]]s
** '''Blueberry''' or '''BBP''' - [[Blueberry Point]]s
** '''Points''' or '''Pts''' - [[Pokéathlon]] Athlete Points
** '''Steps''' - [[Volcanic ash]] step
** '''Grams''' - [[Volcanic ash]] grams
** '''Units''' - [[Berry Powder]] units
** '''Miles''' or '''PM''' - [[Poké Mile]]s
** '''Watts''' or '''W'''- [[Watt]]s
** '''Dynite''' or '''DO''' - [[File:Bag Dynite Ore Sprite.png|24px|Dynite Ore|link=Dynite Ore]] [[Dynite Ore]]
** '''Shard S''' or '''MSS''' - [[File:Bag Mysterious Shard S Sprite.png|24px|Mysterious Shard S|link=Mysterious Shard S]] [[Mysterious Shard S]]
** '''Shard L''' or '''MSL''' - [[File:Bag Mysterious Shard L Sprite.png|24px|Mysterious Shard L|link=Mysterious Shard L]] [[Mysterious Shard L]]
** '''MP''' - [[Merit Point]]s
** '''Poké''' - [[Poké]] ([[Pokémon Mystery Dungeon|Mystery Dungeon]])
** '''Gold''' - [[Gold Bar]]s ([[Pokémon Mystery Dungeon|Mystery Dungeon]])
** '''G''' - [[File:Conquest gold.png]] Gold ([[Pokémon Conquest|Conquest]])


Parameters:
====Notes====
* 1: item name
* '''4''': additional notes for items with special availability/conditions. This will display as a hover-over tooltip on an asterisk (*).
* 2: item price
* 3: currency
** use Dollars, PD, Coupons, PC, Coins, C, Battle, BP, Pts, or Points. The default is Dollars.
* 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: item name for image sprite
* '''notes''' - This displays notes as text instead of a tooltip. If this field is used, then the value in field 4 is ignored.
** By default, the item sprite used is determined by parameter 1. Specifying a non-empty name here will override the normal sprite used. This is useful in cases where an item sprite is known to not exist, in which case '???' or another value can be specified.
 
* 6: move name, specifically used for TM/HM items which teach a move
====Image====
* '''5''': name of alternate sprite.
** Defaults to field 1 if left blank. 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.
* '''7''': Game/Gen abbreviation.
** For example, adding "III" to "Moomoo Milk" would change [[File:Bag Moomoo Milk Sprite.png]] to [[File:Bag Moomoo Milk III Sprite.png]]. Adding "BDSP" would change [[File:Bag Poké Ball Sprite.png]] to [[File:Bag Poké Ball BDSP Sprite.png]].
* '''image''' - Override the entire image name with a custom name.
* '''size''' - Desired size of the image.


== Shopmon ==
== Shopmon ==
The shopmon template displays a single Pokémon which is for sale in the shop table. The currency used is always [[Coin]]s.
The shopmon template displays a single Pokémon for sale in the shop table. The currency used is always {{OBP|Coin|Game Corner}}s.


===Usage===
===Usage===
The shopmon template takes 6 parameters.   
The shopmon template takes up to 5 parameters.   


Parameters:
Parameters:
* 1: Pokémon's name
* 1: Pokémon's name
* 2: Pokémon's [[National Pokédex]] number
* 2: Pokémon's [[National Pokédex]] number
* 3: cost
* 3: price
* 4: additional notes for Pokémon with special availability/conditions.   
* 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 [[decoration]]s or [[villa decoration]]s.
 
Parameters:
* 1: item's name
* 2: sprite name (omit .png extension{{tt|*|template will not work with other file extensions}})
* 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".
** 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 ends a shop table.
The shopfooter template is used at the end of a shop table.


===Usage===
===Usage===
The shopfooter template should be used after the shop template and its subsequent shoprow, shopitem and shopmon templates. It takes a single parameter.
The shopfooter template terminates the shop template. It takes a single parameter.


Parameters:
Parameters:
* multiple: designates whether there are multiple shop tables being displayed so they can be displayed correctly in the article.
* multiple: designates whether there are multiple shop tables to display. Set to "yes" to allow multiple tables.




==Examples==
==Examples==


===Shop with 2 counters, TM/HMs, Battle Points currency===
===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}}}}
Line 125: Line 173:
{{shop|}}
{{shop|}}
{{shoprow|{{shopitem|Great Ball|600|PD|Removed after Timer Balls, Repeat Balls, and Lava Cookies become available}}|{{shopitem|Fresh Water|200}}}}
{{shoprow|{{shopitem|Great Ball|600|PD|Removed after Timer Balls, Repeat Balls, and Lava Cookies become available}}|{{shopitem|Fresh Water|200}}}}
{{shoprow|{{shopitem|Ultra Ball|1,200|PD|After saving Lostelle}}|{{shopitem|Soda Pop|300|PD|After saving Lostelle}}}}
{{shoprow|{{shopitem|Ultra Ball|1200|PD|After saving Lostelle}}|{{shopitem|Soda Pop|300|PD|After saving Lostelle}}}}
{{shoprow|{{shopitem|Lemonade|350|PD|After defeating the Elite Four}}|{{shopitem|Moomoo Milk|500|PD|After defeating the Elite Four}}}}
{{shoprow|{{shopitem|Lemonade|350|PD|After defeating the Elite Four}}|{{shopitem|Moomoo Milk|500|PD|After defeating the Elite Four}}}}
{{shoprow|{{shopitem|Timer Ball|1,000|PD|After completing the Ruby and Sapphire Mission}}|{{shopitem|Repeat Ball|1,000|PD|After completing the Ruby and Sapphire mission}}}}
{{shoprow|{{shopitem|Timer Ball|1000|PD|After completing the Ruby and Sapphire Mission}}|{{shopitem|Repeat Ball|1000|PD|After completing the Ruby and Sapphire mission}}}}
{{shoprow|{{shopitem|Lava Cookie|200|PD|After completing the Ruby and Sapphire Mission}}|}}
{{shoprow|{{shopitem|Lava Cookie|200|PD|After completing the Ruby and Sapphire Mission}}|}}
{{shopfooter}}
{{shopfooter}}
Line 135: Line 183:
{{shop|}}
{{shop|}}
{{shoprow|{{shopitem|Great Ball|600|PD|Removed after Timer Balls, Repeat Balls, and Lava Cookies become available}}|{{shopitem|Fresh Water|200}}}}
{{shoprow|{{shopitem|Great Ball|600|PD|Removed after Timer Balls, Repeat Balls, and Lava Cookies become available}}|{{shopitem|Fresh Water|200}}}}
{{shoprow|{{shopitem|Ultra Ball|1,200|PD|After saving Lostelle}}|{{shopitem|Soda Pop|300|PD|After saving Lostelle}}}}
{{shoprow|{{shopitem|Ultra Ball|1200|PD|After saving Lostelle}}|{{shopitem|Soda Pop|300|PD|After saving Lostelle}}}}
{{shoprow|{{shopitem|Lemonade|350|PD|After defeating the Elite Four}}|{{shopitem|Moomoo Milk|500|PD|After defeating the Elite Four}}}}
{{shoprow|{{shopitem|Lemonade|350|PD|After defeating the Elite Four}}|{{shopitem|Moomoo Milk|500|PD|After defeating the Elite Four}}}}
{{shoprow|{{shopitem|Timer Ball|1,000|PD|After completing the Ruby and Sapphire Mission}}|{{shopitem|Repeat Ball|1,000|PD|After completing the Ruby and Sapphire mission}}}}
{{shoprow|{{shopitem|Timer Ball|1000|PD|After completing the Ruby and Sapphire Mission}}|{{shopitem|Repeat Ball|1000|PD|After completing the Ruby and Sapphire mission}}}}
{{shoprow|{{shopitem|Lava Cookie|200|PD|After completing the Ruby and Sapphire Mission}}|}}
{{shoprow|{{shopitem|Lava Cookie|200|PD|After completing the Ruby and Sapphire Mission}}|}}
{{shopfooter}}
{{shopfooter}}
Line 143: Line 191:




===Shop with multiple generations, enclosed in a table===
===Shop with multiple generations, using "multiple" parameter===
{|
{{shop|Generation I and III}}
| valign=top | {{shop|Generation I and III}}
{{shoprow|{{shopitem|Poké Ball|200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Poké Ball|200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Antidote|100|PD|only in Generation III}}|{{shopitem|Parlyz Heal|200}}}}
{{shoprow|{{shopitem|Antidote|100|PD|only in Generation III}}|{{shopitem|Paralyze Heal|200|display=Parlyz Heal}}}}
{{shoprow|{{shopitem|Awakening|{{tt|250|200 in Generation I}}}}|{{shopitem|Ice Heal|250}}}}
{{shoprow|{{shopitem|Awakening|{{tt|250|200 in Generation I}}}}|{{shopitem|Ice Heal|250}}}}
{{shoprow|{{shopitem|Repel|350}}|}}
{{shoprow|{{shopitem|Repel|350}}|}}
{{shopfooter|multiple=yes}}
{{shop|Generation II}}
{{shoprow|{{shopitem|Ultra Ball|1200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Hyper Potion|1200}}|{{shopitem|Revive|1500}}}}
{{shoprow|{{shopitem|Paralyze Heal|200|display=Parlyz Heal}}|{{shopitem|Awakening|250}}}}
{{shoprow|{{shopitem|Burn Heal|250}}|{{shopitem|Liteblue Mail|50|5=unknown}}}}
{{shopfooter}}
{{shopfooter}}
| valign=top | {{shop|Generation II}}
{{shoprow|{{shopitem|Ultra Ball|1,200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Hyper Potion|1,200}}|{{shopitem|Revive|1,500}}}}
{{shoprow|{{shopitem|Parlyz Heal|200}}|{{shopitem|Awakening|250}}}}
{{shoprow|{{shopitem|Burn Heal|250}}|{{shopitem|Liteblue Mail|50|5=???}}}}
{{shopfooter}}
|}


Code:
Code:
<pre>
<pre>
{|
{{shop|Generation I and III}}
| valign=top | {{shop|Generation I and III}}
{{shoprow|{{shopitem|Poké Ball|200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Poké Ball|200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Antidote|100|PD|only in Generation III}}|{{shopitem|Parlyz Heal|200}}}}
{{shoprow|{{shopitem|Antidote|100|PD|only in Generation III}}|{{shopitem|Paralyze Heal|200|display=Parlyz Heal}}}}
{{shoprow|{{shopitem|Awakening|{{tt|250|200 in Generation I}}}}|{{shopitem|Ice Heal|250}}}}
{{shoprow|{{shopitem|Awakening|{{tt|250|200 in Generation I}}}}|{{shopitem|Ice Heal|250}}}}
{{shoprow|{{shopitem|Repel|350}}|}}
{{shoprow|{{shopitem|Repel|350}}|}}
{{shopfooter|multiple=yes}}
{{shop|Generation II}}
{{shoprow|{{shopitem|Ultra Ball|1200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Hyper Potion|1200}}|{{shopitem|Revive|1500}}}}
{{shoprow|{{shopitem|Paralyze Heal|200|display=Parlyz Heal}}|{{shopitem|Awakening|250}}}}
{{shoprow|{{shopitem|Burn Heal|250}}|{{shopitem|Liteblue Mail|50|5=unknown}}}}
{{shopfooter}}
{{shopfooter}}
| valign=top | {{shop|Generation II}}
{{shoprow|{{shopitem|Ultra Ball|1,200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Hyper Potion|1,200}}|{{shopitem|Revive|1,500}}}}
{{shoprow|{{shopitem|Parlyz Heal|200}}|{{shopitem|Awakening|250}}}}
{{shoprow|{{shopitem|Burn Heal|250}}|{{shopitem|Liteblue Mail|50|5=???}}}}
{{shopfooter}}
|}
</pre>
</pre>




==Shop that sells Pokémon==
===Shop that sells Pokémon===
{{shop|Pokémon}}
{{shop|Pokémon}}
{{shoprow|{{shopmon|Abra|063|200}}|{{shopmon|Ekans|023|700|HeartGold only}}}}
{{shoprow|{{shopmon|Abra|063|200|lv=15}}|{{shopmon|Ekans|023|700|lv=15|HeartGold only}}}}
{{shoprow|{{shopmon|Sandshrew|027|700|SoulSilver only}}|{{shopmon|Dratini|147|2100}}}}
{{shoprow|{{shopmon|Sandshrew|027|700|lv=15|SoulSilver only}}|{{shopmon|Dratini|147|2100|lv=15}}}}
{{shopfooter}}
{{shopfooter}}


Line 187: Line 231:
<pre>
<pre>
{{shop|Pokémon}}
{{shop|Pokémon}}
{{shoprow|{{shopmon|Abra|063|200}}|{{shopmon|Ekans|023|700|HeartGold only}}}}
{{shoprow|{{shopmon|Abra|063|200|lv=15}}|{{shopmon|Ekans|023|700|lv=15|HeartGold only}}}}
{{shoprow|{{shopmon|Sandshrew|027|700|SoulSilver only}}|{{shopmon|Dratini|147|2100}}}}{{shopfooter}}
{{shoprow|{{shopmon|Sandshrew|027|700|lv=15|SoulSilver only}}|{{shopmon|Dratini|147|2100|lv=15}}}}
{{shopfooter}}
</pre>
</pre>
<noinclude>[[Category:Other templates]]</noinclude>
 
===Shop that sells decorations===
{{shop|Secret Power Club shop}}
{{shoprow|{{shopdec|Red Brick|RedBrickSprite|500|6=Ornament#Bricks}}|{{shopdec|Blue Brick|BlueBrickSprite|500|6=Ornament#Bricks}}}}
{{shoprow|{{shopdec|Yellow Brick|YellowBrickSprite|500|6=Ornament#Bricks}}|{{shopdec|Red Balloon|RedBalloonSprite|500|6=Ornament#Balloons}}}}
{{shoprow|{{shopdec|Blue Balloon|BlueBalloonSprite|500|6=Ornament#Balloons}}|{{shopdec|Yellow Balloon|YellowBalloonSprite|500|6=Ornament#Balloons}}}}
{{shoprow|{{shopdec|C Low Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|D Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|E Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|F Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|G Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|A Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|B Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|C High Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shopfooter}}
 
Code:
<pre>
{{shop|Secret Power Club shop}}
{{shoprow|{{shopdec|Red Brick|RedBrickSprite|500|6=Ornament#Bricks}}|{{shopdec|Blue Brick|BlueBrickSprite|500|6=Ornament#Bricks}}}}
{{shoprow|{{shopdec|Yellow Brick|YellowBrickSprite|500|6=Ornament#Bricks}}|{{shopdec|Red Balloon|RedBalloonSprite|500|6=Ornament#Balloons}}}}
{{shoprow|{{shopdec|Blue Balloon|BlueBalloonSprite|500|6=Ornament#Balloons}}|{{shopdec|Yellow Balloon|YellowBalloonSprite|500|6=Ornament#Balloons}}}}
{{shoprow|{{shopdec|C Low Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|D Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|E Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|F Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|G Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|A Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|B Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|C High Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shopfooter}}
</pre>
 
===Shop that sells decorations and items===
{{shop|}}
{{shoprow|{{shopitem|Blue Flute|250|Steps}}|{{shopitem|Red Flute|500|Steps}}}}
{{shoprow|{{shopitem|Yellow Flute|500|Steps}}|{{shopitem|Black Flute|1000|Steps}}}}
{{shoprow|{{shopitem|White Flute|1000|Steps}}|{{shopdec|Pretty Desk|PrettyDeskSprite|8000|steps|6=Desk}}}}
{{shoprow|{{shopdec|Pretty Chair|PrettyChairSprite|6000|steps|6=Chair}}}}
{{shopfooter}}
 
Code:
<pre>
{{shop|}}
{{shoprow|{{shopitem|Blue Flute|250|Steps}}|{{shopitem|Red Flute|500|Steps}}}}
{{shoprow|{{shopitem|Yellow Flute|500|Steps}}|{{shopitem|Black Flute|1000|Steps}}}}
{{shoprow|{{shopitem|White Flute|1000|Steps}}|{{shopdec|Pretty Desk|PrettyDeskSprite|8000|steps|6=Desk}}}}
{{shoprow|{{shopdec|Pretty Chair|PrettyChairSprite|6000|steps|6=Chair}}}}
{{shopfooter}}
</pre>
 
<noinclude>[[Category:Documentation templates]]</noinclude>

Latest revision as of 23:10, 29 February 2024

The following is a documentation guide for using the {{Shop}}, {{Shoprow}}, {{Shopitem}}, {{Shopmon}}, {{Shopdec}} and {{Shopfooter}} 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 {{shopitem}}, {{shopmon}} or {{shopdec}})
  • 2: second column shop item (instance of {{shopitem}}, {{shopmon}} or {{shopdec}})


Shopitem

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

Template fields

The shopitem template takes the following fields:

  • 1: item name. The template will link to a page with this exact name.
    • display - Override the name displayed for the item.
      • For example: the Leek was called "Stick" in Generations I - VII. Therefore, field 1 must be "Leek" to link to the correct page, but the display field should be "Stick" on pages written in the context of Generations I - VII.
  • 6: move name, used specifically for TM, HM, or TR items which teach a move.

Currency

Notes

  • 4: additional notes for items with special availability/conditions. This will display as a hover-over tooltip on an asterisk (*).
    • Examples would be "only in Generation I" or "After defeating elite four".
  • notes - This displays notes as text instead of a tooltip. If this field is used, then the value in field 4 is ignored.

Image

  • 5: name of alternate sprite.
    • Defaults to field 1 if left blank. 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.
  • 7: Game/Gen abbreviation.
    • For example, adding "III" to "Moomoo Milk" would change Bag Moomoo Milk Sprite.png to Bag Moomoo Milk III Sprite.png. Adding "BDSP" would change Bag Poké Ball Sprite.png to Bag Poké Ball BDSP Sprite.png.
  • image - Override the entire image name with a custom name.
  • size - Desired size of the image.

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.


Examples

Shop with 2 counters selling TM/HMs for Battle Points

Left Cashier
Right Cashier


Code:

{{shop|Left Cashier}}
{{shoprow|{{shopitem|HP Up|1|BP}}|{{shopitem|Protein|1|BP}}}}
{{shoprow|{{shopitem|Iron|1|BP}}|{{shopitem|Calcium|1|BP}}}}
{{shoprow|{{shopitem|Zinc|1|BP}}|{{shopitem|Carbos|1|BP}}}}
{{shoprow|{{shopitem|Rare Candy|48|BP}}|{{shopitem|Power Bracer|16|BP}}}}
{{shoprow|{{shopitem|Power Belt|16|BP}}|{{shopitem|Power Lens|16|BP}}}}
{{shoprow|{{shopitem|Power Band|16|BP}}|{{shopitem|Power Anklet|16|BP}}}}
{{shoprow|{{shopitem|Power Weight|16|BP}}|{{shopitem|Flame Orb|16|BP}}}}
{{shoprow|{{shopitem|Toxic Orb|16|BP}}|{{shopitem|White Herb|32|BP}}}}
{{shoprow|{{shopitem|Power Herb|32|BP}}|{{shopitem|BrightPowder|48|BP}}}}
{{shoprow|{{shopitem|Choice Band|48|BP}}|{{shopitem|Focus Band|48|BP}}}}
{{shoprow|{{shopitem|Scope Lens|48|BP}}|{{shopitem|Muscle Band|48|BP}}}}
{{shoprow|{{shopitem|Focus Sash|48|BP}}|{{shopitem|Choice Scarf|48|BP}}}}
{{shoprow|{{shopitem|Razor Claw|48|BP}}|{{shopitem|Razor Fang|48|BP}}}}
{{shopfooter|multiple=yes}}
{{shop|Right Cashier}}
{{shoprow|{{shopitem|TM06|32|BP||TM Poison|Toxic}}|{{shopitem|TM45|32|BP||TM Normal|Attract}}}}
{{shoprow|{{shopitem|TM61|32|BP||TM Fire|Will-O-Wisp}}|{{shopitem|TM73|32|BP||TM Electric|Thunder Wave}}}}
{{shoprow|{{shopitem|TM31|40|BP||TM Fighting|Brick Break}}|{{shopitem|TM40|40|BP||TM Flying|Aerial Ace}}}}
{{shoprow|{{shopitem|TM04|48|BP||TM Psychic|Calm Mind}}|{{shopitem|TM08|48|BP||TM Fighting|Bulk Up}}}}
{{shoprow|{{shopitem|TM30|64|BP||TM Ghost|Shadow Ball}}|{{shopitem|TM53|64|BP||TM Grass|Energy Ball}}}}
{{shoprow|{{shopitem|TM81|64|BP||TM Bug|X-Scissor}}|{{shopitem|TM26|80|BP||TM Ground|Earthquake}}}}
{{shoprow|{{shopitem|TM36|80|BP||TM Poison|Sludge Bomb}}|{{shopitem|TM59|80|BP||TM Dragon|Dragon Pulse}}}}
{{shoprow|{{shopitem|TM71|80|BP||TM Rock|Stone Edge}}}}
{{shopfooter}}


Shop with multiple item availability notes


Code:

{{shop|}}
{{shoprow|{{shopitem|Great Ball|600|PD|Removed after Timer Balls, Repeat Balls, and Lava Cookies become available}}|{{shopitem|Fresh Water|200}}}}
{{shoprow|{{shopitem|Ultra Ball|1200|PD|After saving Lostelle}}|{{shopitem|Soda Pop|300|PD|After saving Lostelle}}}}
{{shoprow|{{shopitem|Lemonade|350|PD|After defeating the Elite Four}}|{{shopitem|Moomoo Milk|500|PD|After defeating the Elite Four}}}}
{{shoprow|{{shopitem|Timer Ball|1000|PD|After completing the Ruby and Sapphire Mission}}|{{shopitem|Repeat Ball|1000|PD|After completing the Ruby and Sapphire mission}}}}
{{shoprow|{{shopitem|Lava Cookie|200|PD|After completing the Ruby and Sapphire Mission}}|}}
{{shopfooter}}


Shop with multiple generations, using "multiple" parameter

Generation I and III
Generation II


Code:

{{shop|Generation I and III}}
{{shoprow|{{shopitem|Poké Ball|200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Antidote|100|PD|only in Generation III}}|{{shopitem|Paralyze Heal|200|display=Parlyz Heal}}}}
{{shoprow|{{shopitem|Awakening|{{tt|250|200 in Generation I}}}}|{{shopitem|Ice Heal|250}}}}
{{shoprow|{{shopitem|Repel|350}}|}}
{{shopfooter|multiple=yes}}
{{shop|Generation II}}
{{shoprow|{{shopitem|Ultra Ball|1200}}|{{shopitem|Super Potion|700}}}}
{{shoprow|{{shopitem|Hyper Potion|1200}}|{{shopitem|Revive|1500}}}}
{{shoprow|{{shopitem|Paralyze Heal|200|display=Parlyz Heal}}|{{shopitem|Awakening|250}}}}
{{shoprow|{{shopitem|Burn Heal|250}}|{{shopitem|Liteblue Mail|50|5=unknown}}}}
{{shopfooter}}


Shop that sells Pokémon

Pokémon


Code:

{{shop|Pokémon}}
{{shoprow|{{shopmon|Abra|063|200|lv=15}}|{{shopmon|Ekans|023|700|lv=15|HeartGold only}}}}
{{shoprow|{{shopmon|Sandshrew|027|700|lv=15|SoulSilver only}}|{{shopmon|Dratini|147|2100|lv=15}}}}
{{shopfooter}}

Shop that sells decorations

Secret Power Club shop


Code:

{{shop|Secret Power Club shop}}
{{shoprow|{{shopdec|Red Brick|RedBrickSprite|500|6=Ornament#Bricks}}|{{shopdec|Blue Brick|BlueBrickSprite|500|6=Ornament#Bricks}}}}
{{shoprow|{{shopdec|Yellow Brick|YellowBrickSprite|500|6=Ornament#Bricks}}|{{shopdec|Red Balloon|RedBalloonSprite|500|6=Ornament#Balloons}}}}
{{shoprow|{{shopdec|Blue Balloon|BlueBalloonSprite|500|6=Ornament#Balloons}}|{{shopdec|Yellow Balloon|YellowBalloonSprite|500|6=Ornament#Balloons}}}}
{{shoprow|{{shopdec|C Low Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|D Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|E Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|F Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|G Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|A Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shoprow|{{shopdec|B Note Mat|NoteMatSprite|500|6=Mat}}|{{shopdec|C High Note Mat|NoteMatSprite|500|6=Mat}}}}
{{shopfooter}}

Shop that sells decorations and items


Code:

{{shop|}}
{{shoprow|{{shopitem|Blue Flute|250|Steps}}|{{shopitem|Red Flute|500|Steps}}}}
{{shoprow|{{shopitem|Yellow Flute|500|Steps}}|{{shopitem|Black Flute|1000|Steps}}}}
{{shoprow|{{shopitem|White Flute|1000|Steps}}|{{shopdec|Pretty Desk|PrettyDeskSprite|8000|steps|6=Desk}}}}
{{shoprow|{{shopdec|Pretty Chair|PrettyChairSprite|6000|steps|6=Chair}}}}
{{shopfooter}}