Our 2014 Christmas Contests have begun! Check the Bulbagarden Forums to find out how you could win 1 of 30 copies of ORAS!
Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on irc.systemnet.info.

Template:Shop/doc

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search

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 then terminated by a shopfooter template.

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.

Parameters:

  • 1: specific shop location details
    • Examples would include: Generation II, Left Counter, or 2nd Floor


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.

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 displays a single item in the shop table.

Usage

The shopitem template takes 6 parameters.

Parameters:

  • 1: item name
  • 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".
  • 5: item name for image sprite
    • 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

Shopmon

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

Usage

The shopdec template takes 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: cost
  • 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: target link; for changing the link to a location other than the item's name.

Shopmon

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

Usage

The shopmon template takes 6 parameters.

Parameters:

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

Shopfooter

The shopfooter template ends a shop table.

Usage

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

Parameters:

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


Examples

Shop with 2 counters, TM/HMs, Battle Points currency

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

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

Great Ball Great Ball*
Pokémon Dollar600
Fresh Water Fresh Water
Pokémon Dollar200
Ultra Ball Ultra Ball*
Pokémon Dollar1200
Soda Pop Soda Pop*
Pokémon Dollar300
Lemonade Lemonade*
Pokémon Dollar350
Moomoo Milk Moomoo Milk*
Pokémon Dollar500
Timer Ball Timer Ball*
Pokémon Dollar1000
Repeat Ball Repeat Ball*
Pokémon Dollar1000
Lava Cookie Lava Cookie*
Pokémon Dollar200

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
Poké Ball Poké Ball
Pokémon Dollar200
Super Potion Super Potion
Pokémon Dollar700
Antidote Antidote*
Pokémon Dollar100
Parlyz Heal Parlyz Heal
Pokémon Dollar200
Awakening Awakening
Pokémon Dollar250
Ice Heal Ice Heal
Pokémon Dollar250
Repel Repel
Pokémon Dollar350
Generation II
Ultra Ball Ultra Ball
Pokémon Dollar1200
Super Potion Super Potion
Pokémon Dollar700
Hyper Potion Hyper Potion
Pokémon Dollar1200
Revive Revive
Pokémon Dollar1500
Parlyz Heal Parlyz Heal
Pokémon Dollar200
Awakening Awakening
Pokémon Dollar250
Burn Heal Burn Heal
Pokémon Dollar250
unknown Liteblue Mail
Pokémon Dollar50

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|Parlyz Heal|200}}}}
{{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|Parlyz Heal|200}}|{{shopitem|Awakening|250}}}}
{{shoprow|{{shopitem|Burn Heal|250}}|{{shopitem|Liteblue Mail|50|5=unknown}}}}
{{shopfooter}}


Shop that sells Pokémon

Pokémon
063 Abra (Lv.15)
200C
023 Ekans (Lv.15)*
700C
027 Sandshrew (Lv.15)*
700C
147 Dratini (Lv.15)
2100C

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
RedBrickSprite.png Red Brick
PokémonDollar.png500
BlueBrickSprite.png Blue Brick
PokémonDollar.png500
YellowBrickSprite.png Yellow Brick
PokémonDollar.png500
RedBalloonSprite.png Red Balloon
PokémonDollar.png500
BlueBalloonSprite.png Blue Balloon
PokémonDollar.png500
YellowBalloonSprite.png Yellow Balloon
PokémonDollar.png500
NoteMatSprite.png C Low Note Mat
PokémonDollar.png500
NoteMatSprite.png D Note Mat
PokémonDollar.png500
NoteMatSprite.png E Note Mat
PokémonDollar.png500
NoteMatSprite.png F Note Mat
PokémonDollar.png500
NoteMatSprite.png G Note Mat
PokémonDollar.png500
NoteMatSprite.png A Note Mat
PokémonDollar.png500
NoteMatSprite.png B Note Mat
PokémonDollar.png500
NoteMatSprite.png C High Note Mat
PokémonDollar.png500

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

Blue Flute Blue Flute
250 steps
Red Flute Red Flute
500 steps
Yellow Flute Yellow Flute
500 steps
Black Flute Black Flute
1000 steps
White Flute White Flute
1000 steps
PrettyDeskSprite.png Pretty Desk
8000 steps
PrettyChairSprite.png Pretty Chair
6000 steps

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}}